AI-generated Key Takeaways
-
This page details how to retrieve Attribution Settings for a specific Google Analytics 4 property using the Google Analytics Admin API.
-
The request requires specifying the property name as a path parameter and uses an HTTP GET method.
-
A successful response will provide an AttributionSettings object containing the configurations.
-
Authentication is necessary using either analytics.readonly or analytics.edit scope.
Lookup for a AttributionSettings singleton.
HTTP request
GET https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/attributionSettings}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The name of the attribution settings to retrieve. Format: properties/{property}/attributionSettings |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of AttributionSettings
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics.edit