AI-generated Key Takeaways
-
GeoTargetingError.Reason
outlines the potential reasons for encountering errors related to location targeting in Google Ad Manager. -
This error can arise due to conflicting targeting and exclusion settings, such as targeting and excluding the same location or having targeted children of excluded locations.
-
It also flags specific restrictions like the inability to exclude postal codes and locations that are untargetable by design.
-
The namespace for
GeoTargetingError.Reason
ishttps://www.google.com/apis/ads/publisher/v202411
. -
An
UNKNOWN
reason is returned if the specific reason for the error isn't exposed in the current API version being used.
The reasons for the target error.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
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. |