试用 Google Analytics 的 MCP 服务器。从
GitHub 安装,并参阅
公告了解详情。
DimensionHeader
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eThis document explains how dimension columns are represented in reports, appearing as entries within rows and DimensionHeaders when requested.\u003c/p\u003e\n"],["\u003cp\u003eDimensions used only in filters or expressions do not generate columns or headers in the report.\u003c/p\u003e\n"],["\u003cp\u003eThe JSON representation of a dimension column includes a "name" field, which is a string containing the 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. |"]]