---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.2
alternate:
  - https://yandex.ru/dev/direct/doc/dg-v4/en/reference/GetRubrics.md
  - https://yandex.ru/dev/direct/doc/dg-v4/ru/reference/GetRubrics.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.ru/dev/direct/doc/dg-v4/en/llms.txt

# GetRubrics
Returns a list of Yandex Catalog categories.
Category information may be useful when analyzing campaign statistics.


## Input data {#input}

The input data structure in JSON is shown below.

```javascript
{
   "method": "GetRubrics"
}
```


## Output data {#output}

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.

```javascript
{
   "data": [
      {  /* RubricInfo */
         "RubricID": (int),
         "ParentID": (int),
         "Url": (string),
         "RubricFullName": (string),
         "RubricName": (string),
         "Checkable": (string)
      }
      ...
   ]
}
```

Parameters are described below.


#|
||
**<sup >Parameter</sup>**
|
**<sup >Description</sup>**
||

||
**<sub >RubricInfo object</sub>**
||
||
`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.
||
|#

