ลองใช้เซิร์ฟเวอร์ MCP สำหรับ Google Analytics ติดตั้งจาก
GitHub และดูรายละเอียดเพิ่มเติมได้ที่
ประกาศ
Method: properties.searchAds360Links.patch
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
อัปเดตลิงก์ SearchAds360 ในพร็อพเพอร์ตี้
คำขอ HTTP
PATCH https://analyticsadmin.googleapis.com/v1alpha/{searchAds360Link.name=properties/*/searchAds360Links/*}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
searchAds360Link.name |
string
เอาต์พุตเท่านั้น ชื่อทรัพยากรสำหรับทรัพยากร SearchAds360Link นี้ รูปแบบ: property/{propertyId}/searchAds360Links/{linkId} หมายเหตุ: linkId ไม่ใช่รหัสผู้ลงโฆษณา Search Ads 360
|
พารามิเตอร์การค้นหา
พารามิเตอร์ |
updateMask |
string (FieldMask format)
ต้องระบุ รายการช่องที่จะอัปเดต ระบบจะไม่อัปเดตช่องที่ละเว้น หากต้องการแทนที่เอนทิตีทั้งหมด ให้ใช้เส้นทาง 1 เส้นทางที่มีสตริง "*" เพื่อจับคู่กับทุกช่อง ซึ่งเป็นรายการชื่อฟิลด์ที่สมบูรณ์ในตัวเองซึ่งคั่นด้วยคอมมา ตัวอย่าง: "user.displayName,photo"
|
เนื้อหาของคำขอ
เนื้อความของคำขอมีอินสแตนซ์ของ SearchAds360Link
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ SearchAds360Link
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
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"],[[["Updates a SearchAds360Link on a property using a PATCH request to the specified URL with gRPC Transcoding syntax."],["The request requires specifying the `searchAds360Link.name` path parameter indicating the resource to update and the `updateMask` query parameter listing the fields to modify."],["The request body must contain a `SearchAds360Link` object representing the desired update, and a successful response will return the updated `SearchAds360Link` object."],["Authorization is required with the `https://www.googleapis.com/auth/analytics.edit` OAuth scope."]]],["This outlines how to update a SearchAds360Link on a property using a PATCH request to the specified URL: `https://analyticsadmin.googleapis.com/v1alpha/{searchAds360Link.name=properties/*/searchAds360Links/*}`. The `searchAds360Link.name` parameter is required, formatted as `properties/{propertyId}/searchAds360Links/{linkId}`. The `updateMask` query parameter specifies fields to update. The request body should contain a SearchAds360Link instance, and the response body will also return a SearchAds360Link instance upon success. The operation needs the `analytics.edit` authorization scope.\n"]]