CampaignTargetingCreate
Targeting configuration supplied when creating a campaign.
Declaration
object CampaignTargetingCreateProperties
| Name | Type | Description |
|---|---|---|
supplySource | CampaignTargetingCreate.SupplySource | The supply source(s) where ads are eligible to appear (for example, |
supplyPlacement | CampaignTargetingCreate.SupplyPlacement | The specific placements within a supply source. See accepted values below. See TargetingDataCreate for details. |
countryOrRegion | CampaignTargetingCreate.CountryOrRegion | The countries or regions where the campaign serves ads. Uses ISO 3166-1 alpha-2 country codes. See TargetingDataCreate for details. |
Discussion
The CampaignTargetingCreate object is the create-time counterpart to CampaignTargeting. It defines the supply source, placement, and geographic markets for a new campaign using TargetingDataCreate objects for each dimension. All three dimensions are include-only: the exclude array isn’t supported at the campaign level. The TargetingDataCreate at creation time corresponds to TargetingData in read and update responses. Once the campaign is created, use CampaignTargeting to read or update any of the three dimensions.
Example
{
"supplySource": {
"include": ["APPSTORE"]
},
"supplyPlacement": {
"include": ["APPSTORE_SEARCH_RESULTS", "APPSTORE_SEARCH_TAB"]
},
"countryOrRegion": {
"include": ["US", "CA"]
}
}Value | Supply source | Placement |
|---|---|---|
|
| App Store Search results |
|
| App Store Search tab |
|
| App Store Today tab |
|
| App Store Product pages |
|
| Apple Maps Search results |
|
| Apple Maps Search home |