Method: accounts.conversionSources.delete
Mevcut bir dönüşüm kaynağını arşivler. Dönüşüm kaynağı bir Merchant Center hedefiyse 30 gün boyunca kurtarılabilir. Dönüşüm kaynağı bir Google Analytics bağlantısıysa hemen silinir ve yeni bir bağlantı oluşturarak geri yüklenebilir.
HTTP isteği
DELETE https://merchantapi.googleapis.com/conversions/v1beta/{name=accounts/*/conversionSources/*}
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
name |
string
Zorunlu. Silinecek dönüşüm kaynağının adı. Biçim: accounts/{account}/conversionSources/{conversionSource}
|
İ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/content
Daha fazla bilgi için OAuth 2.0 Overview sayfasına bakın.
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-23 UTC.
[null,null,["Son güncelleme tarihi: 2025-01-23 UTC."],[[["Deletes an existing conversion source, which can be a Merchant Center Destination or a Google Analytics Link."],["Merchant Center Destination conversion sources are recoverable for 30 days, while Google Analytics Link sources are deleted immediately but can be restored by creating a new one."],["Requires authorization with the `https://www.googleapis.com/auth/content` scope."],["Uses a DELETE HTTP request with the path `https://merchantapi.googleapis.com/conversions/v1beta/{name=accounts/*/conversionSources/*}` and an empty request body."]]],["This document outlines how to archive a conversion source via a DELETE request to the Merchant API. The target URL is structured with a required `name` parameter indicating the conversion source to be deleted. The request body must be empty. Successful deletion yields an empty JSON response. Merchant Center Destinations are recoverable for 30 days, while Google Analytics Links are permanently deleted but can be recreated. The request requires `https://www.googleapis.com/auth/content` authorization scope.\n"]]