Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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 excluded locations. For information about iterators, see Iterators.
Example usage:
var shoppingCampaign = AdsApp.shoppingCampaigns().withIds(["123456789"]).get().next();
var iterator = shoppingCampaign.targeting().excludedLocations().get();
while (iterator.hasNext()) {
var excludedLocation = iterator.next();
}
Method Name | Return Type | Description |
---|---|---|
hasNext | Boolean | Gets a Boolean value that indicates whether this iterator has more elements. |
next | ExcludedLocation | Advances the iterator and returns the next excluded location. |
totalNumEntities | int | Gets the number of excluded locations that matched selector's selection criteria. |
Gets a Boolean value that indicates whether this iterator has more elements.
Type | Description |
---|---|
Boolean | Is true if this iterator has more elements; otherwise, false. |
Advances the iterator and returns the next excluded location.
Type | Description |
---|---|
ExcludedLocation | The next excluded location in the iterator. |
Gets the number of excluded locations that matched the selector's selection criteria.
Type | Description |
---|---|
int | The number of excluded locations that matched the selector's selection criteria. |
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in