Method: properties.conversionEvents.create
Desteği sonlandırıldı: Bunun yerine CreateKeyEvent
politikasını kullanın. Belirtilen özelliklerle bir dönüşüm etkinliği oluşturur.
HTTP isteği
POST https://analyticsadmin.googleapis.com/v1beta/{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: properties/123
|
İstek içeriği
İstek metni, ConversionEvent
öğesinin bir örneğini içerir.
Yanıt gövdesi
Başarılı olursa yanıt metni, yeni oluşturulmuş bir ConversionEvent
örneği 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: 2025-01-14 UTC.
[null,null,["Son güncelleme tarihi: 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"]]