AI-generated Key Takeaways
-
This deprecated item updates a conversion event with specified attributes using a PATCH request.
-
The request requires specifying the
conversionEvent.name
in the path and uses theupdateMask
query parameter to indicate fields to be updated. -
The request body and successful response body both contain a
ConversionEvent
instance. -
Authorization requires the
https://www.googleapis.com/auth/analytics.edit
scope.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Deprecated: Use UpdateKeyEvent
instead. Updates a conversion event with the specified attributes.
HTTP request
PATCH https://analyticsadmin.googleapis.com/v1beta/{conversionEvent.name=properties/*/conversionEvents/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
conversionEvent.name |
Output only. Resource name of this conversion event. Format: properties/{property}/conversionEvents/{conversionEvent} |
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 ConversionEvent
.
Response body
If successful, the response body contains an instance of ConversionEvent
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/analytics.edit