Method: properties.conversionEvents.create
Eingestellt: Verwende stattdessen CreateKeyEvent
. Erstellt ein Conversion-Ereignis mit den angegebenen Attributen.
HTTP-Anfrage
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/conversionEvents
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
parent |
string
Erforderlich. Der Ressourcenname der übergeordneten Property, in der dieses Conversion-Ereignis erstellt wird. Format: properties/123
|
Anfragetext
Der Anfragetext enthält eine Instanz von ConversionEvent
.
Antworttext
Bei Erfolg enthält der Antworttext eine neu erstellte Instanz von ConversionEvent
.
Autorisierungsbereiche
Erfordert den folgenden OAuth-Bereich:
https://www.googleapis.com/auth/analytics.edit
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-08-01 (UTC).
[null,null,["Zuletzt aktualisiert: 2024-08-01 (UTC)."],[[["This document details how to create a conversion event with the specified attributes using an HTTP request."],["Creating a conversion event requires `parent` as a path parameter which specifies the parent property."],["The request body should contain an instance of `ConversionEvent` and a successful response will return a newly created instance of `ConversionEvent`."],["This functionality requires `https://www.googleapis.com/auth/analytics.edit` authorization scope."],["**Deprecated:** Use `CreateKeyEvent` instead."]]],["This document details the process for creating a conversion event using a `POST` request to the specified URL. The required path parameter `parent` identifies the property. The request body must contain a `ConversionEvent` instance. Successful execution returns a newly created `ConversionEvent` in the response body. The API endpoint utilizes gRPC Transcoding and the request needs `https://www.googleapis.com/auth/analytics.edit` authorization scope. This method is deprecated, `CreateKeyEvent` is recommended instead.\n"]]