type CustomFieldError (v202502)
Stay organized with collections
Save and categorize content based on your preferences.
Service
CustomFieldService
Errors specific to editing custom fields
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
Field
|
ApiError (inherited)
|
fieldPath
|
xsd:string
The OGNL field path to identify cause of error.
|
fieldPathElements
|
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
|
CustomFieldError.Reason
The error reason represented by an enum.
Enumerations
-
INVALID_CUSTOM_FIELD_FOR_OPTION
- An attempt was made to create a CustomFieldOption for
a CustomField that does not have CustomFieldDataType.DROPDOWN.
-
UNKNOWN
- The value returned if the actual value is not exposed by the requested API version.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[],[],null,["# type CustomFieldError (v202502)\n\n**Service** \n**CustomFieldService** **Inheritance** \n[ApiError](/ad-manager/api/reference/v202502/CustomFieldService.ApiError) \n▼\n[ApiVersionError](/ad-manager/api/reference/v202502/CustomFieldService.ApiVersionError) [AuthenticationError](/ad-manager/api/reference/v202502/CustomFieldService.AuthenticationError) [CollectionSizeError](/ad-manager/api/reference/v202502/CustomFieldService.CollectionSizeError) [CommonError](/ad-manager/api/reference/v202502/CustomFieldService.CommonError) **CustomFieldError** [EntityLimitReachedError](/ad-manager/api/reference/v202502/CustomFieldService.EntityLimitReachedError) [FeatureError](/ad-manager/api/reference/v202502/CustomFieldService.FeatureError) [InternalApiError](/ad-manager/api/reference/v202502/CustomFieldService.InternalApiError) [NotNullError](/ad-manager/api/reference/v202502/CustomFieldService.NotNullError) [NullError](/ad-manager/api/reference/v202502/CustomFieldService.NullError) [ParseError](/ad-manager/api/reference/v202502/CustomFieldService.ParseError) [PermissionError](/ad-manager/api/reference/v202502/CustomFieldService.PermissionError) [PublisherQueryLanguageConte...](/ad-manager/api/reference/v202502/CustomFieldService.PublisherQueryLanguageContextError \"PublisherQueryLanguageContextError\") [PublisherQueryLanguageSynta...](/ad-manager/api/reference/v202502/CustomFieldService.PublisherQueryLanguageSyntaxError \"PublisherQueryLanguageSyntaxError\") [QuotaError](/ad-manager/api/reference/v202502/CustomFieldService.QuotaError) [RequiredCollectionError](/ad-manager/api/reference/v202502/CustomFieldService.RequiredCollectionError) [RequiredError](/ad-manager/api/reference/v202502/CustomFieldService.RequiredError) [ServerError](/ad-manager/api/reference/v202502/CustomFieldService.ServerError) [StatementError](/ad-manager/api/reference/v202502/CustomFieldService.StatementError) [StringFormatError](/ad-manager/api/reference/v202502/CustomFieldService.StringFormatError) [StringLengthError](/ad-manager/api/reference/v202502/CustomFieldService.StringLengthError) [TypeError](/ad-manager/api/reference/v202502/CustomFieldService.TypeError) [UniqueError](/ad-manager/api/reference/v202502/CustomFieldService.UniqueError)\n\nErrors specific to editing custom fields\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Field ----- ||\n|-------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **`ApiError` (inherited)** ||\n| ### `fieldPath` | ` `xsd:`string` The OGNL field path to identify cause of error. |\n| ### `fieldPathElements` | ` `[FieldPathElement](/ad-manager/api/reference/v202502/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)}. |\n| ### `trigger` | ` `xsd:`string` The data that caused the error. |\n| ### `errorString` | ` `xsd:`string` A simple string representation of the error and reason. |\n| **`CustomFieldError`** ||\n| ### `reason` | ` `[CustomFieldError.Reason](/ad-manager/api/reference/v202502/CustomFieldService.CustomFieldError.Reason)` ` The error reason represented by an enum. *** ** * ** *** **Enumerations** `INVALID_CUSTOM_FIELD_FOR_OPTION` : An attempt was made to create a [CustomFieldOption](/ad-manager/api/reference/v202502/CustomFieldService.CustomFieldOption) for a [CustomField](/ad-manager/api/reference/v202502/CustomFieldService.CustomField) that does not have [CustomFieldDataType.DROPDOWN](/ad-manager/api/reference/v202502/CustomFieldService.CustomFieldDataType#DROPDOWN). `UNKNOWN` : The value returned if the actual value is not exposed by the requested API version. \u003cbr /\u003e |"]]