type GeoTargetingError (v202505)

  • GeoTargetingError is part of the YieldGroupService in the Google Ad Manager API v202505.

  • It inherits properties like fieldPath, fieldPathElements, trigger, and errorString from ApiError.

  • GeoTargetingError has a specific field called reason which is an enumeration of possible errors related to geo-targeting.

  • The possible reasons for a GeoTargetingError include issues with targeting and excluding locations and postal codes, or targeting untargetable locations.


Namespace
https://www.google.com/apis/ads/publisher/v202505

Field

ApiError (inherited)

fieldPath

xsd:string

fieldPathElements

FieldPathElement[]

trigger

xsd:string

errorString

xsd:string

GeoTargetingError

reason

GeoTargetingError.Reason


Enumerations
TARGETED_LOCATIONS_NOT_EXCLUDABLE
EXCLUDED_LOCATIONS_CANNOT_HAVE_CHILDREN_TARGETED
POSTAL_CODES_CANNOT_BE_EXCLUDED
UNTARGETABLE_LOCATION
UNKNOWN