Note
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
Contains the methods for filtering and ordering excluded locations. For information about selectors, see Selectors.
Example usage:
var shoppingCampaign = AdsApp.shoppingCampaigns().withIds(["123456789"]).get().next();
var iterator = shoppingCampaign.targeting().excludedLocations()
.withLimit(10)
.get();
while (iterator.hasNext()) {
var excludedLocation = iterator.next();
}
Methods
| Method Name | Return Type | Description |
|---|---|---|
| get | ExcludedLocationIterator | Gets an iterator used to iterate through the list of excluded locations. |
| withLimit(int limit) | ExcludedLocationSelector | Gets the top n excluded locations that match the selection criteria. |
get
Gets an iterator uses to iterate through the list of excluded locations.
Returns
| Type | Description |
|---|---|
| ExcludedLocationIterator | An iterator used to iterate through the excluded locations. |
withLimit(int limit)
Gets the top n excluded locations that match the selection criteria.
Arguments
| Name | Type | Description |
|---|---|---|
| limit | int | The number of excluded locations to return. The actual number may be less. |
Returns
| Type | Description |
|---|---|
| ExcludedLocationSelector | Selector with limit applied. |