AdsApp.​AccountShoppingCampaignTargeting

Stay organized with collections Save and categorize content based on your preferences.
Provides access to shopping campaign-level targeting criteria (currently just audiences).

For instance, to select all audiences targeted by shopping campaigns you might use:

var shoppingAudienceSelector = AdsApp.shoppingCampaignTargeting()
 .audiences()
 .withCondition("metrics.impressions > 100")
 .forDateRange("LAST_MONTH")
 .orderBy("metrics.clicks DESC");

var shoppingAudienceIterator = shoppingAudienceSelector.get();
while (shoppingAudienceIterator.hasNext()) {
  var shoppingAudience = shoppingAudienceIterator.next();
}

Methods:

MemberTypeDescription
audiences AdsApp.ShoppingCampaignAudienceSelector Specializes this selector to return ShoppingCampaignAudience criteria.

audiences()

Specializes this selector to return ShoppingCampaignAudience criteria.

Return values:

TypeDescription
AdsApp.ShoppingCampaignAudienceSelector A selector for ShoppingCampaignAudience criteria.