Wypróbuj serwer MCP w Google Analytics. Zainstaluj go z
GitHub. Więcej informacji znajdziesz w
ogłoszeniu.
RunReportResponse
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Tabela raportu z odpowiedzią odpowiadająca żądaniu.
Zapis JSON |
{
"dimensionHeaders": [
{
object (DimensionHeader )
}
],
"metricHeaders": [
{
object (MetricHeader )
}
],
"rows": [
{
object (Row )
}
],
"totals": [
{
object (Row )
}
],
"maximums": [
{
object (Row )
}
],
"minimums": [
{
object (Row )
}
],
"rowCount": integer,
"metadata": {
object (ResponseMetaData )
},
"propertyQuota": {
object (PropertyQuota )
},
"kind": string
} |
Pola |
rows[] |
object (Row )
wiersze z kombinacjami wartości wymiarów i wartości danych w raporcie.
|
totals[] |
object (Row )
W razie potrzeby łączne wartości danych.
|
maximums[] |
object (Row )
W razie potrzeby maksymalne wartości danych.
|
minimums[] |
object (Row )
W razie potrzeby minimalne wartości danych.
|
rowCount |
integer
Łączna liczba wierszy w wyniku zapytania. rowCount jest niezależny od liczby wierszy zwróconych w odpowiedzi, parametru żądania limit i parametru żądania offset . Jeśli np. zapytanie zwraca 175 wierszy i zawiera limit o długości 50 w żądaniu do interfejsu API, odpowiedź będzie zawierać rowCount o długości 175, ale tylko 50 wierszy. Więcej informacji o tym parametrze podziału znajdziesz w sekcji Podział na strony.
|
metadata |
object (ResponseMetaData )
Metadane raportu.
|
propertyQuota |
object (PropertyQuota )
Stan limitu tej usługi w Google Analytics, w tym tej prośby.
|
kind |
string
Określa rodzaj zasobu, do którego odnosi się wiadomość. Ten ciąg znaków kind to zawsze ustalony ciąg znaków „analyticsData#runReport”. Przydaje się do rozróżniania typów odpowiedzi w formacie JSON.
|
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: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[[["\u003cp\u003eThe JSON response for a report request includes dimension and metric headers, rows of data, and optional totals, maximums, and minimums.\u003c/p\u003e\n"],["\u003cp\u003eThe response also provides metadata, property quota information, and the total row count, which may exceed the number of rows returned due to pagination.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003edimensionHeaders\u003c/code\u003e and \u003ccode\u003emetricHeaders\u003c/code\u003e describe the columns, while \u003ccode\u003erows\u003c/code\u003e contain the actual data values for each dimension-metric combination.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003erowCount\u003c/code\u003e represents the total rows in the query result, independent of pagination limits, and \u003ccode\u003emetadata\u003c/code\u003e offers additional context about the report.\u003c/p\u003e\n"]]],["The report response contains a JSON representation with various fields. It includes `dimensionHeaders` and `metricHeaders` which describe the columns and their order in the report's rows. The `rows` field contains the actual data. Additionally, `totals`, `maximums`, and `minimums` can present aggregated metric values. `rowCount` provides the total rows, independent of pagination. `metadata` offers report details, `propertyQuota` shows quota state, and `kind` specifies the resource type as \"analyticsData#runReport\".\n"],null,["# RunReportResponse\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nThe response report table corresponding to a request.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"dimensionHeaders\": [ { object (/analytics/devguides/reporting/data/v1/rest/v1beta/DimensionHeader) } ], \"metricHeaders\": [ { object (/analytics/devguides/reporting/data/v1/rest/v1beta/MetricHeader) } ], \"rows\": [ { object (/analytics/devguides/reporting/data/v1/rest/v1beta/Row) } ], \"totals\": [ { object (/analytics/devguides/reporting/data/v1/rest/v1beta/Row) } ], \"maximums\": [ { object (/analytics/devguides/reporting/data/v1/rest/v1beta/Row) } ], \"minimums\": [ { object (/analytics/devguides/reporting/data/v1/rest/v1beta/Row) } ], \"rowCount\": integer, \"metadata\": { object (/analytics/devguides/reporting/data/v1/rest/v1beta/ResponseMetaData) }, \"propertyQuota\": { object (/analytics/devguides/reporting/data/v1/rest/v1beta/PropertyQuota) }, \"kind\": string } ``` |\n\n| Fields ||\n|------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `dimension``Headers[]` | `object (`[DimensionHeader](/analytics/devguides/reporting/data/v1/rest/v1beta/DimensionHeader)`)` Describes dimension columns. The number of DimensionHeaders and ordering of DimensionHeaders matches the dimensions present in rows. |\n| `metric``Headers[]` | `object (`[MetricHeader](/analytics/devguides/reporting/data/v1/rest/v1beta/MetricHeader)`)` Describes metric columns. The number of MetricHeaders and ordering of MetricHeaders matches the metrics present in rows. |\n| `rows[]` | `object (`[Row](/analytics/devguides/reporting/data/v1/rest/v1beta/Row)`)` Rows of dimension value combinations and metric values in the report. |\n| `totals[]` | `object (`[Row](/analytics/devguides/reporting/data/v1/rest/v1beta/Row)`)` If requested, the totaled values of metrics. |\n| `maximums[]` | `object (`[Row](/analytics/devguides/reporting/data/v1/rest/v1beta/Row)`)` If requested, the maximum values of metrics. |\n| `minimums[]` | `object (`[Row](/analytics/devguides/reporting/data/v1/rest/v1beta/Row)`)` If requested, the minimum values of metrics. |\n| `row``Count` | `integer` The total number of rows in the query result. `rowCount` is independent of the number of rows returned in the response, the `limit` request parameter, and the `offset` request parameter. For example if a query returns 175 rows and includes `limit` of 50 in the API request, the response will contain `rowCount` of 175 but only 50 rows. To learn more about this pagination parameter, see [Pagination](https://developers.google.com/analytics/devguides/reporting/data/v1/basics#pagination). |\n| `metadata` | `object (`[ResponseMetaData](/analytics/devguides/reporting/data/v1/rest/v1beta/ResponseMetaData)`)` Metadata for the report. |\n| `property``Quota` | `object (`[PropertyQuota](/analytics/devguides/reporting/data/v1/rest/v1beta/PropertyQuota)`)` This Google Analytics property's quota state including this request. |\n| `kind` | `string` Identifies what kind of resource this message is. This `kind` is always the fixed string \"analyticsData#runReport\". Useful to distinguish between response types in JSON. |"]]