Google Analytics के लिए, एमसीपी सर्वर आज़माएं. इसे
GitHub से इंस्टॉल करें. साथ ही, ज़्यादा जानकारी के लिए
सूचना देखें.
MetricHeader
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eMetricHeader describes a metric column in a report, providing details like name and data type, appearing as column entries within rows.\u003c/p\u003e\n"],["\u003cp\u003eMetrics solely used in filters or expressions do not generate columns or headers in reports.\u003c/p\u003e\n"],["\u003cp\u003eMetricType defines the data type of a metric, encompassing various options like integer, floating point, durations, and custom types.\u003c/p\u003e\n"],["\u003cp\u003eMetricHeader is represented in JSON format, specifying its name and type using the MetricType enum.\u003c/p\u003e\n"]]],["The provided content defines metric columns in a report, detailing their structure and data types. Each metric is represented by a `name` (string) and a `type` (enum). Visible metrics produce columns and headers in reports. Metrics exclusively used in filters or expressions do not. `MetricType` lists the possible data types, including integer, float, and various time and length units, such as `TYPE_SECONDS`, `TYPE_METERS`, or `TYPE_CURRENCY`. Each type is detailed as an enum value.\n"],null,["# MetricHeader\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [MetricType](#MetricType)\n\nDescribes a metric column in the report. Visible metrics requested in a report produce column entries within rows and MetricHeaders. However, metrics used exclusively within filters or expressions do not produce columns in a report; correspondingly, those metrics do not produce headers.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"type\": enum (/analytics/devguides/reporting/data/v1/rest/v1alpha/MetricHeader#MetricType) } ``` |\n\n| Fields ||\n|--------|------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` The metric's name. |\n| `type` | `enum (`[MetricType](/analytics/devguides/reporting/data/v1/rest/v1alpha/MetricHeader#MetricType)`)` The metric's data type. |\n\nMetricType\n----------\n\nA metric's value type.\n\n| Enums ||\n|---------------------------|------------------------------------------------------------------|\n| `METRIC_TYPE_UNSPECIFIED` | Unspecified type. |\n| `TYPE_INTEGER` | Integer type. |\n| `TYPE_FLOAT` | Floating point type. |\n| `TYPE_SECONDS` | A duration of seconds; a special floating point type. |\n| `TYPE_MILLISECONDS` | A duration in milliseconds; a special floating point type. |\n| `TYPE_MINUTES` | A duration in minutes; a special floating point type. |\n| `TYPE_HOURS` | A duration in hours; a special floating point type. |\n| `TYPE_STANDARD` | A custom metric of standard type; a special floating point type. |\n| `TYPE_CURRENCY` | An amount of money; a special floating point type. |\n| `TYPE_FEET` | A length in feet; a special floating point type. |\n| `TYPE_MILES` | A length in miles; a special floating point type. |\n| `TYPE_METERS` | A length in meters; a special floating point type. |\n| `TYPE_KILOMETERS` | A length in kilometers; a special floating point type. |"]]