Method: properties.create
یک ویژگی Google Analytics با مکان و ویژگی های مشخص شده ایجاد می کند.
درخواست HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/properties
URL از دستور GRPC Transcoding استفاده می کند.
درخواست بدن
بدنه درخواست حاوی نمونه ای از Property
است.
بدن پاسخگو
در صورت موفقیت آمیز بودن، بدنه پاسخ حاوی یک نمونه جدید از Property
است.
محدوده مجوز
به محدوده OAuth زیر نیاز دارد:
-
https://www.googleapis.com/auth/analytics.edit
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-01-14 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-01-14 بهوقت ساعت هماهنگ جهانی."],[[["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"]]