ReportRow
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
نمایندگی JSON |
---|
{
"dimensionValues": {
string: {
object (DimensionValue )
},
...
},
"metricValues": {
string: {
object (MetricValue )
},
...
}
} |
فیلدها |
---|
dimensionValues | map (key: string, value: object ( DimensionValue )) نقشه مقادیر ابعاد در یک ردیف، با کلیدها به عنوان نام شماره ابعاد. یک شی حاوی لیستی از "key": value . مثال: { "name": "wrench", "mass": "1.3kg", "count": "3" } . |
metricValues | map (key: string, value: object ( MetricValue )) نقشه مقادیر متریک در یک ردیف، با کلیدها به عنوان نام شماره معیارها. اگر معیاری که درخواست میشود ارزشی برگردانده نداشته باشد، نقشه آن را شامل نمیشود. یک شی حاوی لیستی از "key": value . مثال: { "name": "wrench", "mass": "1.3kg", "count": "3" } . |
DimensionValue
نمایندگی JSON |
---|
{
"value": string,
"displayLabel": string
} |
فیلدها |
---|
value | string مقدار ابعاد در قالب مشخص شده در شماره مشخصات گزارش. |
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 فیلد اتحادیه مقدار متریک در قالب مشخص شده در مشخصات گزارش نام فهرست متریک. value فقط می تواند یکی از موارد زیر باشد: |
integerValue | string ( int64 format) مقدار عدد صحیح متریک |
doubleValue | number مقادیر اعشاری با دقت دوگانه (تقریبی). نرخ ها از 0 تا 1 می باشد. |
microsValue | string ( int64 format) مقدار بر حسب میکرو یک میلیون معادل یک واحد است. ارزش ارز بر حسب واحد (USD، EUR یا موارد دیگر) مشخص شده توسط درخواست است. به عنوان مثال، 6.50 دلار به عنوان 6500000 میکرون نشان داده می شود. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-08-21 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-08-21 بهوقت ساعت هماهنگ جهانی."],[[["\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. |"]]