enum GeoTargetingError.Reason (v202508)
Stay organized with collections
Save and categorize content based on your preferences.
The reasons for the target error.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202508
Enumeration |
Description |
TARGETED_LOCATIONS_NOT_EXCLUDABLE
|
A location that is targeted cannot also be excluded.
|
EXCLUDED_LOCATIONS_CANNOT_HAVE_CHILDREN_TARGETED
|
Excluded locations cannot have any of their children targeted.
|
POSTAL_CODES_CANNOT_BE_EXCLUDED
|
Postal codes cannot be excluded.
|
UNTARGETABLE_LOCATION
|
Indicates that location targeting is not allowed.
|
UNKNOWN
|
The value returned if the actual value is not exposed by the requested API version.
|
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-08-13 UTC.
[null,null,["Last updated 2025-08-13 UTC."],[],[],null,["# enum GeoTargetingError.Reason (v202508)\n\n**Service** \n**AdRuleService** [AdjustmentService](/ad-manager/api/reference/v202508/AdjustmentService.GeoTargetingError.Reason) [ForecastService](/ad-manager/api/reference/v202508/ForecastService.GeoTargetingError.Reason) [LineItemService](/ad-manager/api/reference/v202508/LineItemService.GeoTargetingError.Reason) [LineItemTemplateService](/ad-manager/api/reference/v202508/LineItemTemplateService.GeoTargetingError.Reason) [OrderService](/ad-manager/api/reference/v202508/OrderService.GeoTargetingError.Reason) [ProposalLineItemService](/ad-manager/api/reference/v202508/ProposalLineItemService.GeoTargetingError.Reason) [TargetingPresetService](/ad-manager/api/reference/v202508/TargetingPresetService.GeoTargetingError.Reason) [YieldGroupService](/ad-manager/api/reference/v202508/YieldGroupService.GeoTargetingError.Reason) **Dependencies** \n[GeoTargetingError](/ad-manager/api/reference/v202508/AdRuleService.GeoTargetingError) \n▼\n**GeoTargetingError.Reason**\n\nThe reasons for the target error.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202508`\n\n| Enumeration | Description |\n|----------------------------------------------------|-------------------------------------------------------------------------------------|\n| `TARGETED_LOCATIONS_NOT_EXCLUDABLE` | A location that is targeted cannot also be excluded. |\n| `EXCLUDED_LOCATIONS_CANNOT_HAVE_CHILDREN_TARGETED` | Excluded locations cannot have any of their children targeted. |\n| `POSTAL_CODES_CANNOT_BE_EXCLUDED` | Postal codes cannot be excluded. |\n| `UNTARGETABLE_LOCATION` | Indicates that location targeting is not allowed. |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]