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 )
قائمة بقيم السمات المطلوبة في PivotReport، لا يتم إدراج 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 لمعرفة النوع.
|
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-11-22 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 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."]]],["The document outlines data structures for reporting, using JSON. A row contains `dimensionValues` and `metricValues`. `dimensionValues` lists dimension data, while `metricValues` shows metric data. For example, with dimensions like `eventName` and `countryId`, and a metric like `eventCount`, a row might show \"in_app_purchase\" (event), \"JP\" (country), and \"15\" (count). `MetricValue` stores a metric's value as a string. A `MetricValue` can only contain one value, as specified in the union `one_value`.\n"]]