AI-generated Key Takeaways
-
ReportRow objects represent a single row of data in a report, containing both dimension and metric values.
-
dimensionValues
is a map holding dimension data, with keys corresponding to dimension names and values being DimensionValue objects. -
metricValues
is a map containing metric data, with keys as metric names and values as MetricValue objects, noting that metrics without values are excluded. -
DimensionValue objects provide the raw
value
and a potentially localizeddisplayLabel
for each dimension. -
MetricValue objects hold the actual metric value, which can be represented as an integer (
integerValue
), a double (doubleValue
), or a micros value (microsValue
).
A row of the returning report.
JSON representation |
---|
{ "dimensionValues": { string: { object ( |
Fields | |
---|---|
dimensionValues |
Map of dimension values in a row, with keys as enum name of the dimensions. An object containing a list of |
metricValues |
Map of metric values in a row, with keys as enum name of the metrics. If a metric being requested has no value returned, the map will not include it. An object containing a list of |
DimensionValue
Representation of a dimension value.
JSON representation |
---|
{ "value": string, "displayLabel": string } |
Fields | |
---|---|
value |
Dimension value in the format specified in the report's spec Dimension enum. |
displayLabel |
The localized string representation of the value. If unspecified, the display label should be derived from the value. |
MetricValue
Representation of a metric value.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field value . Metric value in the format specified in the report's spec Metric enum name. value can be only one of the following: |
|
integerValue |
Metric integer value. |
doubleValue |
Double precision (approximate) decimal values. Rates are from 0 to 1. |
microsValue |
Amount in micros. One million is equivalent to one unit. Currency value is in the unit (USD, EUR or other) specified by the request. For example, $6.50 whould be represented as 6500000 micros. |