Page Summary
-
The document outlines how to create a Google Analytics property with specific location and attributes using a POST request to the
/v1beta/propertiesendpoint. -
The request body for creating a property should contain an instance of
Property. -
A successful response will contain a newly created instance of
Property. -
Creating a property requires authorization using 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/v1beta/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