ลองใช้เซิร์ฟเวอร์ MCP สำหรับ Google Analytics ติดตั้งจาก
GitHub และดูรายละเอียดเพิ่มเติมได้ที่
ประกาศ
AccessMetric
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
การวัดเชิงปริมาณของรายงาน ตัวอย่างเช่น เมตริก accessCount
คือจำนวนบันทึกการเข้าถึงข้อมูลทั้งหมด
การแสดง JSON |
{
"metricName": string
} |
ช่อง |
metricName |
string
ชื่อ API ของเมตริก โปรดดูสคีมาการเข้าถึงข้อมูลสำหรับรายการเมตริกที่รองรับใน API นี้ มีการอ้างอิงเมตริกตามชื่อใน metricFilter และ orderBys
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eThis documentation describes the JSON representation of quantitative measurements, called metrics, within a report.\u003c/p\u003e\n"],["\u003cp\u003eMetrics, such as \u003ccode\u003eaccessCount\u003c/code\u003e, quantify aspects of data, like the total number of data access records.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003emetricName\u003c/code\u003e field within the JSON structure uses a string to identify the specific metric being used, referencing the Data Access Schema for supported options.\u003c/p\u003e\n"]]],["The content defines a JSON structure for representing quantitative report metrics. The core element is `metricName`, a string denoting the API name of a specific metric. This name corresponds to a supported metric listed in the Data Access Schema. `metricName` is crucial for filtering and ordering data, utilizing `metricFilter` and `orderBys`. The `accessCount` example illustrates a metric that measures the total data access records.\n"],null,["# AccessMetric\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nThe quantitative measurements of a report. For example, the metric `accessCount` is the total number of data access records.\n\n| JSON representation |\n|----------------------------------|\n| ``` { \"metricName\": string } ``` |\n\n| Fields ||\n|--------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `metricName` | `string` The API name of the metric. See [Data Access Schema](https://developers.google.com/analytics/devguides/config/admin/v1/access-api-schema) for the list of metrics supported in this API. Metrics are referenced by name in `metricFilter` \\& `orderBys`. |"]]