Method: properties.conversionEvents.delete
Wycofane: użyj w zastępstwie zasady DeleteKeyEvent
. Usuwa zdarzenie konwersji w usłudze.
Żądanie HTTP
DELETE https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/conversionEvents/*}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
Wymagane. Nazwa zasobu zdarzenia konwersji, które chcesz usunąć. Format: properties/{property}/conversionEvents/{conversionEvent} Przykład: „properties/123/conversionEvents/456”
|
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 a specified conversion event within a given Google Analytics 4 property."],["Requires the `name` path parameter to identify the specific conversion event for deletion."],["Uses an HTTP DELETE request with an empty body and returns an empty response upon success."],["Needs authorization with the `https://www.googleapis.com/auth/analytics.edit` scope."],["This item is deprecated and users should utilize `DeleteKeyEvent` instead."]]],["The provided content outlines the process for deleting a conversion event via an HTTP DELETE request. The request is sent to a specified URL using gRPC Transcoding syntax, with a required `name` path parameter indicating the event to delete (e.g., \"properties/123/conversionEvents/456\"). The request body must be empty, and a successful deletion returns an empty JSON object. Authorization requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope. This specific item is deprecated in favor of using `DeleteKeyEvent`.\n"]]