AI-generated Key Takeaways
-
The
CustomTargetingErrorclass in Google Ad Manager API v202505 reports errors related toCustomTargetingKeyandCustomTargetingValueobjects and inherits from theApiErrorclass. -
Errors can occur due to issues with
CustomTargetingKeyobjects, including not being found, exceeding limits, name or display name problems, being inactive, missing values, or usage restrictions. -
Errors can also arise from
CustomTargetingValueobjects, such as not being found, exceeding limits for predefined keys, name or display name issues, match type restrictions, being inactive, invalid association with a key, or usage restrictions. -
Additional errors cover problems with targeting expressions and statements, including missing key IDs or invalid logical operations.
-
The document also lists errors related to Audience Segments, such as the inability to target certain types or inactive segments, and other errors like targeting deprecated mapped metadata.
Lists all errors related to CustomTargetingKey and CustomTargetingValue objects.
- 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. |
CustomTargetingError
|
|
|
Enumerations
|