v29

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-06-042661,1122.5 MB
targeting_template

List targeting templates

Get a list of the targeting templates in the specified ad_account_id

get/ad_accounts/{ad_account_id}/targeting_templates

Path parameters

ad_account_idstring required

Unique identifier of an ad account.

Query parameters

bookmarkstring

Cursor used to fetch the next page of items

page_sizeinteger

Maximum number of items to include in a single page. See documentation on Pagination for more information.

order'ASCENDING' | 'DESCENDING'

The order in which to sort the items returned: "ASCENDING" or "DESCENDING" by ID. Note that higher-value IDs are associated with more-recently added items.

include_sizingboolean

Include audience sizing in result or not

search_querystring

Search query. Can contain pin description keywords or comma-separated pin IDs.

Response

The request has succeeded.

bookmarkstring nullable

Example response

{
  "items": [
    {
      "keywords": [
        {
          "match_type": "BROAD",
          "value": "couples halloween costumes"
        }
      ],
      "placement_group": "ALL",
      "sizing": {
        "reach_estimate": {
          "estimate": 63492000,
          "lower_bound": 47619000,
          "upper_bound": 79365000
        }
      },
      "targeting_attributes": {
        "SHOPPING_RETARGETING": [
          {
            "lookback_window": 30,
            "exclusion_window": 14,
            "tag_types": [
              0,
              6
            ]
          }
        ]
      },
      "tracking_urls": {
        "impression": [
          "URL1",
          "URL2"
        ],
        "click": [
          "URL1",
          "URL2"
        ],
        "engagement": [
          "URL1",
          "URL2"
        ],
        "buyable_button": [
          "URL1",
          "URL2"
        ],
        "audience_verification": [
          "URL1",
          "URL2"
        ]
      }
    }
  ]
}