AI-generated Key Takeaways
-
The CustomFieldDataType enumeration defines the allowed data types for CustomField objects in Google Ad Manager.
-
These data types include STRING, NUMBER, TOGGLE, DROP_DOWN, and UNKNOWN, each with specific characteristics and limitations.
-
A CustomField with the data type DROP_DOWN uses CustomFieldOption object IDs for its values.
-
The UNKNOWN data type is returned when the actual value is not available in the requested API version.
The data types allowed for CustomField objects.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
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. |
DROP_DOWN
|
A drop-down field. Values may only be the ids of CustomFieldOption objects. |
UNKNOWN
|
The value returned if the actual value is not exposed by the requested API version. |