Method: properties.create
Membuat properti Google Analytics dengan lokasi dan atribut yang ditentukan.
Permintaan HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/properties
URL menggunakan sintaksis gRPC Transcoding.
Isi permintaan
Isi permintaan memuat instance Property
.
Isi respons
Jika berhasil, isi respons memuat instance Property
yang baru dibuat.
Cakupan otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/analytics.edit
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-01-14 UTC.
[null,null,["Terakhir diperbarui pada 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"]]