AI-generated Key Takeaways
- 
          CustomTargetingErroris a Google Ad Manager API error related toCustomTargetingKeyandCustomTargetingValueobjects used across various services.
- 
          This error inherits standard API error fields like fieldPath,trigger, anderrorString.
- 
          The CustomTargetingErrorincludes specific reasons categorized as Key Errors, Value Errors, Targeting Expression and Criteria Errors, Audience Segment Errors, and Other Errors.
- 
          Key and Value errors cover issues such as not found, duplicate, invalid names, length, characters, status, and usage restrictions. 
- 
          Targeting Expression and Criteria errors include issues with statements and the use of operators like ORon different keys.
- 
          Audience Segment errors address issues with targeting various types and statuses of AudienceSegment objects. 
Lists all errors related to CustomTargetingKey and CustomTargetingValue objects.
- Namespace
- 
               https://www.google.com/apis/ads/publisher/v202502
| 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 
 |