AdsApp.​AdGroupExtensions

Access to ad group-level extensions.

For example, to access all sitelinks belonging to an ad group:

 var adGroupSitelinkIterator = adGroup.extensions().sitelinks().get();
 while (adGroupSitelinkIterator.hasNext()) {
   var adGroupSitelink = adGroupSitelinkIterator.next();
 }

Methods:

MemberTypeDescription
callouts AdsApp.AdGroupCalloutSelector Returns the selector of all callouts in the ad group.
messages AdsApp.AdGroupMessageSelector Returns the selector of all messages in the ad group.
mobileApps AdsApp.AdGroupMobileAppSelector Returns the selector of all mobile apps in the ad group.
phoneNumbers AdsApp.AdGroupPhoneNumberSelector Returns the selector of all phone numbers in the ad group.
reviews AdsApp.AdGroupReviewSelector Returns the selector of all reviews in the ad group.
sitelinks AdsApp.AdGroupSitelinkSelector Returns the selector of all sitelinks in the ad group.
snippets AdsApp.AdGroupSnippetSelector Returns the selector of all snippets in the ad group.

callouts()

Returns the selector of all callouts in the ad group.

Return values:

TypeDescription
AdsApp.AdGroupCalloutSelector The selector of all callouts in the ad group.

messages()

Returns the selector of all messages in the ad group.

Return values:

TypeDescription
AdsApp.AdGroupMessageSelector The selector of all messages in the ad group.

mobileApps()

Returns the selector of all mobile apps in the ad group.

Return values:

TypeDescription
AdsApp.AdGroupMobileAppSelector The selector of all mobile apps in the ad group.

phoneNumbers()

Returns the selector of all phone numbers in the ad group.

Return values:

TypeDescription
AdsApp.AdGroupPhoneNumberSelector The selector of all phone numbers in the ad group.

reviews()

Returns the selector of all reviews in the ad group.

Return values:

TypeDescription
AdsApp.AdGroupReviewSelector The selector of all reviews in the ad group.
Returns the selector of all sitelinks in the ad group.

Return values:

TypeDescription
AdsApp.AdGroupSitelinkSelector The selector of all sitelinks in the ad group.

snippets()

Returns the selector of all snippets in the ad group.

Return values:

TypeDescription
AdsApp.AdGroupSnippetSelector The selector of all snippets in the ad group.

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

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