Method: properties.conversionEvents.create
האפשרות הזו הוצאה משימוש. במקום זאת, צריך להשתמש ב-CreateKeyEvent
. יצירת אירוע המרה עם המאפיינים שצוינו.
בקשת HTTP
POST https://analyticsadmin.googleapis.com/v1beta/{parent=properties/*}/conversionEvents
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של נתיב
פרמטרים |
parent |
string
חובה. שם המשאב של נכס ההורה שבו אירוע ההמרה הזה נוצר. פורמט: properties/123
|
גוף הבקשה
גוף הבקשה מכיל מופע של ConversionEvent
.
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכיל מופע חדש של ConversionEvent
.
היקפי הרשאה
נדרש היקף ההרשאות הבא של OAuth:
https://www.googleapis.com/auth/analytics.edit
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-01-14 (שעון UTC).
[null,null,["עדכון אחרון: 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"]]