type CustomFieldValue (v202411)

  • CustomFieldValue objects represent the values of custom fields that don't use a drop-down data type.

  • These objects store the ID of the associated custom field (customFieldId) and the actual value (value).

  • The value field's type depends on the custom field's data type, such as text, number, or boolean.

  • They inherit from BaseCustomFieldValue and are used in services like ProposalService, LineItemService, and others.

  • Several services utilize CustomFieldValue to manage custom field data for their respective entities.

The value of a CustomField that does not have a CustomField.dataType of CustomFieldDataType.DROP_DOWN.


Namespace
https://www.google.com/apis/ads/publisher/v202411

Field

BaseCustomFieldValue (inherited)

customFieldId

xsd:long

Id of the CustomField to which this value belongs. This attribute is required.

CustomFieldValue

value

  1. Value
    1. ObjectValue
    2. BooleanValue
    3. DateTimeValue
    4. DateValue
    5. NumberValue
    6. SetValue
    7. TextValue

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