AdsApp.​AccountShoppingCampaignTargeting

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("Impressions > 100")
  .forDateRange("LAST_MONTH")
  .orderBy("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.

다음에 대한 의견 보내기...

Google Ads scripts
Google Ads scripts
도움이 필요하시나요? 지원 페이지를 방문하세요.