CampaignTargetingUpdate
Targeting configuration for updating an existing campaign’s supply source, placement, and geographic markets.
Declaration
object CampaignTargetingUpdateProperties
| Name | Type | Description |
|---|---|---|
supplySource | CampaignTargetingUpdate.SupplySource | The supply source(s) where ads are eligible to appear. Fixed at creation. Don’t include this field in an update request, since doing so is unsupported regardless of the value sent. |
supplyPlacement | CampaignTargetingUpdate.SupplyPlacement | The specific placements within a supply source. Omit to leave unchanged. See TargetingDataUpdate. |
countryOrRegion | CampaignTargetingUpdate.CountryOrRegion | The countries or regions where the campaign serves ads. Omit to leave unchanged. See TargetingDataUpdate. |
Discussion
The CampaignTargetingUpdate object is the update-time counterpart to CampaignTargeting. supplyPlacement and countryOrRegion are optional and nullable; only the fields you supply are changed, and any omitted field retains its current value. supplySource is immutable after campaign creation: including it in an update request, even with its current unchanged value, is unsupported. Each updatable field uses a TargetingDataUpdate object to express include/exclude changes for that dimension.
Example
{
"supplyPlacement": {
"include": ["APPSTORE_SEARCH_RESULTS", "APPSTORE_TODAY_TAB"],
"exclude": null
},
"countryOrRegion": {
"include": ["US", "CA"]
}
}