Google Analytics · Schema

ActiveMetricRestriction

A metric actively restricted in creating the report.

AnalyticsDataGoogleMetricsReportingWeb AnalyticsMachine-LearningAttribution

Properties

Name Type Description
metricName string The name of the restricted metric.
restrictedMetricTypes array The reason for this metric's restriction.
View JSON Schema on GitHub

JSON Schema

google-analytics-activemetricrestriction-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ActiveMetricRestriction",
  "title": "ActiveMetricRestriction",
  "description": "A metric actively restricted in creating the report.",
  "properties": {
    "metricName": {
      "description": "The name of the restricted metric.",
      "type": "string",
      "example": "Example Name"
    },
    "restrictedMetricTypes": {
      "description": "The reason for this metric's restriction.",
      "items": {
        "enum": [
          "RESTRICTED_METRIC_TYPE_UNSPECIFIED",
          "COST_DATA",
          "REVENUE_DATA"
        ],
        "type": "string"
      },
      "type": "array"
    }
  },
  "type": "object"
}