AdsApp.​Extensions

Access to ad extensions that have been added to this account: Callout, Message, MobileApp, PhoneNumber, Review, Sitelink, and Snippet.

Methods:

MemberTypeDescription
callouts AdsApp.CalloutSelector Returns the selector of all callouts in the account.
messages AdsApp.MessageSelector Returns the selector of all messages in the account.
mobileApps AdsApp.MobileAppSelector Returns the selector of all mobile apps in the account.
newCalloutBuilder AdsApp.CalloutBuilder Returns a new callout builder for this account.
newMessageBuilder AdsApp.MessageBuilder Returns a new message builder for this account.
newMobileAppBuilder AdsApp.MobileAppBuilder Returns a new mobile app builder for this account.
newPhoneNumberBuilder AdsApp.PhoneNumberBuilder Returns a new phone number builder for this account.
newReviewBuilder AdsApp.ReviewBuilder Returns a new review builder for this account.
newSitelinkBuilder AdsApp.SitelinkBuilder Returns a new sitelink builder for this account.
newSnippetBuilder AdsApp.SnippetBuilder Returns a new snippet builder for this account.
phoneNumbers AdsApp.PhoneNumberSelector Returns the selector of all phone numbers in the account.
reviews AdsApp.ReviewSelector Returns the selector of all reviews in the account.
sitelinks AdsApp.SitelinkSelector Returns the selector of all sitelinks in the account.
snippets AdsApp.SnippetSelector Returns the selector of all snippets in the account.

callouts()

Returns the selector of all callouts in the account.

Return values:

TypeDescription
AdsApp.CalloutSelector The selector of all callouts in the account.

messages()

Returns the selector of all messages in the account.

Return values:

TypeDescription
AdsApp.MessageSelector The selector of all messages in the account.

mobileApps()

Returns the selector of all mobile apps in the account.

Return values:

TypeDescription
AdsApp.MobileAppSelector The selector of all mobile apps in the account.

newCalloutBuilder()

Returns a new callout builder for this account. Once builder.build() is called, the callout will be created in this account.

Return values:

TypeDescription
AdsApp.CalloutBuilder Callout builder used to create a new callout in the account.

newMessageBuilder()

Returns a new message builder for this account. Once builder.build() or builder.create() is called, the message will be created in this account.

Return values:

TypeDescription
AdsApp.MessageBuilder Message builder used to create a new message in the account.

newMobileAppBuilder()

Returns a new mobile app builder for this account. Once builder.build() or builder.create() is called, the mobile app will be created in this account.

Return values:

TypeDescription
AdsApp.MobileAppBuilder Mobile app builder used to create a new mobile app in the account.

newPhoneNumberBuilder()

Returns a new phone number builder for this account. Once builder.build() or builder.create() is called, the phone number will be created in this account.

Return values:

TypeDescription
AdsApp.PhoneNumberBuilder Phone number builder used to create a new phone number in the account.

newReviewBuilder()

Returns a new review builder for this account. Once builder.build() is called, the review will be created in this account.

Return values:

TypeDescription
AdsApp.ReviewBuilder Review builder used to create a new review in the account.

newSitelinkBuilder()

Returns a new sitelink builder for this account. Once builder.build() or builder.create() is called, the sitelink will be created in this account.

Return values:

TypeDescription
AdsApp.SitelinkBuilder Sitelink builder used to create a new sitelink in the account.

newSnippetBuilder()

Returns a new snippet builder for this account. Once builder.build() or builder.create() is called, the snippet will be created in this account.

Return values:

TypeDescription
AdsApp.SnippetBuilder Snippet builder used to create a new snippet in the account.

phoneNumbers()

Returns the selector of all phone numbers in the account.

Return values:

TypeDescription
AdsApp.PhoneNumberSelector The selector of all phone numbers in the account.

reviews()

Returns the selector of all reviews in the account.

Return values:

TypeDescription
AdsApp.ReviewSelector The selector of all reviews in the account.
Returns the selector of all sitelinks in the account.

Return values:

TypeDescription
AdsApp.SitelinkSelector The selector of all sitelinks in the account.

snippets()

Returns the selector of all snippets in the account.

Return values:

TypeDescription
AdsApp.SnippetSelector The selector of all snippets in the account.

Send feedback about...

Google Ads scripts
Google Ads scripts
Need help? Visit our support page.