Method: properties.conversionEvents.create
Desteği sonlandırıldı: Bunun yerine CreateKeyEvent
kullanın. Belirtilen özelliklerle bir dönüşüm etkinliği oluşturur.
HTTP isteği
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/conversionEvents
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
parent |
string
Zorunlu. Bu dönüşüm etkinliğinin oluşturulacağı üst mülkün kaynak adı. Biçim: özellikler/123
|
İstek içeriği
İstek metni, ConversionEvent
öğesinin bir örneğini içerir.
Yanıt gövdesi
Başarılı olursa yanıt gövdesi, yeni oluşturulmuş bir ConversionEvent
örneğini içerir.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/analytics.edit
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-08-01 UTC.
[null,null,["Son güncelleme tarihi: 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"]]