Page Summary
-
CustomFieldValue represents the value of a CustomField that does not have a DROP_DOWN data type.
-
This value is defined within the
https://www.google.com/apis/ads/publisher/v202502namespace. -
The CustomFieldValue includes the inherited
customFieldIdfromBaseCustomFieldValue, which is the required ID of the associated CustomField. -
The
valuefield holds the actual value, whose type depends on the CustomField's data type, mapping to various Value types like TextValue, NumberValue, or BooleanValue.
The value of a CustomField that does not have a CustomField.dataType of CustomFieldDataType.DROP_DOWN .
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
Field
BaseCustomFieldValue
(inherited) customFieldId
xsd:
long
Id of the CustomField
to which this value belongs. This attribute is required.
CustomFieldValue
value
The value for this field. The appropriate type of Value
is determined by the CustomField.dataType
of the CustomField
that this conforms to.
| CustomFieldDataType | Value type |
|---|---|
| STRING | TextValue |
| NUMBER | NumberValue |
| TOGGLE | BooleanValue |

