Interested in sharing your feedback about the Google Ads API?
Sign up to be invited to participate in user research!
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 2024-10-12 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-12 UTC."],[[["Google Ads Service artifacts can be represented by various data types including Boolean, Date, Double, Enum, Float, Int32, Int64, Message, Resource Name, String, and UInt64."],["Each data type maps to a specific Google Protocol Buffer type, determining its properties and behavior."],["Most data types support comparison operators like '=', '!=', '\u003c', '\u003e', '\u003c=', '\u003e=', however, operators' applicability varies based on the specific data type."],["'MESSAGE' and 'RESOURCE_NAME' data types have specific characteristics and do not work with comparison operators."],["The 'type_url' provides further information about the structure and definition of specific data types like 'ENUM' and 'MESSAGE'."]]],["GoogleAdsService artifacts have various types, including `BOOLEAN`, `DATE`, `DOUBLE`, `ENUM`, `FLOAT`, `INT32`, `INT64`, `MESSAGE`, `RESOURCE_NAME`, `STRING`, and `UINT64`. Each type maps to a specific protocol buffer value. Certain types support operators like `=`, `!=`, `\u003c`, `\u003e`, `\u003c=`, `\u003e=`, `BETWEEN`, `DURING`, `IN`, `NOT IN`, `LIKE`, and `NOT LIKE`, while `MESSAGE` and `RESOURCE_NAME` types do not support any operators.\n"]]