Try the MCP server for Google Analytics. Install from
GitHub , and see the
announcement for more details.
DimensionValue
Stay organized with collections
Save and categorize content based on your preferences.
outlined_flag
This documentation describes the JSON representation of a dimension's value within a data structure.
A dimension value can be represented as a string, indicated by the "value" field in the JSON object.
The "one_value" field acts as a union, accepting only one type of value, which in this case is the string representation of the dimension.
The value of a dimension.
JSON representation
{
// Union field one_value
can be only one of the following:
"value" : string
// End of list of possible types for union field one_value
.
}
Fields
Union field one_value
. One kind of dimension value one_value
can be only one of the following:
value
string
Value as a string if the dimension type is a string.
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-10-09 UTC.
[null,null,["Last updated 2024-10-09 UTC."],[],["The document describes a dimension value represented in JSON. A dimension value uses a union field called `one_value`. This field can only contain a single value, which is a string. The string value is stored in the field named `value`, and this field is used when the dimension type is explicitly a string.\n"]]