Contents

CampaignTargeting

Defines where a campaign is eligible to serve ads, including supply source, placement, and geographic markets.

Declaration

object CampaignTargeting

Properties

NameTypeDescription
supplySourceCampaignTargeting.SupplySource

The supply source(s) where ads are eligible to appear. Possible values: APPSTORE, MAPS. See TargetingData for details. Mutable.

supplyPlacementCampaignTargeting.SupplyPlacement

The specific placements within a supply source. Possible values: APPSTORE_SEARCH_RESULTS, APPSTORE_SEARCH_TAB, APPSTORE_TODAY_TAB, APPSTORE_PRODUCT_PAGES, MAPS_SEARCH_RESULTS, MAPS_SEARCH_HOME. See CampaignTargeting.SupplyPlacement for the supply source each placement belongs to. See TargetingData for details. Mutable.

countryOrRegionCampaignTargeting.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"
    ]
  }
}

Topics

Dictionaries

See Also