Method: properties.adSenseLinks.delete

  • Deletes an existing AdSense Link associated with a Google Analytics 4 property.

  • Requires the name path parameter to identify the specific AdSense Link for deletion, using the format properties/{propertyId}/adSenseLinks/{linkId}.

  • Uses a DELETE HTTP request and an empty request body to perform the deletion.

  • Successful deletion results in an empty response body.

  • Requires authorization with the https://www.googleapis.com/auth/analytics.edit scope.

Deletes an AdSenseLink.

HTTP request

DELETE https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/adSenseLinks/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Unique identifier for the AdSense Link to be deleted. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/5678

Request body

The request body must be empty.

Response body

If successful, the response body is an empty JSON object.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/analytics.edit