type CustomFieldValue (v202408)
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 2024-08-20 UTC.
[null,null,["Last updated 2024-08-20 UTC."],[[["CustomFieldValue represents the value of a CustomField that doesn't have a drop-down data type."],["It inherits from BaseCustomFieldValue, which includes a customFieldId to link it to the relevant CustomField."],["The '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."],["The appropriate Value type for the 'value' field is determined by the corresponding CustomField's dataType, ensuring data consistency."],["This structure is used within various Google Ad Manager services like LineItemService, ForecastService, and OrderService to manage custom field values."]]],["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"]]