Method: properties.create
Создает ресурс Google Analytics с указанным местоположением и атрибутами.
HTTP-запрос
POST https://analyticsadmin.googleapis.com/v1alpha/properties
URL-адрес использует синтаксис транскодирования gRPC .
Тело запроса
Тело запроса содержит экземпляр Property
.
Тело ответа
В случае успеха тело ответа содержит вновь созданный экземпляр Property
.
Области авторизации
Требуется следующая область действия OAuth:
-
https://www.googleapis.com/auth/analytics.edit
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-01-14 UTC.
[null,null,["Последнее обновление: 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"]]