AI-generated Key Takeaways
-
The
GeoTargetingError
object describes errors related to geographical targeting for line items in Google Ad Manager. -
It inherits from the
ApiError
object, providing details about the error, such as field path, trigger, and error string. -
GeoTargetingError
includes areason
field that specifies the cause of the error, like targeted locations being excluded or untargetable locations being selected. -
The
reason
field can take on various values defined in theGeoTargetingError.Reason
enumeration. -
This information helps developers understand and troubleshoot issues with location-based targeting in their Ad Manager campaigns.
Lists all errors associated with geographical targeting for a LineItem.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Field |
|
---|---|
ApiError (inherited)
|
|
|
The OGNL field path to identify cause of error. |
|
A parsed copy of the field path. For example, the field path "operations[1].operand" corresponds to this list: {FieldPathElement(field = "operations", index = 1), FieldPathElement(field = "operand", index = null)}. |
|
The data that caused the error. |
|
A simple string representation of the error and reason. |
GeoTargetingError
|
|
|
The error reason represented by an enum. Enumerations
|