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\u003eCustomFieldValue represents the value of a CustomField that doesn't have a drop-down data type.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from BaseCustomFieldValue, which includes the ID of the associated CustomField.\u003c/p\u003e\n"],["\u003cp\u003eThe 'value' field stores the actual value and can be of various types like text, number, boolean, etc., depending on the CustomField's data type.\u003c/p\u003e\n"],["\u003cp\u003eThe specific Value type used for the 'value' field is determined by the corresponding CustomField's dataType property.\u003c/p\u003e\n"],["\u003cp\u003eDifferent CustomFieldDataTypes like STRING, NUMBER, and TOGGLE correspond to specific Value types like TextValue, NumberValue, and BooleanValue, respectively.\u003c/p\u003e\n"]]],["The document details the `CustomFieldValue` in the context of various services like `CreativeService`, `ForecastService`, and `LineItemService`. `CustomFieldValue`, which inherits from `BaseCustomFieldValue`, represents the value for a `CustomField`, excluding `DROP_DOWN` types. Key components include `customFieldId` (identifying the related `CustomField`) and `value`, which can take different types such as `TextValue`, `NumberValue`, or `BooleanValue`, depending on the `CustomField.dataType`. The namespace for these fields is `https://www.google.com/apis/ads/publisher/v202411`.\n"],null,[]]