Content Categories

GET content_categories

Request the valid content categories valid to be set as targeting_criteria for Ad Groups (line_items).

Note: These categories apply only to targeting_critera associated with Line Items with the PREROLL_VIEWS objective and can be set by using the POST batch/accounts/:account_id/targeting_criteria using the negated operator_type operator.

Each content_category maps to one or more IAB Categories. This can be done by setting the targeting_type to IAB_CATEGORY on the batch targeting_critera endpoint to include the set of corresponding iab_categories returned by the content_categories request.

Additional details can be found in the Video Views Pre-roll Objective Guide.

Resource URL

https://ads-api.twitter.com/8/content_categories

Parameters

No request parameters

Example Request

GET https://ads-api.twitter.com/8/content_categories

Example Response

{
  "data": [
    {
      "id": "st",
      "name": "Alcohol",
      "iab_categories": [
        "IAB8-18",
        "IAB8-5"
      ]
    },
    {
      "id": "ru",
      "name": "Automotive (Cars, Trucks, Racing)",
      "iab_categories": [
        "IAB2"
      ]
    },
    {
      "id": "sk",
      "name": "Comedy",
      "iab_categories": [
        "IAB1-4"
      ]
    },
    {
      "id": "sl",
      "name": "Digital Creators",
      "iab_categories": [
        "IAB25-1"
      ]
    },
    {
      "id": "sm",
      "name": "Entertainment & Pop Culture",
      "iab_categories": [
        "IAB1-1",
        "IAB1-2",
        "IAB1-3",
        "IAB1-5"
      ]
    },
    {
      "id": "sn",
      "name": "Financial & Business News",
      "iab_categories": [
        "IAB3",
        "IAB13",
        "IAB21"
      ]
    },
    {
      "id": "so",
      "name": "Food & Drink",
      "iab_categories": [
        "IAB8-8",
        "IAB8-12",
        "IAB8-17",
        "IAB8-2",
        "IAB8-3",
        "IAB8-7",
        "IAB8-11",
        "IAB8-4",
        "IAB8-14",
        "IAB8-10",
        "IAB8-15",
        "IAB8-13",
        "IAB8-9",
        "IAB8-16",
        "IAB8-6",
        "IAB8-1"
      ]
    },
    {
      "id": "sp",
      "name": "Lifestyle (Fashion, Travel, Wellness)",
      "iab_categories": [
        "IAB16",
        "IAB9-21",
        "IAB9-4",
        "IAB9-25",
        "IAB9-8",
        "IAB4",
        "IAB9-3",
        "IAB9-15",
        "IAB7",
        "IAB6",
        "IAB9-11",
        "IAB9-16",
        "IAB9-7",
        "IAB9-20",
        "IAB9-24",
        "IAB9-17",
        "IAB9-12",
        "IAB9-31",
        "IAB9-27",
        "IAB10",
        "IAB9-10",
        "IAB9-23",
        "IAB9-6",
        "IAB9-18",
        "IAB9-13",
        "IAB9-1",
        "IAB9-28",
        "IAB20",
        "IAB9-5",
        "IAB9-26",
        "IAB22",
        "IAB23",
        "IAB9-9",
        "IAB9-22",
        "IAB18",
        "IAB9-2",
        "IAB9-19",
        "IAB9-14",
        "IAB9-29"
      ]
    },
    {
      "id": "sq",
      "name": "Music",
      "iab_categories": [
        "IAB1-6"
      ]
    },
    {
      "id": "sr",
      "name": "News & Current Events",
      "iab_categories": [
        "IAB12",
        "IAB14"
      ]
    },
    {
      "id": "s4",
      "name": "Politics",
      "iab_categories": [
        "IAB11"
      ]
    },
    {
      "id": "ss",
      "name": "Science & Education",
      "iab_categories": [
        "IAB5",
        "IAB15"
      ]
    },
    {
      "id": "se",
      "name": "Sports",
      "iab_categories": [
        "IAB17"
      ]
    },
    {
      "id": "sg",
      "name": "Technology",
      "iab_categories": [
        "IAB19"
      ]
    },
    {
      "id": "sh",
      "name": "Television",
      "iab_categories": [
        "IAB1-7"
      ]
    },
    {
      "id": "s0",
      "name": "eSports & Video Games",
      "iab_categories": [
        "IAB9-30"
      ]
    }
  ],
  "next_cursor": null,
  "request": {
    "params": {}
  }
}

Was this document helpful?

Thank you

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.