v1.4 of the AdSense Management API is now deprecated. This version will stop returning data on October 12, 2021. Please migrate to v2 as soon as possible.

Method: accounts.alerts.delete

Dismiss (delete) the specified alert from the specified publisher AdSense account.

HTTP request

DELETE https://www.googleapis.com/adsense/v1.4/accounts/{accountId}/alerts/{alertId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
accountId

string

Account which contains the ad unit.

alertId

string

Alert to delete.

Request body

The request body must be empty.

Response body

If successful, the response body will be empty.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/adsense