Submit region_country_targeting and sub_country_targeting
POST /backstage/api/1.0/demo-advertiser/campaigns/1234/
{
"sub_country_targeting": {
"type": "INCLUDE",
"value": [
"AZ",
"CA",
"DE"
]
},
"region_country_targeting": {
"type": "INCLUDE",
"value": [
"AZ",
"CA",
"DE"
]
}
}
{
"http_status": 400,
"message": "When submitting Region Targeting, only 1 field can be used (region_country_targeting OR sub_country_targeting)",
"offending_field": "sub_country_targeting"
}
For a given update request, you can submit values via
region_country_targeting
or viasub_country_targeting
- but not via both.
Submit dma_country_targeting and sub_country_targeting
POST /backstage/api/1.0/demo-advertiser/campaigns/1234/
{
"sub_country_targeting": {
"type": "INCLUDE",
"value": [
"583",
"800",
"716"
]
},
"dma_country_targeting": {
"type": "INCLUDE",
"value": [
"583",
"800",
"716"
]
}
}
{
"http_status": 400,
"message": "When submitting DMA Targeting, only 1 field can be used (dma_country_targeting OR sub_country_targeting)",
"offending_field": "sub_country_targeting"
}
For a given update request, you can submit values via
dma_country_targeting
or viasub_country_targeting
- but not via both.
Submit region_country_targeting and dma_country_targeting
POST /backstage/api/1.0/demo-advertiser/campaigns/1234/
{
"region_country_targeting": {
"type": "INCLUDE",
"value": [
"AZ",
"CA",
"DE"
]
},
"dma_country_targeting": {
"type": "INCLUDE",
"value": [
"583",
"800",
"716"
]
}
}
{
"http_status": 400,
"message": "Submitting both dma_country_targeting and region_country_targeting is not allowed.",
"offending_field": "dma_country_targeting"
}
You can apply region or DMA targeting - but not both.