Wypróbuj serwer MCP w Google Analytics. Zainstaluj go z
GitHub. Więcej informacji znajdziesz w
ogłoszeniu.
Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
Row
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Dane raportu dla każdego wiersza. Na przykład jeśli RunReportRequest zawiera:
"dimensions": [
{
"name": "eventName"
},
{
"name": "countryId"
}
],
"metrics": [
{
"name": "eventCount"
}
]
1 wiersz z wartością „in_app_purchase” jako nazwę zdarzenia, „JP” jako countryId, a wartość 15 jako parametr eventCount to:
"dimensionValues": [
{
"value": "in_app_purchase"
},
{
"value": "JP"
}
],
"metricValues": [
{
"value": "15"
}
]
| Pola |
dimensionValues[] |
object (DimensionValue)
Lista żądanych wartości wymiarów. W raporcie przestawnym wartości wymiarValues są podane tylko dla wymiarów uwzględnionych w tabeli przestawnej.
|
metricValues[] |
object (MetricValue)
Lista żądanych wartości widocznych danych.
|
MetricValue
| Zapis JSON |
{
// Union field one_value can be only one of the following:
"value": string
// End of list of possible types for union field one_value.
} |
| Pola |
Pole sumy one_value. Jedna z tych wartości danych one_value może być tylko jedną z tych wartości: |
value |
string
Wartość pomiaru. Typ znajdziesz w sekcji MetricHeader.
|
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2026-04-23 UTC.
[null,null,["Ostatnia aktualizacja: 2026-04-23 UTC."],[],["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"]]