AI-generated Key Takeaways
- 
          This documentation outlines how to update a GoogleAdsLink on a property using a PATCH HTTP request. 
- 
          The request uses a specific URL format including path and query parameters to identify and specify the update. 
- 
          The request body should contain an instance of GoogleAdsLink, and the successful response body will also contain a GoogleAdsLink instance. 
- 
          Authorization requires the https://www.googleapis.com/auth/analytics.editOAuth scope.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Updates a GoogleAdsLink on a property
HTTP request
PATCH https://analyticsadmin.googleapis.com/v1alpha/{googleAdsLink.name=properties/*/googleAdsLinks/*}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| googleAdsLink.name | 
 Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note: googleAdsLinkId is not the Google Ads customer ID. | 
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 GoogleAdsLink.
Response body
If successful, the response body contains an instance of GoogleAdsLink.
Authorization scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/analytics.edit