Ambil perhatian
Akses ke halaman ini memerlukan kebenaran. Anda boleh cuba log masuk atau menukar direktori.
Akses ke halaman ini memerlukan kebenaran. Anda boleh cuba menukar direktori.
Contains the methods for iterating through a list of asset groups. For information about iterators, see Iterators.
Example usage:
// Gets the iterator that iterates all asset groups
// in the account.
var iterator = Campaign.assetGroups().get();
// Loops through all asset groups in the account.
while (iterator.hasNext()) {
var assetGroup = iterator.next();
}
Methods
| Method Name | Return Type | Description |
|---|---|---|
| hasNext | Boolean | Gets a Boolean value that indicates whether the iterator has more elements. |
| next | AssetGroup | Advances the iterator and returns the next asset group. |
| totalNumEntities | int | Gets the number of asset 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 asset group.
Returns
| Type | Description |
|---|---|
| AssetGroup | The next asset group in the iterator. |
totalNumEntities
Gets the number of asset groups that matched the selector's selection criteria.
Returns
| Type | Description |
|---|---|
| int | The number of asset groups that matched the selector's selection criteria. |