Method: properties.adSenseLinks.delete
คำขอ HTTP
DELETE https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/adSenseLinks/*}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
name |
string
ต้องระบุ ตัวระบุที่ไม่ซ้ำกันสำหรับลิงก์ AdSense ที่จะลบ รูปแบบ: properties/{propertyId}/adSenseLinks/{linkId} ตัวอย่างเช่น properties/1234/adSenseLinks/5678
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะเป็นออบเจ็กต์ JSON ว่าง
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/analytics.edit
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-01-14 UTC
[null,null,["อัปเดตล่าสุด 2025-01-14 UTC"],[[["Deletes an existing AdSense Link associated with a Google Analytics 4 property."],["Requires the `name` path parameter to identify the specific AdSense Link for deletion, using the format `properties/{propertyId}/adSenseLinks/{linkId}`."],["Uses a `DELETE` HTTP request and an empty request body to perform the deletion."],["Successful deletion results in an empty response body."],["Requires authorization with the `https://www.googleapis.com/auth/analytics.edit` scope."]]],["This document outlines how to delete an AdSenseLink using an HTTP DELETE request. The request is sent to a specific URL, including the `name` path parameter, which uniquely identifies the AdSenseLink (e.g., properties/1234/adSenseLinks/5678). The request body must be empty. Upon success, an empty JSON object is returned as the response. The process requires `https://www.googleapis.com/auth/analytics.edit` authorization scope.\n"]]