Campaign Management
API Reference contents
Accounts
Campaigns
Features
Line Item Apps
Line Items
Promoted Accounts
Promoted Tweets
Scheduled Promoted Tweets
Funding Instruments
Authenticated User Access
Bidding Rules
IAB Categories
Line Item Placements
Media Creatives
Promotable Users
Reach Estimate
Recommendations
Targeting Criteria
Targeting Options
IAB Categories
Targeting Suggestions
Bidding Rules
Content Categories
Content Categories¶
GET content_categories¶
Request the valid content categories
for Ad Groups (line_items
).
Note: These categories apply only to line_items
with the VIDEO_VIEWS_PREROLL
objective.
Each content_category
maps to one or more IAB Categories. When creating an Ad Group with the VIDEO_VIEWS_PREROLL
objective, one or more content_categories
must be set for the Ad Group. This can be done by setting the value of the categories
request parameter on the line_item
to the the set of corresponding iab_categories
returned in the response.
Additional details can be found in the Video Views Preroll Objective Guide
Resource URL¶
https://ads-api.twitter.com/3/content_categories
Parameters¶
No request parameters
Example Request¶
GET https://ads-api.twitter.com/3/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": {}
}
}