AI-generated Key Takeaways
-
This document outlines how to create a roll-up property and its source links using an HTTP POST request.
-
The request body includes a required
rollupPropertyobject and an optional array ofsourcePropertiesstrings. -
The response body returns the created
rollupPropertyobject and an array ofrollupPropertySourceLinksobjects. -
The process requires the
https://www.googleapis.com/auth/analytics.editauthorization scope.
Create a roll-up property and all roll-up property source links.
HTTP request
POST https://analyticsadmin.googleapis.com/v1alpha/properties:createRollupProperty
The URL uses gRPC Transcoding syntax.
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{
"rollupProperty": {
object ( |
| Fields | |
|---|---|
rollupProperty |
Required. The roll-up property to create. |
sourceProperties[] |
Optional. The resource names of properties that will be sources to the created roll-up property. |
Response body
Response message for properties.createRollupProperty RPC.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{ "rollupProperty": { object ( |
| Fields | |
|---|---|
rollupProperty |
The created roll-up property. |
rollupPropertySourceLinks[] |
The created roll-up property source links. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/analytics.edit