Method: properties.adSenseLinks.delete
HTTP isteği
DELETE https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/adSenseLinks/*}
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
name |
string
Zorunlu. Silinecek AdSense bağlantısının benzersiz tanımlayıcısı. Biçim: mülkler/{mülk kimliği}/adSense bağlantıları/{bağlantı kimliği} Örnek: mülkler/1234/adSense bağlantıları/5678
|
İstek içeriği
İstek metni boş olmalıdır.
Yanıt gövdesi
Başarılı olursa yanıt metni boş bir JSON nesnesi olur.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/analytics.edit
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-01-14 UTC.
[null,null,["Son güncelleme tarihi: 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"]]