AI-generated Key Takeaways
-
This method creates a roll-up property source link and is only applicable to roll-up properties.
-
The HTTP request uses a POST method to a specific Google Analytics Admin API endpoint.
-
The request requires a parent path parameter specifying the property ID.
-
Both the request and response bodies contain an instance of RollupPropertySourceLink.
-
The method requires the
https://www.googleapis.com/auth/analytics.edit
authorization scope.
Creates a roll-up property source link. Only roll-up properties can have source links, so this method will throw an error if used on other types of properties.
HTTP request
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/rollupPropertySourceLinks
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. Format: properties/{property_id} Example: properties/1234 |
Request body
The request body contains an instance of RollupPropertySourceLink
.
Response body
If successful, the response body contains a newly created instance of RollupPropertySourceLink
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/analytics.edit