Get targeting options
pinterest_ads_get_targeting_optionsRetrieve valid values for Pinterest ad group targeting fields such as location, interest, age, gender, and keywords; filter long option lists with a search term.
Instructions
Valid values for an ad group targeting_spec field.
targeting_type: LOCATION (countries and US metros), GEO (regions, postcodes), INTEREST, AGE_BUCKET, GENDER, LOCALE, APPTYPE, KEYWORD, AUDIENCE_INCLUDE or AUDIENCE_EXCLUDE. search filters the (often long) list, e.g. search='united kingdom'.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"targeting_type": "<targeting_type>"
},
"name": "pinterest_ads_get_targeting_options"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | ||
| max_results | No | ||
| ad_account_id | No | ||
| targeting_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||