Method: properties.create
یک ویژگی Google Analytics با مکان و ویژگی های مشخص شده ایجاد می کند.
درخواست HTTP
POST https://analyticsadmin.googleapis.com/v1beta/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 your specified location and attributes."],["Sends an HTTP POST request to `https://analyticsadmin.googleapis.com/v1beta/properties`."],["Requires `https://www.googleapis.com/auth/analytics.edit` authorization scope for property creation."],["Includes request and response bodies with details defined by the `Property` object."]]],["This document details how to create a Google Analytics property. It utilizes a `POST` HTTP request to `https://analyticsadmin.googleapis.com/v1beta/properties`, employing gRPC Transcoding syntax. The request body needs an instance of a `Property`. A successful request returns a new `Property` instance in the response body. Authorization requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope. The document further contains a `try-it` action and the information on the request/response body and the authorization scope.\n"]]