Method: properties.adSenseLinks.delete
Usuwa połączenie z AdSense.
Żądanie HTTP
DELETE https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/adSenseLinks/*}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
Wymagane. Unikalny identyfikator połączenia AdSense, które chcesz usunąć. Format: properties/{propertyId}/adSenseLinks/{linkId} Przykład: properties/1234/adSenseLinks/5678
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi to pusty obiekt JSON.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/analytics.edit
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-01-14 UTC.
[null,null,["Ostatnia aktualizacja: 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"]]