ลองใช้เซิร์ฟเวอร์ MCP สำหรับ Google Analytics ติดตั้งจาก
GitHub และดูรายละเอียดเพิ่มเติมได้ที่
ประกาศ
Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
Row
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
รายงานข้อมูลสำหรับแต่ละแถว ตัวอย่างเช่น หาก RunReportRequest มีสิ่งต่อไปนี้
"dimensions": [
{
"name": "eventName"
},
{
"name": "countryId"
}
],
"metrics": [
{
"name": "eventCount"
}
]
1 แถวที่มี "in_app_purchase" เป็น eventName, "JP" เป็น countryId และ 15 เป็น eventCount จะเป็นดังนี้
"dimensionValues": [
{
"value": "in_app_purchase"
},
{
"value": "JP"
}
],
"metricValues": [
{
"value": "15"
}
]
| ช่อง |
dimensionValues[] |
object (DimensionValue)
รายการค่ามิติข้อมูลที่ขอ ใน PivotReport ค่าdimensionsจะแสดงสำหรับมิติข้อมูลที่รวมอยู่ใน Pivot เท่านั้น
|
metricValues[] |
object (MetricValue)
รายการค่าเมตริกที่มองเห็นได้ที่ขอ
|
MetricValue
| การแสดง JSON |
{
// Union field one_value can be only one of the following:
"value": string
// End of list of possible types for union field one_value.
} |
| ช่อง |
ช่องการรวม one_value ค่าเมตริก one_value ต้องเป็นค่าใดค่าหนึ่งต่อไปนี้ |
value |
string
ค่าการวัด โปรดดูประเภทส่วนหัวเมตริก
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2026-04-23 UTC
[null,null,["อัปเดตล่าสุด 2026-04-23 UTC"],[],["The document outlines data structures for reporting, using JSON. A row contains `dimensionValues` and `metricValues`. `dimensionValues` lists dimension data, while `metricValues` shows metric data. For example, with dimensions like `eventName` and `countryId`, and a metric like `eventCount`, a row might show \"in_app_purchase\" (event), \"JP\" (country), and \"15\" (count). `MetricValue` stores a metric's value as a string. A `MetricValue` can only contain one value, as specified in the union `one_value`.\n"]]