Hãy thử máy chủ MCP cho Google Analytics. Cài đặt từ
GitHub và xem
thông báo để biết thêm thông tin chi tiết.
RunReportResponse
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Bảng báo cáo phản hồi tương ứng với một yêu cầu.
Biểu diễn dưới dạng 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
} |
Trường |
rows[] |
object (Row )
Các hàng kết hợp giá trị phương diện và giá trị chỉ số trong báo cáo.
|
totals[] |
object (Row )
Tổng giá trị của các chỉ số (nếu được yêu cầu).
|
maximums[] |
object (Row )
Giá trị tối đa của các chỉ số (nếu được yêu cầu).
|
minimums[] |
object (Row )
Giá trị tối thiểu của các chỉ số (nếu được yêu cầu).
|
rowCount |
integer
Tổng số hàng trong kết quả truy vấn. rowCount độc lập với số hàng được trả về trong phản hồi, tham số yêu cầu limit và tham số yêu cầu offset . Ví dụ: nếu một truy vấn trả về 175 hàng và bao gồm limit gồm 50 hàng trong yêu cầu API, thì phản hồi sẽ chứa rowCount gồm 175 hàng nhưng chỉ có 50 hàng. Để tìm hiểu thêm về thông số phân trang này, hãy xem phần Phân trang.
|
metadata |
object (ResponseMetaData )
Siêu dữ liệu của báo cáo.
|
propertyQuota |
object (PropertyQuota )
Trạng thái hạn mức của tài sản Google Analytics này, bao gồm cả yêu cầu này.
|
kind |
string
Xác định loại tài nguyên của thông báo này. kind này luôn là chuỗi cố định "analyticsData#runReport". Hữu ích để phân biệt các loại phản hồi trong JSON.
|
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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. |"]]