AdsApp.​AccountShoppingAdGroupTargeting

Provides access to shopping ad group-level targeting criteria (currently just audiences).

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

var shoppingAudienceSelector = AdsApp.shoppingAdGroupTargeting()
 .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.ShoppingAdGroupAudienceSelector Specializes this selector to return ShoppingAdGroupAudience criteria.

audiences()

Specializes this selector to return ShoppingAdGroupAudience criteria.

Return values:

TypeDescription
AdsApp.ShoppingAdGroupAudienceSelector A selector for ShoppingAdGroupAudience criteria.