Method: properties.channelGroups.create
คำขอ HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/channelGroups
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
parent |
string
ต้องระบุ พร็อพเพอร์ตี้ที่ใช้สร้าง ChannelGroup รูปแบบตัวอย่าง: property/1234
|
เนื้อหาของคำขอ
เนื้อความของคำขอมีอินสแตนซ์ของ ChannelGroup
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ ChannelGroup
ที่สร้างขึ้นใหม่
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/analytics.edit
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-05-06 UTC
[null,null,["อัปเดตล่าสุด 2024-05-06 UTC"],[[["Creates a ChannelGroup within a specified Google Analytics 4 property."],["Requires a POST request to the designated endpoint with property ID and ChannelGroup details in the request body."],["Utilizes gRPC Transcoding for URL structure and needs `analytics.edit` scope for authorization."],["Successful execution returns the newly created ChannelGroup instance."]]],["This outlines the creation of a ChannelGroup via a POST HTTP request to a specific URL, utilizing gRPC Transcoding. The request requires a `parent` path parameter specifying the property. The request body must contain a ChannelGroup instance, and a successful response will return a newly created ChannelGroup instance. Authorization mandates the `analytics.edit` OAuth scope. The action involves sending the request to a defined endpoint. The information presented are the url, method, authorization scope, parameters, request body, and response body.\n"]]