ReportRow
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
การแสดง JSON |
{
"dimensionValues": {
string: {
object (DimensionValue )
},
...
},
"metricValues": {
string: {
object (MetricValue )
},
...
}
} |
ช่อง |
dimensionValues |
map (key: string, value: object (DimensionValue ))
แมปค่ามิติข้อมูลในแถว โดยมีคีย์เป็นชื่อ enum ของมิติข้อมูล ออบเจ็กต์ที่มีรายการคู่ "key": value ตัวอย่างเช่น { "name": "wrench", "mass": "1.3kg", "count": "3" }
|
metricValues |
map (key: string, value: object (MetricValue ))
แมปค่าเมตริกในแถวที่มีคีย์เป็นชื่อ enum ของเมตริก หากเมตริกที่ขอไม่มีค่าแสดงผล แผนที่จะไม่รวมเมตริกนั้น ออบเจ็กต์ที่มีรายการคู่ "key": value ตัวอย่างเช่น { "name": "wrench", "mass": "1.3kg", "count": "3" }
|
DimensionValue
การแสดง JSON |
{
"value": string,
"displayLabel": string
} |
ช่อง |
value |
string
ค่ามิติข้อมูลในรูปแบบที่ระบุไว้ใน enum ของข้อมูลจำเพาะของรายงาน
|
displayLabel |
string
ค่าแทนสตริงที่แปลแล้ว หากไม่ระบุ ป้ายกำกับที่ปรากฏควรมาจากค่า
|
MetricValue
การแสดง JSON |
{
// Union field value can be only one of the following:
"integerValue": string,
"doubleValue": number,
"microsValue": string
// End of list of possible types for union field value .
} |
ช่อง |
ช่องการรวม value ค่าเมตริกในรูปแบบที่ระบุในชื่อ enum ของข้อมูลจำเพาะของรายงาน value ต้องเป็นค่าใดค่าหนึ่งต่อไปนี้ |
integerValue |
string (int64 format)
ค่าจำนวนเต็มของเมตริก
|
doubleValue |
number
ค่าทศนิยมความเที่ยงสองเท่า (โดยประมาณ) โดยราคามีตั้งแต่ 0 ถึง 1
|
microsValue |
string (int64 format)
จำนวนเงินในหน่วยไมโคร 1 ล้านเท่ากับ 1 หน่วย ค่าสกุลเงินมีหน่วย (USD, EUR หรืออื่นๆ) ที่คำขอระบุไว้ เช่น $6.50 จะแสดงเป็น 6500000 ไมโคร
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-21 UTC
[null,null,["อัปเดตล่าสุด 2025-08-21 UTC"],[[["\u003cp\u003eReportRow objects represent a single row of data in a report, containing dimension and metric values.\u003c/p\u003e\n"],["\u003cp\u003eDimensionValues provide the value and an optional display label for each dimension in the report.\u003c/p\u003e\n"],["\u003cp\u003eMetricValues store the metric's numerical value, which can be an integer, double, or amount in micros.\u003c/p\u003e\n"],["\u003cp\u003eThe structure uses maps to associate dimension and metric names with their corresponding values.\u003c/p\u003e\n"]]],["The core content defines structures for report data: `DimensionValue` and `MetricValue`. A report row, structured in JSON, contains two maps: `dimensionValues` and `metricValues`. `dimensionValues` maps dimension names to `DimensionValue` objects, each with a `value` and an optional `displayLabel`. `metricValues` maps metric names to `MetricValue` objects. A `MetricValue` contains a single value among `integerValue`, `doubleValue`, or `microsValue`, representing the metric's numerical data in various formats.\n"],null,["# ReportRow\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [DimensionValue](#DimensionValue)\n - [JSON representation](#DimensionValue.SCHEMA_REPRESENTATION)\n- [MetricValue](#MetricValue)\n - [JSON representation](#MetricValue.SCHEMA_REPRESENTATION)\n\nA row of the returning report.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"dimensionValues\": { string: { object (/admob/api/reference/rest/v1/ReportRow#DimensionValue) }, ... }, \"metricValues\": { string: { object (/admob/api/reference/rest/v1/ReportRow#MetricValue) }, ... } } ``` |\n\n| Fields ||\n|-------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `dimensionValues` | `map (key: string, value: object (`[DimensionValue](/admob/api/reference/rest/v1/ReportRow#DimensionValue)`))` Map of dimension values in a row, with keys as enum name of the dimensions. An object containing a list of `\"key\": value` pairs. Example: `{ \"name\": \"wrench\", \"mass\": \"1.3kg\", \"count\": \"3\" }`. |\n| `metricValues` | `map (key: string, value: object (`[MetricValue](/admob/api/reference/rest/v1/ReportRow#MetricValue)`))` Map of metric values in a row, with keys as enum name of the metrics. If a metric being requested has no value returned, the map will not include it. An object containing a list of `\"key\": value` pairs. Example: `{ \"name\": \"wrench\", \"mass\": \"1.3kg\", \"count\": \"3\" }`. |\n\nDimensionValue\n--------------\n\nRepresentation of a dimension value.\n\n| JSON representation |\n|-----------------------------------------------------|\n| ``` { \"value\": string, \"displayLabel\": string } ``` |\n\n| Fields ||\n|----------------|--------------------------------------------------------------------------------------------------------------------------------|\n| `value` | `string` Dimension value in the format specified in the report's spec Dimension enum. |\n| `displayLabel` | `string` The localized string representation of the value. If unspecified, the display label should be derived from the value. |\n\nMetricValue\n-----------\n\nRepresentation of a metric value.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { // Union field `value` can be only one of the following: \"integerValue\": string, \"doubleValue\": number, \"microsValue\": string // End of list of possible types for union field `value`. } ``` |\n\n| Fields ||\n|----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Union field `value`. Metric value in the format specified in the report's spec Metric enum name. `value` can be only one of the following: ||\n| `integerValue` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Metric integer value. |\n| `doubleValue` | `number` Double precision (approximate) decimal values. Rates are from 0 to 1. |\n| `microsValue` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Amount in micros. One million is equivalent to one unit. Currency value is in the unit (USD, EUR or other) specified by the request. For example, $6.50 whould be represented as 6500000 micros. |"]]