type CustomFieldValue (v202508)

  • CustomFieldValue represents the value of a CustomField that does not have a CustomField.dataType of CustomFieldDataType.DROP_DOWN.

  • This object is used in various services including CreativeService, ForecastService, LineItemService, OrderService, ProposalLineItemService, and ProposalService.

  • CustomFieldValue inherits from BaseCustomFieldValue, which includes the required customFieldId attribute.

  • The value field for CustomFieldValue can be of various Value types, determined by the CustomField's data type.

  • The appropriate Value type for CustomFieldValue corresponds to the CustomFieldDataType, such as TextValue for STRING and NumberValue for NUMBER.

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


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

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