ReportRow
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Một hàng của báo cáo trả về.
Biểu diễn dưới dạng JSON |
{
"dimensionValues": {
string: {
object (DimensionValue )
},
...
},
"metricValues": {
string: {
object (MetricValue )
},
...
}
} |
Trường |
dimensionValues |
map (key: string, value: object (DimensionValue ))
Bản đồ các giá trị phương diện trong một hàng, trong đó các khoá là tên enum của các phương diện. Một đối tượng chứa danh sách các cặp "key": value . Ví dụ: { "name": "wrench", "mass": "1.3kg", "count": "3" } .
|
metricValues |
map (key: string, value: object (MetricValue ))
Bản đồ các giá trị chỉ số trong một hàng, trong đó các khoá là tên enum của các chỉ số. Nếu một chỉ số đang được yêu cầu không có giá trị được trả về, thì liên kết sẽ không bao gồm chỉ số đó. Một đối tượng chứa danh sách các cặp "key": value . Ví dụ: { "name": "wrench", "mass": "1.3kg", "count": "3" } .
|
DimensionValue
Giá trị đại diện của một giá trị phương diện.
Biểu diễn dưới dạng JSON |
{
"value": string,
"displayLabel": string
} |
Trường |
value |
string
Giá trị phương diện ở định dạng được chỉ định trong enum phương diện có thông số kỹ thuật của báo cáo.
|
displayLabel |
string
Chuỗi đại diện đã bản địa hoá của giá trị. Nếu không chỉ định, nhãn hiển thị phải được lấy từ giá trị.
|
MetricValue
Biểu thị một giá trị của một chỉ số.
Biểu diễn dưới dạng 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 .
} |
Trường |
Trường kết hợp value . Giá trị chỉ số ở định dạng được chỉ định trong tên enum Chỉ số thông số kỹ thuật của báo cáo. value chỉ có thể là một trong những trạng thái sau đây: |
integerValue |
string (int64 format)
Giá trị số nguyên của chỉ số.
|
doubleValue |
number
Giá trị thập phân có độ chính xác kép (gần đúng). Mức giá dao động từ 0 đến 1.
|
microsValue |
string (int64 format)
Số tiền tính bằng phần triệu. Một triệu tương đương với một đơn vị. Giá trị đơn vị tiền tệ được tính bằng đơn vị (USD, EUR hoặc đơn vị khác) mà yêu cầu chỉ định. Ví dụ: 6, 50$ được biểu thị là 6500000 micros.
|
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-08-21 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-08-21 UTC."],[[["\u003cp\u003eReportRow objects represent a single row of data in a report, containing both dimension and metric values.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003edimensionValues\u003c/code\u003e is a map holding dimension data, with keys corresponding to dimension names and values being DimensionValue objects.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003emetricValues\u003c/code\u003e is a map containing metric data, with keys as metric names and values as MetricValue objects, noting that metrics without values are excluded.\u003c/p\u003e\n"],["\u003cp\u003eDimensionValue objects provide the raw \u003ccode\u003evalue\u003c/code\u003e and a potentially localized \u003ccode\u003edisplayLabel\u003c/code\u003e for each dimension.\u003c/p\u003e\n"],["\u003cp\u003eMetricValue objects hold the actual metric value, which can be represented as an integer (\u003ccode\u003eintegerValue\u003c/code\u003e), a double (\u003ccode\u003edoubleValue\u003c/code\u003e), or a micros value (\u003ccode\u003emicrosValue\u003c/code\u003e).\u003c/p\u003e\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/v1beta/ReportRow#DimensionValue) }, ... }, \"metricValues\": { string: { object (/admob/api/reference/rest/v1beta/ReportRow#MetricValue) }, ... } } ``` |\n\n| Fields ||\n|-------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `dimensionValues` | `map (key: string, value: object (`[DimensionValue](/admob/api/reference/rest/v1beta/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/v1beta/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. |"]]