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.

RubricInfo object
RubricIDID of a category in Yandex.Catalog.
ParentIDThe ID of the higher-level category.
UrlThe URL of the category.
RubricFullNameThe full category name.
RubricNameShort version of the category name.
CheckableThis category can be used in ads — Yes/No.