type GeoTargetingError (v202411)

  • This documentation details the GeoTargetingError within the YieldGroupService of the Google Ad Manager API.

  • GeoTargetingError is a type of ApiError and inherits its properties: fieldPath, fieldPathElements, trigger, and errorString.

  • This error arises due to issues in geographical targeting settings for yield groups, such as incompatible inclusion and exclusion settings or targeting untargetable locations.

  • The reason field further specifies the nature of the geographical targeting error encountered.

  • Developers can use this information to troubleshoot and resolve errors related to geographical targeting in yield groups.


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

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