Page Summary
-
You can create a Google Analytics property by sending a POST request to the specified URL.
-
The request body requires an instance of a Property.
-
A successful response will contain a newly created instance of a Property in the response body.
-
Creating a property requires the
https://www.googleapis.com/auth/analytics.editOAuth scope.
Creates a Google Analytics property with the specified location and attributes.
HTTP request
POST https://analyticsadmin.googleapis.com/v1alpha/properties
The URL uses gRPC Transcoding syntax.
Request body
The request body contains an instance of Property.
Response body
If successful, the response body contains a newly created instance of Property.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/analytics.edit