Method: properties.conversionEvents.patch
האפשרות הזו הוצאה משימוש. במקום זאת, צריך להשתמש ב-UpdateKeyEvent
. עדכון אירוע המרה עם המאפיינים שצוינו.
בקשת HTTP
PATCH https://analyticsadmin.googleapis.com/v1alpha/{conversionEvent.name=properties/*/conversionEvents/*}
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של נתיב
פרמטרים |
conversionEvent.name |
string
פלט בלבד. שם המשאב של אירוע ההמרה הזה. Format: properties/{property}/conversionEvents/{conversionEvent}
|
פרמטרים של שאילתה
פרמטרים |
updateMask |
string (FieldMask format)
חובה. רשימת השדות שרוצים לעדכן. שמות השדות חייבים להיות באותיות רישיות (למשל, "field_to_update"). שדות שלא צוינו לא יתעדכנו. כדי להחליף את הישות כולה, משתמשים בנתיבים אחד עם המחרוזת '*' כדי להתאים לכל השדות. זוהי רשימה של שמות שדות מוגדרים במלואם, שמופרדים בפסיקים. דוגמה: "user.displayName,photo"
|
גוף הבקשה
גוף הבקשה מכיל מופע של 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 endpoint updates a conversion event with specified attributes using an HTTP PATCH request."],["It requires providing the conversion event's resource name in the path and an `updateMask` query parameter."],["The request body must contain a `ConversionEvent` object with the desired updates."],["A successful response will return the updated `ConversionEvent` object."],["Authorization requires the `https://www.googleapis.com/auth/analytics.edit` scope."]]],["This document details updating a conversion event via a PATCH request to a specified URL (`https://analyticsadmin.googleapis.com/v1alpha/{conversionEvent.name=properties/*/conversionEvents/*}`). It uses gRPC Transcoding syntax. The `conversionEvent.name` path parameter specifies the target event. The `updateMask` query parameter defines fields to update. The request and response bodies contain a `ConversionEvent` instance. Authorization requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope. This item is deprecated and should be replaced by `UpdateKeyEvent`.\n"]]