Try the MCP server for Google Analytics. Install from
GitHub, and see the
announcement for more details.
DimensionHeader
Stay organized with collections
Save and categorize content based on your preferences.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-09 UTC.
[null,null,["Last updated 2024-10-09 UTC."],[[["\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. |"]]