enum CustomFieldDataType (v202502)

  • CustomFieldDataType defines the allowed data types for CustomField objects.

  • The available data types include STRING, NUMBER, TOGGLE, DROP_DOWN, and UNKNOWN.

  • STRING fields have a maximum length of 255 characters.

  • DROP_DOWN fields use the IDs of CustomFieldOption objects as values.

  • UNKNOWN indicates that the actual value is not exposed by the API version.

The data types allowed for CustomField objects.


Namespace
https://www.google.com/apis/ads/publisher/v202502
Enumeration Description
STRING A string field. The max length is 255 characters.
NUMBER A number field.
TOGGLE A boolean field. Values may be "true", "false", or empty.
UNKNOWN The value returned if the actual value is not exposed by the requested API version.