enum GeoTargetingError.Reason (v202505)

  • Several services including AdRuleService, AdjustmentService, and ForecastService are listed.

  • The key dependency listed is GeoTargetingError, with details provided for GeoTargetingError.Reason.

  • GeoTargetingError.Reason is an enumeration detailing reasons for targeting errors.

  • Reasons for geo-targeting errors include targeted locations not being excludable, excluded locations not having children targeted, postal codes not being excludable, untargetable locations, and unknown errors.

The reasons for the target error.


Namespace
https://www.google.com/apis/ads/publisher/v202505
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.