type CustomFieldValue (v202408)
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 a customFieldId to link it to the relevant CustomField.\u003c/p\u003e\n"],["\u003cp\u003eThe 'value' field stores the actual custom field value and can be of various types like TextValue, NumberValue, BooleanValue, etc., depending on the CustomField's dataType.\u003c/p\u003e\n"],["\u003cp\u003eThe appropriate Value type for the 'value' field is determined by the corresponding CustomField's dataType, ensuring data consistency.\u003c/p\u003e\n"],["\u003cp\u003eThis structure is used within various Google Ad Manager services like LineItemService, ForecastService, and OrderService to manage custom field values.\u003c/p\u003e\n"]]],["The document details `CustomFieldValue`, a data structure for storing values of custom fields, excluding those with a `DROP_DOWN` data type. Key information includes the required `customFieldId`, referencing the associated `CustomField`, and the `value` field. The `value` can be of various types (`Value`, `ObjectValue`, etc.) depending on the `CustomField.dataType`. Specific mappings between `CustomFieldDataType` (like `STRING`, `NUMBER`, `TOGGLE`) and their corresponding `Value` types are outlined. The document also defines the API services which are `CreativeService`, `ForecastService`, `LineItemService`, `OrderService`, `ProposalLineItemService` and `ProposalService`.\n"],null,[]]