This is the legacy documentation for Google Ads scripts. Go to the current docs.

AdsApp.​AdCustomizerSourceSelector

Fetches ad customizer sources. Does not support filtering or sorting.

Typical usage:

 var adCustomizerSourceSelector = AdsApp.adCustomizerSources();

 var adCustomizerSourceIterator = adCustomizerSourceSelector.withLimit(5).get();
 while (adCustomizerSourceIterator.hasNext()) {
   var adCustomizerSource = adCustomizerSourceIterator.next();
 }
Related:

Methods:

MemberTypeDescription
get AdsApp.AdCustomizerSourceIterator Fetches the requested ad customizer sources and returns an iterator.
withLimit AdsApp.AdCustomizerSourceSelector Specifies limit for the selector to use.

get()

Fetches the requested ad customizer sources and returns an iterator.

Return values:

TypeDescription
AdsApp.AdCustomizerSourceIterator Iterator of the requested ad customizer sources.

withLimit(limit)

Specifies limit for the selector to use. For instance, withLimit(50) returns only the first 50 entities.

Arguments:

NameTypeDescription
limit int How many entities to return.

Return values:

TypeDescription
AdsApp.AdCustomizerSourceSelector The selector with limit applied.