ลองใช้เซิร์ฟเวอร์ MCP สำหรับ Google Analytics ติดตั้งจาก
GitHub และดูรายละเอียดเพิ่มเติมได้ที่
ประกาศ
Method: properties.rollupPropertySourceLinks.list
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แสดงรายการลิงก์แหล่งที่มาของพร็อพเพอร์ตี้ภาพรวมในพร็อพเพอร์ตี้ เฉพาะพร็อพเพอร์ตี้ภาพรวมเท่านั้นที่มีลิงก์แหล่งที่มาได้ ดังนั้นวิธีนี้จะแสดงข้อผิดพลาดหากใช้ในพร็อพเพอร์ตี้ประเภทอื่นๆ
คำขอ HTTP
GET https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/rollupPropertySourceLinks
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
parent |
string
ต้องระบุ ชื่อของพร็อพเพอร์ตี้ภาพรวมที่แสดงลิงก์แหล่งที่มาของพร็อพเพอร์ตี้ภาพรวม รูปแบบ: พร็อพเพอร์ตี้/{property_id} เช่น พร็อพเพอร์ตี้/1234
|
พารามิเตอร์การค้นหา
พารามิเตอร์ |
pageSize |
integer
ไม่บังคับ จำนวนทรัพยากรสูงสุดที่จะแสดง บริการอาจแสดงน้อยกว่าค่านี้ แม้ว่าจะมีหน้าเพิ่มเติมก็ตาม หากไม่ระบุ ระบบจะแสดงผลทรัพยากรสูงสุด 50 รายการ ค่าสูงสุดคือ 200 (ระบบจะเปลี่ยนค่าที่สูงกว่าเป็นค่าสูงสุด)
|
pageToken |
string
ไม่บังคับ โทเค็นของหน้าเว็บที่ได้รับจากการโทร rollupPropertySourceLinks.list ก่อนหน้า ระบุพารามิเตอร์นี้เพื่อเรียกข้อมูลหน้าถัดไป เมื่อใส่เลขหน้า พารามิเตอร์อื่นๆ ทั้งหมดที่ให้กับ rollupPropertySourceLinks.list ต้องตรงกับการเรียกใช้ที่ระบุโทเค็นของหน้าเว็บ
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
ข้อความตอบกลับสำหรับ RPC RollupPropertySourceLinks.list
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีข้อมูลซึ่งมีโครงสร้างดังต่อไปนี้
ช่อง |
rollupPropertySourceLinks[] |
object (RollupPropertySourceLink )
รายการ RollupPropertySourceLinks
|
nextPageToken |
string
โทเค็นซึ่งสามารถส่งเป็น pageToken เพื่อเรียกข้อมูลหน้าถัดไป หากเว้นช่องนี้ไว้ จะไม่มีหน้าลำดับต่อมา
|
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต 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\u003eLists Rollup Property Source Links associated with a Google Analytics 4 property, specifically for roll-up properties.\u003c/p\u003e\n"],["\u003cp\u003eThe API request uses the \u003ccode\u003eGET\u003c/code\u003e method and requires specifying the parent roll-up property in the URL path.\u003c/p\u003e\n"],["\u003cp\u003eOptional query parameters allow for pagination, controlling the number of results returned and retrieving subsequent pages.\u003c/p\u003e\n"],["\u003cp\u003eA successful response includes a list of Rollup Property Source Links and a token for pagination if more pages are available.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires specific OAuth scopes for either read-only or edit access to Google Analytics data.\u003c/p\u003e\n"]]],["This document outlines the process for listing roll-up property source links via a `GET` request to `https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/rollupPropertySourceLinks`. Key information includes using the `parent` path parameter to specify the roll-up property (e.g., `properties/1234`). Optional query parameters `pageSize` (max 200) and `pageToken` support pagination. The request body is empty. The response body contains a list of `rollupPropertySourceLinks` and an optional `nextPageToken`. Authorization requires specific OAuth scopes.\n"],null,["# Method: properties.rollupPropertySourceLinks.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListRollupPropertySourceLinksResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nLists roll-up property source Links on a property. 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/{parent=properties/*}/rollupPropertySourceLinks`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `parent` | `string` Required. The name of the roll-up property to list roll-up property source links under. Format: properties/{property_id} Example: properties/1234 |\n\n### Query parameters\n\n| Parameters ||\n|-------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` Optional. The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum) |\n| `pageToken` | `string` Optional. A page token, received from a previous `rollupPropertySourceLinks.list` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `rollupPropertySourceLinks.list` must match the call that provided the page token. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse message for rollupPropertySourceLinks.list RPC.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"rollupPropertySourceLinks\": [ { object (/analytics/devguides/config/admin/v1/rest/v1alpha/properties.rollupPropertySourceLinks#RollupPropertySourceLink) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `rollupPropertySourceLinks[]` | `object (`[RollupPropertySourceLink](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.rollupPropertySourceLinks#RollupPropertySourceLink)`)` List of RollupPropertySourceLinks. |\n| `nextPageToken` | `string` A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted, there are no subsequent pages. |\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`"]]