ลองใช้เซิร์ฟเวอร์ MCP สำหรับ Google Analytics ติดตั้งจาก
GitHub และดูรายละเอียดเพิ่มเติมได้ที่
ประกาศ
Method: properties.rollupPropertySourceLinks.get
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ค้นหาลิงก์แหล่งที่มาของพร็อพเพอร์ตี้ภาพรวมรายการเดียว เฉพาะพร็อพเพอร์ตี้ภาพรวมเท่านั้นที่สามารถมีลิงก์แหล่งที่มาได้ ดังนั้นวิธีการนี้จะแสดงข้อผิดพลาดหากใช้ในพร็อพเพอร์ตี้ประเภทอื่นๆ
คำขอ HTTP
GET https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/rollupPropertySourceLinks/*}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
name |
string
ต้องระบุ ชื่อลิงก์แหล่งที่มาของพร็อพเพอร์ตี้ภาพรวมที่จะค้นหา รูปแบบ: property/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} ตัวอย่าง: property/123/rollupPropertySourceLinks/456
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ RollupPropertySourceLink
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth อย่างใดอย่างหนึ่งต่อไปนี้
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics.edit
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eLook up a single roll-up property source link using the provided HTTP request format.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a specific path parameter to identify the roll-up property source link.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should be empty and upon success, the response includes a RollupPropertySourceLink instance.\u003c/p\u003e\n"],["\u003cp\u003eProper authorization with specified OAuth scopes is required for accessing this functionality.\u003c/p\u003e\n"]]],["This document outlines the process for retrieving a specific roll-up property source link via an HTTP GET request. The request targets a URL constructed using gRPC Transcoding syntax and requires a `name` parameter specifying the link's unique identifier, formatted as `properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id}`. The request body must be empty. A successful request returns a `RollupPropertySourceLink` instance. Access requires either the `analytics.readonly` or `analytics.edit` OAuth scope.\n"],null,["# Method: properties.rollupPropertySourceLinks.get\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nLookup for a single roll-up property source Link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.\n\n### HTTP request\n\n`GET https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/rollupPropertySourceLinks/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. The name of the roll-up property source link to lookup. Format: properties/{property_id}/rollupPropertySourceLinks/{rollup_property_source_link_id} Example: properties/123/rollupPropertySourceLinks/456 |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [RollupPropertySourceLink](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.rollupPropertySourceLinks#RollupPropertySourceLink).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/analytics.readonly`\n- `https://www.googleapis.com/auth/analytics.edit`"]]