Method: properties.conversionEvents.get
เลิกใช้งานแล้ว: ใช้ GetKeyEvent
แทน ดึงข้อมูลเหตุการณ์ Conversion รายการเดียว
คำขอ HTTP
GET https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/conversionEvents/*}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
name |
string
ต้องระบุ ชื่อทรัพยากรของเหตุการณ์ Conversion ที่จะดึงข้อมูล รูปแบบ: พร็อพเพอร์ตี้/{property}/conversionEvents/{conversionEvent} เช่น "properties/123/conversionEvents/456"
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ ConversionEvent
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth รายการใดรายการหนึ่งต่อไปนี้
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics.edit
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-08-01 UTC
[null,null,["อัปเดตล่าสุด 2024-08-01 UTC"],[[["Retrieve a single conversion event using the `GetKeyEvent` method, as the described item is deprecated."],["Access conversion event data through an HTTP GET request to the specified URL, utilizing gRPC Transcoding syntax."],["Specify the resource name of the desired conversion event using the `name` path parameter in the request URL."],["The response body will contain a `ConversionEvent` object upon successful retrieval."],["Proper authorization is required using one of the specified OAuth scopes (`analytics.readonly` or `analytics.edit`)."]]],["This document outlines the process for retrieving a single conversion event via an HTTP GET request. The request URL, following gRPC Transcoding syntax, requires a `name` parameter specifying the resource's path. The request body must be empty. A successful response returns a `ConversionEvent` instance. Access requires either `analytics.readonly` or `analytics.edit` OAuth scopes. Note that the method described is deprecated, recommending the use of `GetKeyEvent` instead.\n"]]