Method: properties.conversionEvents.create
הוצא משימוש: במקומו צריך להשתמש ברכיב CreateKeyEvent
. יצירת אירוע המרה עם המאפיינים שצוינו.
בקשת HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/conversionEvents
בכתובת ה-URL נעשה שימוש בתחביר המרת קידוד של 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 ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-08-01 (שעון UTC).
[null,null,["עדכון אחרון: 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"]]