試用 Google Analytics 的 MCP 伺服器。從
GitHub 安裝,詳情請參閱
公告。
AccessDimension
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
維度是資料的屬性。舉例來說,userEmail
維度代表存取報表資料的使用者電子郵件。報表回應中的維度值是字串。
JSON 表示法 |
{
"dimensionName": string
} |
欄位 |
dimensionName |
string
維度的 API 名稱。如需此 API 支援的維度清單,請參閱資料存取架構。 維度已在 dimensionFilter 和 orderBys 中依名稱參照。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\u003cp\u003eDimensions are attributes of your data, like \u003ccode\u003euserEmail\u003c/code\u003e indicating the user's email.\u003c/p\u003e\n"],["\u003cp\u003eDimension values in report responses are strings and represented in JSON format with the structure \u003ccode\u003e{"dimensionName": string}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003edimensionName\u003c/code\u003e is a string field representing the API name of the dimension, which can be found in the Data Access Schema.\u003c/p\u003e\n"],["\u003cp\u003eDimensions are used in \u003ccode\u003edimensionFilter\u003c/code\u003e and \u003ccode\u003eorderBys\u003c/code\u003e by referencing their names.\u003c/p\u003e\n"]]],["The core content defines dimensions as attributes of data, using `userEmail` as an example. Dimension values are strings. The JSON representation of a dimension is `{ \"dimensionName\": string }`. The `dimensionName` field, a string, specifies the API name of the dimension. A list of supported dimensions can be found in the Data Access Schema. Dimensions are referenced by name in `dimensionFilter` and `orderBys`.\n"],null,["# AccessDimension\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nDimensions are attributes of your data. For example, the dimension `userEmail` indicates the email of the user that accessed reporting data. Dimension values in report responses are strings.\n\n| JSON representation |\n|-------------------------------------|\n| ``` { \"dimensionName\": string } ``` |\n\n| Fields ||\n|-----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `dimensionName` | `string` The API name of the dimension. See [Data Access Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) for the list of dimensions supported in this API. Dimensions are referenced by name in `dimensionFilter` and `orderBys`. |"]]