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
IAB Categories¶
GET iab_categories¶
Request the valid app categories
for ad groups (line_items
).
Resource URL¶
https://ads-api.twitter.com/2/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: |
with_total_count
optional
|
Include the Note: Note: Requests which include Type: boolean Default:
false Possible values:
true , false |
Example Request¶
GET https://ads-api.twitter.com/2/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
}
}
}