Google Ads Ad Manager V1 Client - Class CustomFieldDataType (0.1.2)

Reference documentation and code samples for the Google Ads Ad Manager V1 Client class CustomFieldDataType.

The data type for a CustomField.

Protobuf type google.ads.admanager.v1.CustomFieldDataTypeEnum.CustomFieldDataType

Namespace

Google \ Ads \ AdManager \ V1 \ CustomFieldDataTypeEnum

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

CUSTOM_FIELD_DATA_TYPE_UNSPECIFIED

Value: 0

No value specified

Generated from protobuf enum CUSTOM_FIELD_DATA_TYPE_UNSPECIFIED = 0;

STRING

Value: 1

A string field The max length is 255 characters.

Generated from protobuf enum STRING = 1;

NUMBER

Value: 2

A number field.

Generated from protobuf enum NUMBER = 2;

TOGGLE

Value: 3

A "Yes" or "No" toggle field.

Generated from protobuf enum TOGGLE = 3;

DROP_DOWN

Value: 4

A drop-down field.

Generated from protobuf enum DROP_DOWN = 4;