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"
}
]
欄位 |
dimensionValues[] |
object (DimensionValue )
所要求的維度值清單。在「透視報表」中,只有資料透視中包含的維度會列出維度值。
|
metricValues[] |
object (MetricValue )
要求的可見指標值清單。
|
DimensionValue
JSON 表示法 |
{
// Union field one_value can be only one of the following:
"value": string
// End of list of possible types for union field one_value .
} |
欄位 |
聯集欄位 one_value 。一種維度值 one_value 只能是下列其中一種: |
value |
string
如果維度類型為字串,則值為字串。
|
MetricValue
JSON 表示法 |
{
// Union field one_value can be only one of the following:
"value": string
// End of list of possible types for union field one_value .
} |
欄位 |
聯集欄位 one_value 。指標值 one_value 只能是下列其中一個值: |
value |
string
評估值。請參閱 MetricHeader 瞭解類型。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-11-20 (世界標準時間)。
[null,null,["上次更新時間:2024-11-20 (世界標準時間)。"],[[["Data is structured in rows, each containing dimension values and metric values."],["Dimension values represent categorical data like eventName or countryId, stored as strings."],["Metric values represent quantitative data like eventCount, also stored as strings, with their type specified in the MetricHeader."],["Rows align with requested dimensions and metrics defined in the RunReportRequest."],["PivotReports only include dimension values for pivoted dimensions."]]],["The content outlines the structure of report data, specifically `DimensionValue` and `MetricValue`. Report rows contain lists of `dimensionValues` and `metricValues`. `DimensionValue` represents a dimension's value (e.g., \"in_app_purchase\"), and `MetricValue` represents a metric's value (e.g., \"15\"). Both `DimensionValue` and `MetricValue` have a single field, `value`, which is a string. A JSON representation of a row shows the association between dimensions and metrics.\n"]]