type CustomFieldValue (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
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-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003e\u003ccode\u003eCustomFieldValue\u003c/code\u003e represents the value of a \u003ccode\u003eCustomField\u003c/code\u003e when its data type is not \u003ccode\u003eDROP_DOWN\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from \u003ccode\u003eBaseCustomFieldValue\u003c/code\u003e which contains the ID of the associated \u003ccode\u003eCustomField\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003evalue\u003c/code\u003e field stores the actual custom field value and its type depends on the \u003ccode\u003eCustomField\u003c/code\u003e's data type (e.g., \u003ccode\u003eTextValue\u003c/code\u003e for \u003ccode\u003eSTRING\u003c/code\u003e, \u003ccode\u003eNumberValue\u003c/code\u003e for \u003ccode\u003eNUMBER\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eSupported data types for \u003ccode\u003eCustomFieldValue\u003c/code\u003e include \u003ccode\u003eSTRING\u003c/code\u003e, \u003ccode\u003eNUMBER\u003c/code\u003e, and \u003ccode\u003eTOGGLE\u003c/code\u003e, each mapping to a specific \u003ccode\u003eValue\u003c/code\u003e type.\u003c/p\u003e\n"]]],["This content defines the `CustomFieldValue` and `BaseCustomFieldValue` within the Google Ad Manager API. `CustomFieldValue` represents a value for a `CustomField` that is not a dropdown type. It includes a `value` property, which can be one of several types: `ObjectValue`, `BooleanValue`, `DateTimeValue`, etc. The `BaseCustomFieldValue` is inherited and requires a `customFieldId`. The namespace for these services is `https://www.google.com/apis/ads/publisher/v202411`. It presents the relationship between `CustomFieldDataType` and `Value` type.\n"],null,[]]