AdWordsApp.​CampaignExtensions

Access to campaign-level extensions. For example, to access all sitelinks belonging to a campaign:
 var campaignSitelinkIterator = campaign.extensions().sitelinks().get();
 while (campaignSitelinkIterator.hasNext()) {
   var campaignSitelink = campaignSitelinkIterator.next();
 }

Methods:

MemberTypeDescription
callouts AdWordsApp.CampaignCalloutSelector Returns the selector of all callouts in the campaign.
messages AdWordsApp.CampaignMessageSelector Returns the selector of all messages in the campaign.
mobileApps AdWordsApp.CampaignMobileAppSelector Returns the selector of all mobile apps in the campaign.
phoneNumbers AdWordsApp.CampaignPhoneNumberSelector Returns the selector of all phone numbers in the campaign.
reviews AdWordsApp.CampaignReviewSelector Returns the selector of all reviews in the campaign.
sitelinks AdWordsApp.CampaignSitelinkSelector Returns the selector of all sitelinks in the campaign.
snippets AdWordsApp.CampaignSnippetSelector Returns the selector of all snippets in the campaign.

callouts()

Returns the selector of all callouts in the campaign.

Return values:

TypeDescription
AdWordsApp.CampaignCalloutSelector The selector of all callouts in the campaign.

messages()

Returns the selector of all messages in the campaign.

Return values:

TypeDescription
AdWordsApp.CampaignMessageSelector The selector of all messages in the campaign.

mobileApps()

Returns the selector of all mobile apps in the campaign.

Return values:

TypeDescription
AdWordsApp.CampaignMobileAppSelector The selector of all mobile apps in the campaign.

phoneNumbers()

Returns the selector of all phone numbers in the campaign.

Return values:

TypeDescription
AdWordsApp.CampaignPhoneNumberSelector The selector of all phone numbers in the campaign.

reviews()

Returns the selector of all reviews in the campaign.

Return values:

TypeDescription
AdWordsApp.CampaignReviewSelector The selector of all reviews in the campaign.
Returns the selector of all sitelinks in the campaign.

Return values:

TypeDescription
AdWordsApp.CampaignSitelinkSelector The selector of all sitelinks in the campaign.

snippets()

Returns the selector of all snippets in the campaign.

Return values:

TypeDescription
AdWordsApp.CampaignSnippetSelector The selector of all snippets in the campaign.

发送以下问题的反馈:

此网页
AdWords Scripts
AdWords Scripts
需要帮助?请访问我们的支持页面