targeting_template
Create targeting templates
Targeting templates allow advertisers to save a set of targeting details including audience lists, keywords & interest, demographics, and placements to use more than once during the campaign creation process.
Templates can be used to build out basic targeting criteria that you plan to use across campaigns and to reuse performance targeting from prior campaigns for new campaigns.
post/ad_accounts/{ad_account_id}/targeting_templates
Path parameters
ad_account_idstring required
Unique identifier of an ad account.
Request body
Example request
{
"keywords": [
{
"match_type": "BROAD",
"value": "couples halloween costumes"
}
],
"placement_group": "ALL",
"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"
]
}
}Response
The request has succeeded.
Example response
{
"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"
]
}
}