試用 Google Analytics 的 MCP 伺服器。從
GitHub 安裝,詳情請參閱
公告。
AccessMetric
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
報表的量化測量資料。舉例來說,accessCount
指標是資料存取記錄的總數量。
JSON 表示法 |
{
"metricName": string
} |
欄位 |
metricName |
string
指標的 API 名稱。如需這個 API 支援的指標清單,請參閱資料存取架構。 指標在 metricFilter 和orderBys 。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\u003cp\u003eThis documentation describes the JSON representation of quantitative measurements, called metrics, within a report.\u003c/p\u003e\n"],["\u003cp\u003eMetrics, such as \u003ccode\u003eaccessCount\u003c/code\u003e, quantify aspects of data, like the total number of data access records.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003emetricName\u003c/code\u003e field within the JSON structure uses a string to identify the specific metric being used, referencing the Data Access Schema for supported options.\u003c/p\u003e\n"]]],["The content defines a JSON structure for representing quantitative report metrics. The core element is `metricName`, a string denoting the API name of a specific metric. This name corresponds to a supported metric listed in the Data Access Schema. `metricName` is crucial for filtering and ordering data, utilizing `metricFilter` and `orderBys`. The `accessCount` example illustrates a metric that measures the total data access records.\n"],null,["# AccessMetric\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nThe quantitative measurements of a report. For example, the metric `accessCount` is the total number of data access records.\n\n| JSON representation |\n|----------------------------------|\n| ``` { \"metricName\": string } ``` |\n\n| Fields ||\n|--------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `metricName` | `string` The API name of the metric. See [Data Access Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) for the list of metrics supported in this API. Metrics are referenced by name in `metricFilter` \\& `orderBys`. |"]]