AdsApp.​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
calloutsAdsApp.CampaignCalloutSelectorReturns the selector of all callouts in the campaign.
mobileAppsAdsApp.CampaignMobileAppSelectorReturns the selector of all mobile apps in the campaign.
phoneNumbersAdsApp.CampaignPhoneNumberSelectorReturns the selector of all phone numbers in the campaign.
pricesAdsApp.CampaignPriceSelectorReturns the selector of all prices in the campaign.
sitelinksAdsApp.CampaignSitelinkSelectorReturns the selector of all sitelinks in the campaign.
snippetsAdsApp.CampaignSnippetSelectorReturns the selector of all snippets in the campaign.

callouts()

Returns the selector of all callouts in the campaign.

Return values:

TypeDescription
AdsApp.CampaignCalloutSelectorThe selector of all callouts in the campaign.

mobileApps()

Returns the selector of all mobile apps in the campaign.

Return values:

TypeDescription
AdsApp.CampaignMobileAppSelectorThe selector of all mobile apps in the campaign.

phoneNumbers()

Returns the selector of all phone numbers in the campaign.

Return values:

TypeDescription
AdsApp.CampaignPhoneNumberSelectorThe selector of all phone numbers in the campaign.

prices()

Returns the selector of all prices in the campaign.

Return values:

TypeDescription
AdsApp.CampaignPriceSelectorThe selector of all prices in the campaign.
Returns the selector of all sitelinks in the campaign.

Return values:

TypeDescription
AdsApp.CampaignSitelinkSelectorThe selector of all sitelinks in the campaign.

snippets()

Returns the selector of all snippets in the campaign.

Return values:

TypeDescription
AdsApp.CampaignSnippetSelectorThe selector of all snippets in the campaign.