Campaign Management
API Reference contents
Accounts
Authenticated User Access
Bidding Rules
Campaigns
Content Categories
Features
Funding Instruments
IAB Categories
Line Items
Line Item Apps
Line Item Placements
Media Creatives
Promoted Accounts
Promoted Tweets
Promotable Users
Reach Estimate
Recommendations
Scheduled Promoted Tweets
Targeting Criteria
Targeting Options
Targeting Suggestions
Tax Settings
User Settings
Line Item Placements¶
GET line_items/placements¶
Retrieve valid placement
and product_type
combinations.
Resource URL¶
https://ads-api.twitter.com/4/line_items/placements
Parameters¶
Name | Description |
---|---|
product_type
optional
|
Scope the response to just the valid placements for the specified product type. Type: enum Possible values: |
Example Request¶
GET https://ads-api.twitter.com/4/line_items/placements?product_type=PROMOTED_ACCOUNT
Example Response¶
{
"data": [
{
"product_type": "PROMOTED_ACCOUNT",
"placements": [
[
"ALL_ON_TWITTER"
],
[
"TWITTER_TIMELINE"
]
]
}
],
"request": {
"params": {
"product_type": "PROMOTED_ACCOUNT"
}
}
}