Line Item Placements
line-item-placements

Line Item Placements

GET line_items/placements

Retrieve valid placement and product_type combinations.

Resource URL

https://ads-api.x.com/12/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: MEDIA, PROMOTED_ACCOUNT, PROMOTED_TWEETS

Example Request

GET https://ads-api.x.com/12/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"
    }
  }
}