IAB Categories

GET iab_categories

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

Resource URL

https://ads-api.twitter.com/8/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.twitter.com/8/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
    }
  }
}

Was this document helpful?

Thank you for the feedback. We’re really glad we could help!

Thank you for the feedback. How could we improve this document?

Thank you for the feedback. Your comments will help us improve our documents in the future.