enum GeoTargetingError.Reason (v202411)

  • GeoTargetingError.Reason outlines the potential errors encountered when setting location-based targeting in Google Ad Manager.

  • Targeting and exclusion restrictions exist, such as locations cannot be both targeted and excluded, and excluded locations can't have targeted children.

  • Postal codes are ineligible for exclusion, while some locations might be entirely untargetable due to platform restrictions.

  • The error reasons provided aid in troubleshooting and resolving location targeting issues within Ad Manager campaigns.

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.