enum CustomFieldError.Reason (v202508)
Stay organized with collections
Save and categorize content based on your preferences.
Service
CustomFieldService
The reasons for the target error.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202508
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 CustomFieldError.Reason (v202508)\n\n**Service** \n**CustomFieldService** **Dependencies** \n[CustomFieldError](/ad-manager/api/reference/v202508/CustomFieldService.CustomFieldError) \n▼\n**CustomFieldError.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| `INVALID_CUSTOM_FIELD_FOR_OPTION` | An attempt was made to create a [CustomFieldOption](/ad-manager/api/reference/v202508/CustomFieldService.CustomFieldOption) for a [CustomField](/ad-manager/api/reference/v202508/CustomFieldService.CustomField) that does not have [CustomFieldDataType.DROPDOWN](/ad-manager/api/reference/v202508/CustomFieldService.CustomFieldDataType#DROPDOWN). |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]