Method: properties.create
สร้างพร็อพเพอร์ตี้ Google Analytics ที่มีตําแหน่งและแอตทริบิวต์ที่ระบุ
คำขอ HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/properties
URL ใช้ไวยากรณ์การแปลง gRPC
เนื้อหาของคำขอ
เนื้อความของคำขอมีอินสแตนซ์ของ Property
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ Property
ที่สร้างขึ้นใหม่
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/analytics.edit
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-01-14 UTC
[null,null,["อัปเดตล่าสุด 2025-01-14 UTC"],[[["Creates a new \"GA4\" property with a specified location and attributes using an HTTP POST request."],["The request body should contain an instance of \"Property\" as defined in the provided documentation."],["Upon successful completion, the response body will contain the newly created \"Property\" instance."],["Authorization requires the `https://www.googleapis.com/auth/analytics.edit` scope."]]],["A Google Analytics property is created via a `POST` request to `https://analyticsadmin.googleapis.com/v1alpha/properties`. The request body must contain a `Property` instance, and a successful response returns the newly created `Property`. This action requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope for authorization. The URL utilizes gRPC Transcoding syntax.\n"]]