IAB Categories
GET iab_categories¶
Request the valid app categories for ad groups
(line_items).
Resource URL¶
https://ads-api.x.com/12/iab_categories
Parameters¶
| Name | Description |
|---|---|
count optional |
Specifies the number of records to try and retrieve per distinct request. Type: int Default:
200Min, Max: 1,
1000 |
cursor optional |
Specifies a cursor to get the next page of categories. See Pagination for more information. Type: string Example:
|
with_total_count optional |
Include the Note: This parameter and
Note: Requests
which include Type: boolean Default:
falsePossible values: true,
false |
Example Request¶
GET https://ads-api.x.com/12/iab_categories?count=2
Example Response¶
{
"data": [
{
"id": "IAB1",
"parent_id": null,
"name": "Arts & Entertainment"
},
{
"id": "IAB1-1",
"parent_id": "IAB1",
"name": "Books & Literature"
}
],
"next_cursor": "uxa8",
"request": {
"params": {
"count": 2
}
}
}