This dimension's name. Useable in Dimension's name. For example, eventName.
uiName
string
This dimension's name within the Google Analytics user interface. For example, Event name.
description
string
Description of how this dimension is used and calculated.
deprecatedApiNames[]
string
Still usable but deprecated names for this dimension. If populated, this dimension is available by either apiName or one of deprecatedApiNames for a period of time. After the deprecation period, the dimension will be available only by apiName.
A metric name. Useable in Metric's name. For example, eventCount.
uiName
string
This metric's name within the Google Analytics user interface. For example, Event count.
description
string
Description of how this metric is used and calculated.
deprecatedApiNames[]
string
Still usable but deprecated names for this metric. If populated, this metric is available by either apiName or one of deprecatedApiNames for a period of time. After the deprecation period, the metric will be available only by apiName.
The mathematical expression for this derived metric. Can be used in Metric's expression field for equivalent reports. Most metrics are not expressions, and for non-expressions, this field is empty.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-09 UTC."],[[["\u003cp\u003eThis document outlines the accepted dimensions and metrics for reporting methods, providing their JSON representations and field descriptions.\u003c/p\u003e\n"],["\u003cp\u003eDimensionMetadata provides details about a dimension, including its API name, UI name, description, and any deprecated API names.\u003c/p\u003e\n"],["\u003cp\u003eMetricMetadata provides details about a metric, including its API name, UI name, description, deprecated API names, type, and mathematical expression (if applicable).\u003c/p\u003e\n"],["\u003cp\u003eThese metadata elements allow users to understand and utilize dimensions and metrics effectively within the Google Analytics reporting system.\u003c/p\u003e\n"]]],["The provided content details the structure and properties of metadata for dimensions and metrics used in reporting methods. It defines JSON representations for `DimensionMetadata` and `MetricMetadata`, including fields like `apiName`, `uiName`, `description`, and `deprecatedApiNames`. `DimensionMetadata` describes a dimension, while `MetricMetadata` explains a metric and also includes `type` and `expression` fields. It outlines the fields used to access and manage the metadata for reports.\n"],null,["- [JSON representation](#SCHEMA_REPRESENTATION)\n- [DimensionMetadata](#DimensionMetadata)\n - [JSON representation](#DimensionMetadata.SCHEMA_REPRESENTATION)\n- [MetricMetadata](#MetricMetadata)\n - [JSON representation](#MetricMetadata.SCHEMA_REPRESENTATION)\n\nThe dimensions and metrics currently accepted in reporting methods.\n\n| JSON representation ||\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"name\": string, \"dimensions\": [ { object (/analytics/devguides/reporting/data/v1/rest/v1alpha/Metadata#DimensionMetadata) } ], \"metrics\": [ { object (/analytics/devguides/reporting/data/v1/rest/v1alpha/Metadata#MetricMetadata) } ] } ``` |\n\n| Fields ||\n|----------------|-----------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Resource name of this metadata. |\n| `dimensions[]` | `object (`[DimensionMetadata](/analytics/devguides/reporting/data/v1/rest/v1alpha/Metadata#DimensionMetadata)`)` The dimensions descriptions. |\n| `metrics[]` | `object (`[MetricMetadata](/analytics/devguides/reporting/data/v1/rest/v1alpha/Metadata#MetricMetadata)`)` The metric descriptions. |\n\nDimensionMetadata Explains a dimension.\n\n| JSON representation ||\n|----------------------------------------------------------------------------------------------------------|---|\n| ``` { \"apiName\": string, \"uiName\": string, \"description\": string, \"deprecatedApiNames\": [ string ] } ``` |\n\n| Fields ||\n|------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `apiName` | `string` This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For example, `eventName`. |\n| `uiName` | `string` This dimension's name within the Google Analytics user interface. For example, `Event name`. |\n| `description` | `string` Description of how this dimension is used and calculated. |\n| `deprecatedApiNames[]` | `string` Still usable but deprecated names for this dimension. If populated, this dimension is available by either `apiName` or one of `deprecatedApiNames` for a period of time. After the deprecation period, the dimension will be available only by `apiName`. |\n\nMetricMetadata Explains a metric.\n\n| JSON representation ||\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"apiName\": string, \"uiName\": string, \"description\": string, \"deprecatedApiNames\": [ string ], \"type\": enum (/analytics/devguides/reporting/data/v1/rest/v1alpha/MetricType), \"expression\": string } ``` |\n\n| Fields ||\n|------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `apiName` | `string` A metric name. Useable in [Metric](#Metric)'s `name`. For example, `eventCount`. |\n| `uiName` | `string` This metric's name within the Google Analytics user interface. For example, `Event count`. |\n| `description` | `string` Description of how this metric is used and calculated. |\n| `deprecatedApiNames[]` | `string` Still usable but deprecated names for this metric. If populated, this metric is available by either `apiName` or one of `deprecatedApiNames` for a period of time. After the deprecation period, the metric will be available only by `apiName`. |\n| `type` | `enum (`[MetricType](/analytics/devguides/reporting/data/v1/rest/v1alpha/MetricType)`)` The type of this metric. |\n| `expression` | `string` The mathematical expression for this derived metric. Can be used in [Metric](#Metric)'s `expression` field for equivalent reports. Most metrics are not expressions, and for non-expressions, this field is empty. |"]]