Method: properties.conversionEvents.create
Wycofane: użyj w zastępstwie zasady CreateKeyEvent
. Tworzy zdarzenie konwersji z określonymi atrybutami.
Żądanie HTTP
POST https://analyticsadmin.googleapis.com/v1beta/{parent=properties/*}/conversionEvents
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
parent |
string
Wymagane. Nazwa zasobu usługi nadrzędnej, w której zostanie utworzone to zdarzenie konwersji. Format: properties/123
|
Treść żądania
Treść żądania zawiera wystąpienie elementu ConversionEvent
.
Treść odpowiedzi
Jeśli operacja się powiedzie, treść odpowiedzi będzie zawierała nowo utworzoną instancję ConversionEvent
.
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."],[[["This deprecated feature creates conversion events with specified attributes using an HTTP POST request."],["Users must provide the parent property's resource name as a path parameter."],["The request body should contain a ConversionEvent object, as detailed in the provided documentation."],["A successful response will return a newly created ConversionEvent object."],["Authorization requires the `https://www.googleapis.com/auth/analytics.edit` scope."]]],["This document details the process for creating a conversion event using a `POST` request to the Google Analytics Admin API. The request URL requires a `parent` path parameter specifying the property. The request body must contain a `ConversionEvent` instance. A successful request returns a newly created `ConversionEvent` instance in the response body. Authorization requires the `analytics.edit` OAuth scope. It also states this method is deprecated and that `CreateKeyEvent` should be used instead.\n"]]