AI-generated Key Takeaways
- 
          This document details CustomTargetingErrorin the Ad Manager API (v202502) related to CustomTargetingKey and CustomTargetingValue objects, which inherits fields likefieldPathandtriggerfromApiError.
- 
          Several other Ad Manager services besides ForecastService can also encounter CustomTargetingError.
- 
          The document provides a comprehensive list of specific error types related to custom targeting keys and values, such as KEY_NOT_FOUND,VALUE_COUNT_FOR_KEY_TOO_LARGE, andINVALID_TARGETING_EXPRESSION.
- 
          Errors related to audience segments and mapped metadata are also listed, including CANNOT_TARGET_AUDIENCE_SEGMENTandCANNOT_TARGET_MAPPED_METADATA.
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 
 |