Method: properties.create
יצירת נכס Google Analytics עם המיקום והמאפיינים שצוינו.
בקשת HTTP
POST https://analyticsadmin.googleapis.com/v1beta/properties
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
גוף הבקשה
גוף הבקשה מכיל מופע של Property
.
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכיל מופע חדש של Property
.
היקפי הרשאה
נדרש היקף ההרשאות הבא של OAuth:
https://www.googleapis.com/auth/analytics.edit
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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 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"]]