Not
Åtkomst till denna sida kräver auktorisation. Du kan prova att logga in eller byta katalog.
Åtkomst till denna sida kräver auktorisation. Du kan prova att byta katalog.
Contains the methods for iterating through a list of ad groups. For information about iterators, see Iterators.
Example usage:
// Gets the iterator that iterates all ad groups
// in the account.
var iterator = AdsApp.adGroups().get();
// Loops through all ad groups in the account.
while (iterator.hasNext()) {
var adGroup = iterator.next();
}
Methods
| Method Name | Return Type | Description |
|---|---|---|
| hasNext | Boolean | Gets a Boolean value that indicates whether the iterator has more elements. |
| next | AdGroup | Advances the iterator and returns the next ad group. |
| totalNumEntities | int | Gets the number of ad groups that matched the selector's selection criteria. |
hasNext
Gets a Boolean value that indicates whether the iterator has more elements.
Returns
| Type | Description |
|---|---|
| Boolean | Is true if the iterator has more elements; otherwise, false. |
next
Advances the iterator and returns the next ad group.
Returns
| Type | Description |
|---|---|
| AdGroup | The next ad group in the iterator. |
totalNumEntities
Gets the number of ad groups that matched the selector's selection criteria.
Returns
| Type | Description |
|---|---|
| int | The number of ad groups that matched the selector's selection criteria. |