Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Contains the methods for iterating through a list of user lists. For information about iterators, see Iterators.
Example usage:
// Gets the iterator that iterates all user lists
// in the account.
var iterator = AdsApp.userLists().get();
// Loops through all user lists in the account.
while (iterator.hasNext()) {
var userList = iterator.next();
}
Methods
Method Name | Return Type | Description |
---|---|---|
hasNext | Boolean | Gets a Boolean value that indicates whether this iterator has more elements. |
next | UserList | Advances the iterator and returns the next user list. |
totalNumEntities | int | Gets the number of user lists that matched the selector's selection criteria. |
hasNext
Gets a Boolean value that indicates whether this iterator has more elements.
Returns
Type | Description |
---|---|
Boolean | Is true if this iterator has more elements; otherwise, false. |
next
Advances the iterator and returns the next user list.
Returns
Type | Description |
---|---|
UserList | The next user list in the iterator. |
totalNumEntities
Gets the number of user lists that matched the selector's selection criteria.
Returns
Type | Description |
---|---|
int | The number of user lists that matched the selector's selection criteria. |