AI-generated Key Takeaways
-
The content details
GenericTargetingError, which is a type ofApiErrorthat can be used across various services related to targeting, such as Adjustment, Forecast, LineItem, Order, ProposalLineItem, TargetingPreset, and YieldGroup services. -
GenericTargetingErrorspecifically describes targeting validation errors applicable to different targeting types. -
The error includes fields inherited from
ApiErrorlikefieldPath,fieldPathElements,trigger, anderrorString. -
It also has its own field,
reason, which is an enumeration indicating the specific cause of the targeting error, such asCONFLICTING_INCLUSION_OR_EXCLUSION_OF_SIBLINGS,INCLUDING_DESCENDANTS_OF_EXCLUDED_CRITERIA, orUNKNOWN.
Targeting validation errors that can be used by different targeting types.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202505
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. |
GenericTargetingError
|
|
|
Enumerations
|