Try the MCP server for Google Analytics. Install from
GitHub, and see the
announcement for more details.
RunReportResponse
Stay organized with collections
Save and categorize content based on your preferences.
The response report table corresponding to a request.
JSON representation |
{
"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
} |
Fields |
rows[] |
object (Row )
Rows of dimension value combinations and metric values in the report.
|
totals[] |
object (Row )
If requested, the totaled values of metrics.
|
maximums[] |
object (Row )
If requested, the maximum values of metrics.
|
minimums[] |
object (Row )
If requested, the minimum values of metrics.
|
rowCount |
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.
|
metadata |
object (ResponseMetaData )
Metadata for the report.
|
propertyQuota |
object (PropertyQuota )
This Google Analytics property's quota state including this request.
|
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-19 UTC.
[null,null,["Last updated 2024-11-19 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. |"]]