IAB Categories

GET iab_categories

Request the valid app categories for ad groups (line_items).

Resource URL

https://ads-api.twitter.com/4/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: total_count will only be returned when with_total_count is set to true and next_cursor is null.

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.twitter.com/4/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
    }
  }
}