Web Search API, gRPC: WordstatService.GetDynamics
Not implemented.
The method returns the frequency of queries over time for a given keyword.
gRPC request
rpc GetDynamics (GetDynamicsRequest) returns (GetDynamicsResponse)
GetDynamicsRequest
{
"phrase": "string",
"period": "Period",
"from_date": "google.protobuf.Timestamp",
"to_date": "google.protobuf.Timestamp",
"regions": [
"string"
],
"devices": [
"Device"
],
"folder_id": "string"
}
|
Field |
Description |
|
phrase |
string Required field. Keyword. |
|
period |
enum Period Required field. The period of aggregation of the number of queries.
|
|
from_date |
Required field. The start of the period data is requested for. |
|
to_date |
The end of the period data is requested for. |
|
regions[] |
string A list of IDs of the regions a query was made from. |
|
devices[] |
enum Device A list of device types a query was made from.
|
|
folder_id |
string ID of the folder. |
GetDynamicsResponse
{
"results": [
{
"date": "google.protobuf.Timestamp",
"count": "int64",
"share": "double"
}
]
}
|
Field |
Description |
|
results[] |
Results. |
DynamicsInfo
|
Field |
Description |
|
date |
The date |
|
count |
int64 Number of queries containing the given keyword |
|
share |
double The share of the number of such queries from the total number of queries to Yandex. |