DimensionMetadata

说明一个维度。

JSON 表示法
{
  "apiName": string,
  "uiName": string,
  "description": string,
  "deprecatedApiNames": [
    string
  ],
  "customDefinition": boolean,
  "category": string
}
字段
apiName

string

此维度的名称。可在 Dimensionname 中使用。例如 eventName

uiName

string

此维度在 Google Analytics(分析)界面中的名称。例如 Event name

description

string

有关如何使用此维度和计算此维度的说明。

deprecatedApiNames[]

string

此维度的名称仍然可用,但已被废弃。如果填充了此维度,则 apiNamedeprecatedApiNames 中的一个可以在一段时间内使用此维度。弃用期结束后,该维度仅可在 apiName之前使用。

customDefinition

boolean

如果该维度是此属性的自定义维度,则为“true”。其中包括用户级、事件级和商品级范围的自定义维度;要详细了解自定义维度,请参阅 https://support.google.com/analytics/answer/14240153。其中还包括自定义渠道组;要详细了解自定义渠道组,请参阅 https://support.google.com/analytics/answer/13051316

category

string

此维度所属类别的显示名称。类似的维度和指标会归到一起。