Row

報表資料會顯示在每一列。舉例來說,如果 RunReportRequest 包含:

"dimensions": [
  {
    "name": "eventName"
  },
  {
    "name": "countryId"
  }
],
"metrics": [
  {
    "name": "eventCount"
  }
]

如果有一列的 eventName 為「in_app_purchase」、countryId 為「JP」,且 eventCount 為 15,則該列會是:

"dimensionValues": [
  {
    "value": "in_app_purchase"
  },
  {
    "value": "JP"
  }
],
"metricValues": [
  {
    "value": "15"
  }
]
JSON 表示法
{
  "dimensionValues": [
    {
      object (DimensionValue)
    }
  ],
  "metricValues": [
    {
      object (MetricValue)
    }
  ]
}
欄位
dimensionValues[]

object (DimensionValue)

所要求維度值的清單。在 PivotReport 中,系統只會列出資料透視中包含的維度 dimensionValues。

metricValues[]

object (MetricValue)

要求顯示的指標值清單。

MetricValue

指標的值。

JSON 表示法
{

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "value": string
  // End of mutually exclusive fields.
}
欄位
其中一個指標值。以下是互斥欄位清單。回應中最多只會設定一個欄位:
value

string

測量值。如需類型,請參閱 MetricHeader。

互斥欄位的結尾。