Method: properties.create
Tworzy usługę w Google Analytics z określonymi lokalizacją i atrybutami.
Żądanie HTTP
POST https://analyticsadmin.googleapis.com/v1beta/properties
Adres URL używa składni transkodowania gRPC.
Treść żądania
Treść żądania zawiera wystąpienie elementu Property
.
Treść odpowiedzi
Jeśli operacja się powiedzie, treść odpowiedzi będzie zawierała nowo utworzoną instancję Property
.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/analytics.edit
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-01-14 UTC.
[null,null,["Ostatnia aktualizacja: 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"]]