AdsApp.ExcludedLocationSelector
Stay organized with collections
Save and categorize content based on your preferences.
Fetches excluded locations. Unlike other selectors, does not support
filtering or sorting.
Typical usage:
var locationSelector = AdsApp.targeting().excludedLocations();
var locationIterator = locationSelector.get();
while (locationIterator.hasNext()) {
var location = locationIterator.next();
}
Related:
Methods:
get()
Fetches the requested excluded locations and returns an iterator.
Return values:
withLimit(limit)
Specifies limit for the selector to use. For instance,
withLimit(50)
returns only the first 50 entities.
Arguments:
Name | Type | Description |
limit |
int |
How many entities to return. |
Return values:
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-03 UTC.
[null,null,["Last updated 2025-09-03 UTC."],[],[],null,[]]