enum CustomFieldValueError.Reason (v202508)
Stay organized with collections
Save and categorize content based on your preferences.
The reasons for the target error.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202508
Enumeration |
Description |
CUSTOM_FIELD_NOT_FOUND
|
An attempt was made to modify or create a CustomFieldValue for
a CustomField that does not exist.
|
CUSTOM_FIELD_INACTIVE
|
An attempt was made to create a new value for a custom field
that is inactive.
|
CUSTOM_FIELD_OPTION_NOT_FOUND
|
An attempt was made to modify or create a CustomFieldValue corresponding
to a CustomFieldOption that could not be found.
|
INVALID_ENTITY_TYPE
|
An attempt was made to modify or create a CustomFieldValue with an
association to an entity of the wrong type for its field.
|
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-13 UTC.
[null,null,["Last updated 2025-08-13 UTC."],[],[],null,["# enum CustomFieldValueError.Reason (v202508)\n\n**Service** \n[CompanyService](/ad-manager/api/reference/v202508/CompanyService.CustomFieldValueError.Reason) **CreativeService** [CreativeSetService](/ad-manager/api/reference/v202508/CreativeSetService.CustomFieldValueError.Reason) [ForecastService](/ad-manager/api/reference/v202508/ForecastService.CustomFieldValueError.Reason) [LineItemCreativeAssociationService](/ad-manager/api/reference/v202508/LineItemCreativeAssociationService.CustomFieldValueError.Reason) [LineItemService](/ad-manager/api/reference/v202508/LineItemService.CustomFieldValueError.Reason) [LineItemTemplateService](/ad-manager/api/reference/v202508/LineItemTemplateService.CustomFieldValueError.Reason) [OrderService](/ad-manager/api/reference/v202508/OrderService.CustomFieldValueError.Reason) [ProposalLineItemService](/ad-manager/api/reference/v202508/ProposalLineItemService.CustomFieldValueError.Reason) [ProposalService](/ad-manager/api/reference/v202508/ProposalService.CustomFieldValueError.Reason) [UserService](/ad-manager/api/reference/v202508/UserService.CustomFieldValueError.Reason) **Dependencies** \n[CustomFieldValueError](/ad-manager/api/reference/v202508/CreativeService.CustomFieldValueError) \n▼\n**CustomFieldValueError.Reason**\n\nThe reasons for the target error.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202508`\n\n| Enumeration | Description |\n|---------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `CUSTOM_FIELD_NOT_FOUND` | An attempt was made to modify or create a [CustomFieldValue](/ad-manager/api/reference/v202508/CreativeService.CustomFieldValue) for a [CustomField](/ad-manager/api/reference/v202508/CustomFieldService.CustomField) that does not exist. |\n| `CUSTOM_FIELD_INACTIVE` | An attempt was made to create a new value for a custom field that is inactive. |\n| `CUSTOM_FIELD_OPTION_NOT_FOUND` | An attempt was made to modify or create a [CustomFieldValue](/ad-manager/api/reference/v202508/CreativeService.CustomFieldValue) corresponding to a [CustomFieldOption](/ad-manager/api/reference/v202508/CustomFieldService.CustomFieldOption) that could not be found. |\n| `INVALID_ENTITY_TYPE` | An attempt was made to modify or create a [CustomFieldValue](/ad-manager/api/reference/v202508/CreativeService.CustomFieldValue) with an association to an entity of the wrong type for its field. |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]