Row
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
报告每行的相关数据。例如,如果 RunReportRequest 包含:
"dimensions": [
{
"name": "eventName"
},
{
"name": "countryId"
}
],
"metrics": [
{
"name": "eventCount"
}
]
以下是将“in_app_purchase”作为 eventName、将“JP”作为 countryId 和将 15 作为 eventCount 的一行数据:
"dimensionValues": [
{
"value": "in_app_purchase"
},
{
"value": "JP"
}
],
"metricValues": [
{
"value": "15"
}
]
字段 |
dimensionValues[] |
object (DimensionValue )
请求的维度值列表。在数据透视报告中,只有数据透视中包含的维度才会列出 dimensionValues。
|
metricValues[] |
object (MetricValue )
请求的可见指标值的列表。
|
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。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-11-22。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2024-11-22。"],[[["Report data is structured in rows, with each row containing dimension values and corresponding metric values."],["Dimension values represent categories or attributes, like 'eventName' or 'countryId', while metric values represent quantitative data, like 'eventCount'."],["The structure of the report allows for flexible data exploration by combining different dimensions and metrics."],["Metric values can be of various types, including but not limited to string type and are stored under the 'one_value' field as a 'value' entry."]]],[]]