# type CustomFieldError (v202602)

**Service** **CustomFieldService** **Inheritance** [ApiError](https://developers.google.com/ad-manager/api/reference/v202602/CustomFieldService.ApiError) ▼ [ApiVersionError](https://developers.google.com/ad-manager/api/reference/v202602/CustomFieldService.ApiVersionError) [AuthenticationError](https://developers.google.com/ad-manager/api/reference/v202602/CustomFieldService.AuthenticationError) [CollectionSizeError](https://developers.google.com/ad-manager/api/reference/v202602/CustomFieldService.CollectionSizeError) [CommonError](https://developers.google.com/ad-manager/api/reference/v202602/CustomFieldService.CommonError) **CustomFieldError** [EntityLimitReachedError](https://developers.google.com/ad-manager/api/reference/v202602/CustomFieldService.EntityLimitReachedError) [FeatureError](https://developers.google.com/ad-manager/api/reference/v202602/CustomFieldService.FeatureError) [InternalApiError](https://developers.google.com/ad-manager/api/reference/v202602/CustomFieldService.InternalApiError) [NotNullError](https://developers.google.com/ad-manager/api/reference/v202602/CustomFieldService.NotNullError) [NullError](https://developers.google.com/ad-manager/api/reference/v202602/CustomFieldService.NullError) [ParseError](https://developers.google.com/ad-manager/api/reference/v202602/CustomFieldService.ParseError) [PermissionError](https://developers.google.com/ad-manager/api/reference/v202602/CustomFieldService.PermissionError) [PublisherQueryLanguageConte...](https://developers.google.com/ad-manager/api/reference/v202602/CustomFieldService.PublisherQueryLanguageContextError "PublisherQueryLanguageContextError") [PublisherQueryLanguageSynta...](https://developers.google.com/ad-manager/api/reference/v202602/CustomFieldService.PublisherQueryLanguageSyntaxError "PublisherQueryLanguageSyntaxError") [QuotaError](https://developers.google.com/ad-manager/api/reference/v202602/CustomFieldService.QuotaError) [RequiredCollectionError](https://developers.google.com/ad-manager/api/reference/v202602/CustomFieldService.RequiredCollectionError) [RequiredError](https://developers.google.com/ad-manager/api/reference/v202602/CustomFieldService.RequiredError) [ServerError](https://developers.google.com/ad-manager/api/reference/v202602/CustomFieldService.ServerError) [StatementError](https://developers.google.com/ad-manager/api/reference/v202602/CustomFieldService.StatementError) [StringFormatError](https://developers.google.com/ad-manager/api/reference/v202602/CustomFieldService.StringFormatError) [StringLengthError](https://developers.google.com/ad-manager/api/reference/v202602/CustomFieldService.StringLengthError) [TypeError](https://developers.google.com/ad-manager/api/reference/v202602/CustomFieldService.TypeError) [UniqueError](https://developers.google.com/ad-manager/api/reference/v202602/CustomFieldService.UniqueError)

Errors specific to editing custom fields

*** ** * ** ***

Namespace
:
    `https://www.google.com/apis/ads/publisher/v202602`

| ## Field ||
|---|---|
| **`ApiError` (inherited)** ||
| ### `fieldPath` | ` xsd:string` The OGNL field path to identify cause of error. |
| ### `fieldPathElements` | ` https://developers.google.com/ad-manager/api/reference/v202602/CustomFieldService.FieldPathElement[]` 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)}. |
| ### `trigger` | ` xsd:string` The data that caused the error. |
| ### `errorString` | ` xsd:string` A simple string representation of the error and reason. |
| **`CustomFieldError`** ||
| ### `reason` | ` https://developers.google.com/ad-manager/api/reference/v202602/CustomFieldService.CustomFieldError.Reason ` The error reason represented by an enum. *** ** * ** *** **Enumerations** `INVALID_CUSTOM_FIELD_FOR_OPTION` :   An attempt was made to create a [CustomFieldOption](https://developers.google.com/ad-manager/api/reference/v202602/CustomFieldService.CustomFieldOption) for a [CustomField](https://developers.google.com/ad-manager/api/reference/v202602/CustomFieldService.CustomField) that does not have [CustomFieldDataType.DROPDOWN](https://developers.google.com/ad-manager/api/reference/v202602/CustomFieldService.CustomFieldDataType#DROPDOWN). `UNKNOWN` :   The value returned if the actual value is not exposed by the requested API version. <br /> |