IAB Categories
iab-categories

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: 200
Min, Max: 1, 1000
cursor
optional

Specifies a cursor to get the next page of categories. See Pagination for more information.

Type: string

Example: gc-ddf4a

with_total_count
optional

Include the total_count response attribute.

Note: This parameter and cursor are exclusive.

Note: Requests which include total_count will have lower rate limits, currently set at 200 per 15 minutes.

Type: boolean

Default: false
Possible 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
    }
  }
}