Register for one of our Google Ads API Migration Workshops (October 5, 2021 - October 14, 2021)

GoogleAdsFieldDataType

These are the various types a GoogleAdsService artifact may take on.

Enums

UNSPECIFIED

Unspecified

UNKNOWN

Unknown

BOOLEAN

Maps to google.protobuf.BoolValue

Applicable operators: =, !=

DATE

Maps to google.protobuf.StringValue. It can be compared using the set of operators specific to dates however.

Applicable operators: =, <, >, <=, >=, BETWEEN, DURING, and IN

DOUBLE

Maps to google.protobuf.DoubleValue

Applicable operators: =, !=, <, >, IN, NOT IN

ENUM

Maps to an enum. It's specific definition can be found at type_url.

Applicable operators: =, !=, IN, NOT IN

FLOAT

Maps to google.protobuf.FloatValue

Applicable operators: =, !=, <, >, IN, NOT IN

INT32

Maps to google.protobuf.Int32Value

Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN

INT64

Maps to google.protobuf.Int64Value

Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN

MESSAGE

Maps to a protocol buffer message type. The data type's details can be found in type_url.

No operators work with MESSAGE fields.

RESOURCE_NAME

Maps to google.protobuf.StringValue. Represents the resource name (unique id) of a resource or one of its foreign keys.

No operators work with RESOURCE_NAME fields.

STRING

Maps to google.protobuf.StringValue.

Applicable operators: =, !=, LIKE, NOT LIKE, IN, NOT IN

UINT64

Maps to google.protobuf.UInt64Value

Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN