AI-generated Key Takeaways
- 
          The updateAttributionSettingsmethod updates attribution settings on a property using a PATCH HTTP request.
- 
          It requires a path parameter for the resource name and a query parameter for the fields to be updated. 
- 
          Both the request and response bodies contain an instance of AttributionSettings. 
- 
          The method requires the https://www.googleapis.com/auth/analytics.editauthorization scope.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Updates attribution settings on a property.
HTTP request
PATCH https://analyticsadmin.googleapis.com/v1alpha/{attributionSettings.name=properties/*/attributionSettings}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| attributionSettings.name | 
 Output only. Resource name of this attribution settings resource. Format: properties/{property_id}/attributionSettings Example: "properties/1000/attributionSettings" | 
Query parameters
| Parameters | |
|---|---|
| updateMask | 
 Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. This is a comma-separated list of fully qualified names of fields. Example:  | 
Request body
The request body contains an instance of AttributionSettings.
Response body
If successful, the response body contains an instance of AttributionSettings.
Authorization scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/analytics.edit