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 custom field that doesn't use a drop-down data type.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from \u003ccode\u003eBaseCustomFieldValue\u003c/code\u003e which provides the \u003ccode\u003ecustomFieldId\u003c/code\u003e to link it to a specific custom field.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003evalue\u003c/code\u003e field stores the actual custom field value, with its type varying depending on the custom field's data type (e.g., text, number, boolean).\u003c/p\u003e\n"],["\u003cp\u003eSpecific value types like \u003ccode\u003eTextValue\u003c/code\u003e, \u003ccode\u003eNumberValue\u003c/code\u003e, and \u003ccode\u003eBooleanValue\u003c/code\u003e are used to represent different data types within the \u003ccode\u003evalue\u003c/code\u003e field.\u003c/p\u003e\n"],["\u003cp\u003eThis structure is used within various services like CreativeService, ForecastService, LineItemService, OrderService, ProposalLineItemService, and ProposalService to manage custom field values.\u003c/p\u003e\n"]]],["The core content details the `CustomFieldValue` within the specified namespace. It inherits from `BaseCustomFieldValue`, which requires a `customFieldId`. `CustomFieldValue` represents a value for a `CustomField`, excluding those of `DROP_DOWN` type. The `value` field can be one of several types, including `TextValue`, `NumberValue`, or `BooleanValue`, and its type depends on the `CustomField.dataType`. Different types have been provided including STRING, NUMBER and TOGGLE. It is found in several services including `CreativeService` and `ForecastService`.\n"],null,[]]