AI-generated Key Takeaways
-
CustomTargetingErroris an error class in the Google Ad Manager API (v202411) related toCustomTargetingKeyandCustomTargetingValueobjects. -
This error class inherits from
ApiErrorand includes fields likefieldPath,trigger, anderrorString. -
CustomTargetingErrorcan occur in various services within the API, includingForecastService,CustomTargetingService, andLineItemService. -
Errors are categorized into issues with
CustomTargetingKeyobjects (like not found, duplicate name, or invalid length),CustomTargetingValueobjects (similar issues plus match type restrictions), Targeting Expressions (invalid syntax or key mismatch), and Audience Segments (targeting restrictions or invalid segments). -
Other reasons for this error include targeting deprecated mapped metadata or encountering an unknown issue not exposed by the API version.
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
|