CampaignTargeting
Defines where a campaign is eligible to serve ads, including supply source, placement, and geographic markets.
Declaration
object CampaignTargetingProperties
| Name | Type | Description |
|---|---|---|
supplySource | CampaignTargeting.SupplySource | The supply source(s) where ads are eligible to appear. Possible values: |
supplyPlacement | CampaignTargeting.SupplyPlacement | The specific placements within a supply source. Possible values: |
countryOrRegion | CampaignTargeting.CountryOrRegion | The countries or regions where the campaign serves ads. Uses ISO 3166-1 alpha-2 country codes. See TargetingData for details. Mutable. |
Discussion
The CampaignTargeting object defines where a campaign is eligible to serve ads, using three TargetingData fields: supplySource, supplyPlacement, and countryOrRegion.
The supplySource, supplyPlacement, and countryOrRegion fields are all include-only at the campaign level: the exclude array isn’t supported for any of the three dimensions. Use CampaignTargetingCreate to supply these values when creating a new campaign. Once the campaign exists, all three dimensions remain mutable via CampaignTargetingUpdate. After campaign-level targeting is in place, AdGroupTargeting provides further audience and delivery refinements at the ad group level.
Example
{
"supplySource": {
"include": [
"APPSTORE"
]
},
"supplyPlacement": {
"include": [
"APPSTORE_SEARCH_RESULTS",
"APPSTORE_SEARCH_TAB"
]
},
"countryOrRegion": {
"include": [
"US",
"CA"
]
}
}