GoogleAdsFieldDataType
Stay organized with collections
Save and categorize content based on your preferences.
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 |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-07 UTC.
[null,null,["Last updated 2025-08-07 UTC."],[],[],null,["# GoogleAdsFieldDataType\n\nThese are the various types a GoogleAdsService artifact may take on.\n\n| Enums ||\n|---------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### `UNSPECIFIED` | Unspecified |\n| ### `UNKNOWN` | Unknown |\n| ### `BOOLEAN` | Maps to google.protobuf.BoolValue Applicable operators: =, != |\n| ### `DATE` | Maps to google.protobuf.StringValue. It can be compared using the set of operators specific to dates however. Applicable operators: =, \\\u003c, \\\u003e, \\\u003c=, \\\u003e=, BETWEEN, DURING, and IN |\n| ### `DOUBLE` | Maps to google.protobuf.DoubleValue Applicable operators: =, !=, \\\u003c, \\\u003e, IN, NOT IN |\n| ### `ENUM` | Maps to an enum. It's specific definition can be found at type_url. Applicable operators: =, !=, IN, NOT IN |\n| ### `FLOAT` | Maps to google.protobuf.FloatValue Applicable operators: =, !=, \\\u003c, \\\u003e, IN, NOT IN |\n| ### `INT32` | Maps to google.protobuf.Int32Value Applicable operators: =, !=, \\\u003c, \\\u003e, \\\u003c=, \\\u003e=, BETWEEN, IN, NOT IN |\n| ### `INT64` | Maps to google.protobuf.Int64Value Applicable operators: =, !=, \\\u003c, \\\u003e, \\\u003c=, \\\u003e=, BETWEEN, IN, NOT IN |\n| ### `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. |\n| ### `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. |\n| ### `STRING` | Maps to google.protobuf.StringValue. Applicable operators: =, !=, LIKE, NOT LIKE, IN, NOT IN |\n| ### `UINT64` | Maps to google.protobuf.UInt64Value Applicable operators: =, !=, \\\u003c, \\\u003e, \\\u003c=, \\\u003e=, BETWEEN, IN, NOT IN |"]]