AI-generated Key Takeaways
-
Report data is structured in rows, with each row containing dimension values and corresponding metric values.
-
Dimension values represent categories or attributes, like 'eventName' or 'countryId', while metric values represent quantitative data, like 'eventCount'.
-
The structure of the report allows for flexible data exploration by combining different dimensions and metrics.
-
Metric values can be of various types, including but not limited to string type and are stored under the 'one_value' field as a 'value' entry.
Report data for each row. For example if RunReportRequest contains:
"dimensions": [
{
"name": "eventName"
},
{
"name": "countryId"
}
],
"metrics": [
{
"name": "eventCount"
}
]
One row with 'in_app_purchase' as the eventName, 'JP' as the countryId, and 15 as the eventCount, would be:
"dimensionValues": [
{
"value": "in_app_purchase"
},
{
"value": "JP"
}
],
"metricValues": [
{
"value": "15"
}
]
JSON representation |
---|
{ "dimensionValues": [ { object ( |
Fields | |
---|---|
dimension |
List of requested dimension values. In a PivotReport, dimensionValues are only listed for dimensions included in a pivot. |
metric |
List of requested visible metric values. |
MetricValue
The value of a metric.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field one_value . One of metric value one_value can be only one of the following: |
|
value |
Measurement value. See MetricHeader for type. |