Method: properties.adSenseLinks.delete
Permintaan HTTP
DELETE https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/adSenseLinks/*}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
name |
string
Wajib. ID unik untuk Penautan AdSense yang akan dihapus. Format: properties/{propertyId}/adSenseLinks/{linkId} Contoh: properties/1234/adSenseLinks/5678
|
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Jika berhasil, isi respons adalah objek JSON kosong.
Cakupan otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/analytics.edit
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-01-14 UTC.
[null,null,["Terakhir diperbarui pada 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"]]