試用 Google Analytics 的 MCP 伺服器。從
GitHub 安裝,詳情請參閱
公告。
DimensionHeader
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\u003cp\u003eThis document explains dimension columns in reports, which are generated from requested dimensions and appear as entries within rows and DimensionHeaders.\u003c/p\u003e\n"],["\u003cp\u003eDimensions used solely in filters or expressions do not result in report columns or headers.\u003c/p\u003e\n"],["\u003cp\u003eA JSON representation with the field "name" (string) is used to define a dimension's name.\u003c/p\u003e\n"]]],["A dimension column in a report is defined by its `name` (a string). Dimensions included in the report's request generate column entries and DimensionHeaders. Dimensions only used in filters or expressions don't create report columns or headers. The JSON representation of a dimension is a single object with the `\"name\"` field.\n"],null,["# DimensionHeader\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nDescribes a dimension column in the report. Dimensions requested in a report produce column entries within rows and DimensionHeaders. However, dimensions used exclusively within filters or expressions do not produce columns in a report; correspondingly, those dimensions do not produce headers.\n\n| JSON representation |\n|----------------------------|\n| ``` { \"name\": string } ``` |\n\n| Fields ||\n|--------|--------------------------------|\n| `name` | `string` The dimension's name. |"]]