AI-generated Key Takeaways
-
The
CustomTargetingErrorclass in Ad Manager services indicates issues withCustomTargetingKeyandCustomTargetingValueobjects. -
This error class inherits from
ApiErrorand provides specific details through fields likefieldPath,trigger, anderrorString. -
Possible reasons for a
CustomTargetingErrorinclude issues with keys (e.g., not found, duplicate names), values (e.g., not found, exceeding limits), targeting expressions, and audience segments. -
The document also lists other specific errors such as requiring
CustomTargetingValue.customTargetingKeyIdin statements and not allowing targeting of mapped metadata key-values.
Lists all errors related to CustomTargetingKey and CustomTargetingValue objects.
- 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. |
CustomTargetingError
|
|
|
Enumerations
|