AI-generated Key Takeaways
-
Several Ad Manager API services, including AdRuleService, ForecastService, and LineItemService, are associated with GeoTargetingError.Reason.
-
GeoTargetingError.Reason is an enumeration detailing specific issues that can occur with geographical targeting.
-
Reasons for GeoTargetingError include attempting to exclude a targeted location, targeting children of an excluded location, excluding postal codes, or specifying an untargetable location.
-
The UNKNOWN reason is returned when the actual error value is not available in the requested API version.
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. |