Row
Daten für jede Zeile erfassen Beispiel:
"dimensions": [
{
"name": "eventName"
},
{
"name": "countryId"
}
],
"metrics": [
{
"name": "eventCount"
}
]
Eine Zeile mit „in_app_purchase“ als eventName, „JP“ als countryId und 15 als eventCount würde so aussehen:
"dimensionValues": [
{
"value": "in_app_purchase"
},
{
"value": "JP"
}
],
"metricValues": [
{
"value": "15"
}
]
Felder |
dimensionValues[] |
object (DimensionValue )
Liste der angeforderten Dimensionswerte. In einem Pivot-Bericht werden Dimensionswerte nur für Dimensionen aufgeführt, die in einem Pivot enthalten sind.
|
metricValues[] |
object (MetricValue )
Liste der angeforderten sichtbaren Messwertwerte.
|
MetricValue
Der Wert eines Messwerts.
JSON-Darstellung |
{
// Union field one_value can be only one of the following:
"value": string
// End of list of possible types for union field one_value .
} |
Felder |
Union-Feld one_value . Für den Messwert one_value ist nur einer der folgenden Werte zulässig: |
value |
string
Messwert Typ: Siehe MetricHeader.
|
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-11-22 (UTC).
[null,null,["Zuletzt aktualisiert: 2024-11-22 (UTC)."],[[["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."]]],["The document outlines data structures for reporting, using JSON. A row contains `dimensionValues` and `metricValues`. `dimensionValues` lists dimension data, while `metricValues` shows metric data. For example, with dimensions like `eventName` and `countryId`, and a metric like `eventCount`, a row might show \"in_app_purchase\" (event), \"JP\" (country), and \"15\" (count). `MetricValue` stores a metric's value as a string. A `MetricValue` can only contain one value, as specified in the union `one_value`.\n"]]