keywords.suggest.stats
Return search statistics of queries.
Parameters
struct |
user { |
|
string |
session |
Session (as retrieved from client.loginByToken() )
|
|
} |
|
|
struct |
params { |
(optional) Additional parameters
|
string |
granularity |
(optional) Granularity: [default: monthly]
-
monthly :
Aggregate by months
-
daily :
Aggregate by days
|
|
} |
|
|
Response
struct |
{ |
|
string |
statusMessage |
Status code description
|
string |
session |
Refreshed session
|
array |
stats ( |
|
struct |
{ |
|
int |
avgSearchCount |
Average search count of keyword during last two months.
|
int |
avgCpc |
Average price per click of keyword (in halers) during last two months.
|
array |
searchCountInTime ( |
Search count per particular months during last year
|
struct |
{ |
|
string |
timePeriod |
Month identification in format Year-Month ("2014-02")
|
int |
searchCount |
Search count of keyword per month (identification of month is in timePeriod field)
|
|
} |
|
|
|
) |
|
|
|
} |
|
|
|
) |
|
|
int |
total |
How many records is available
|
array |
diagnostics ( |
(optional) Various diagnostics(warnings, errors, other information)
|
|
) |
|
|
|
} |
|
|
Response status codes:
List of all possible response status codes:
200: OK
206: Partially OK
301: User is serviced
400: Bad arguments
401: Invalid session
403: Access Denied
404: Not found
406: Bad values of attributes
413: Too many items requested.
429: Too many requests. Has to wait.
500: Server Error.
409: Conflict
Diagnostics:
List of all possible diagnostics: