试用 Google Analytics 的 MCP 服务器。从
GitHub 安装,并参阅
公告了解详情。
RunReportResponse
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
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
} |
字段 |
rows[] |
object (Row )
报告中包含维度值组合和指标值的行。
|
totals[] |
object (Row )
如果请求,则指标的总计值。
|
maximums[] |
object (Row )
如果请求,则指标的最大值。
|
minimums[] |
object (Row )
指标的最小值(如果有)。
|
rowCount |
integer
查询结果中的总行数。rowCount 与响应中返回的行数、limit 请求参数和 offset 请求参数无关。例如,如果某个查询返回 175 行,并在 API 请求中包含 limit (50),则响应将包含 rowCount (175),但只有 50 行。 如需详细了解此分页参数,请参阅分页。
|
metadata |
object (ResponseMetaData )
报告的元数据。
|
propertyQuota |
object (PropertyQuota )
此 Google Analytics 媒体资源的配额状态,包括此请求。
|
kind |
string
用于标识此消息的资源类型。此 kind 始终为固定字符串“analyticsData#runReport”。有助于区分 JSON 中的响应类型。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\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. |"]]