enum GeoTargetingError.Reason (v202411)

  • GeoTargetingError.Reason specifies the cause of errors related to geographical targeting in Google Ad Manager.

  • This error can occur across multiple services, including those related to Ad Rules, Adjustments, Forecasts, Line Items, Orders, Proposals, Targeting Presets, and Yield Groups.

  • Reasons for errors include targeting and excluding the same location, excluding locations with targeted children, attempting to exclude postal codes, or targeting disallowed locations.

  • The error namespace is https://www.google.com/apis/ads/publisher/v202411.

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.