GetRubrics
Returns a list of Yandex Catalog categories.
Category information may be useful when analyzing campaign statistics.
Input data
The input data structure in JSON is shown below.
{
"method": "GetRubrics"
}
Output data
The method returns an array of RubricInfo objects, each of which corresponds to a single category. The output data structure in JSON is shown below.
{
"data": [
{ /* RubricInfo */
"RubricID": (int),
"ParentID": (int),
"Url": (string),
"RubricFullName": (string),
"RubricName": (string),
"Checkable": (string)
}
...
]
}
Parameters are described below.
Parameter | Description |
RubricInfo object | |
---|---|
RubricID | ID of a category in Yandex Catalog. |
ParentID | The ID of the higher-level category. |
Url | The URL of the category. |
RubricFullName | The full category name. |
RubricName | Short version of the category name. |
Checkable | This category can be used in ads — Yes/No. |
Parameter | Description |
RubricInfo object | |
---|---|
RubricID | ID of a category in Yandex Catalog. |
ParentID | The ID of the higher-level category. |
Url | The URL of the category. |
RubricFullName | The full category name. |
RubricName | Short version of the category name. |
Checkable | This category can be used in ads — Yes/No. |