type CustomFieldValueError (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
Errors specific to editing custom field values
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
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.
|
CustomFieldValueError
|
reason
|
CustomFieldValueError.Reason
The error reason represented by an enum.
Enumerations
-
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-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eCustomFieldValueError\u003c/code\u003e is an error specific to editing custom field values.\u003c/p\u003e\n"],["\u003cp\u003eThis error occurs within the namespace \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202411\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCustomFieldValueError\u003c/code\u003e inherits from the \u003ccode\u003eApiError\u003c/code\u003e type, which provides general error information.\u003c/p\u003e\n"],["\u003cp\u003eIt includes a \u003ccode\u003ereason\u003c/code\u003e field that explains the cause of the error, such as a missing or inactive custom field.\u003c/p\u003e\n"],["\u003cp\u003eSeveral reasons for the \u003ccode\u003eCustomFieldValueError\u003c/code\u003e are detailed, including \u003ccode\u003eCUSTOM_FIELD_NOT_FOUND\u003c/code\u003e, \u003ccode\u003eCUSTOM_FIELD_INACTIVE\u003c/code\u003e, \u003ccode\u003eCUSTOM_FIELD_OPTION_NOT_FOUND\u003c/code\u003e, \u003ccode\u003eINVALID_ENTITY_TYPE\u003c/code\u003e, and \u003ccode\u003eUNKNOWN\u003c/code\u003e.\u003c/p\u003e\n"]]],["This content details services and error handling within an ad management API, specifically version v202411. Key services include Company, Creative, Forecast, LineItem, Order, Proposal, and User services. Error management centers around `ApiError` and its numerous inherited types, including `CustomFieldValueError`. This error type addresses issues when editing custom field values, such as `CUSTOM_FIELD_NOT_FOUND`, `CUSTOM_FIELD_INACTIVE`, `CUSTOM_FIELD_OPTION_NOT_FOUND`, `INVALID_ENTITY_TYPE` and `UNKNOWN`. Each `ApiError` describes an error with information that is inherited and used to fix the error.\n"],null,[]]