Method: platforms.accounts.sites.delete

  • Deletes a specific site from a designated AdSense account.

  • Requires an HTTP DELETE request to the specified endpoint, including account and site identifiers.

  • Uses the https://www.googleapis.com/auth/adsense authorization scope for access.

  • The request body should be empty, and a successful deletion results in an empty response body.

Deletes a site from a specified account.

HTTP request

DELETE https://adsenseplatform.googleapis.com/v1/{name=platforms/*/accounts/*/sites/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the site to delete. Format: platforms/{platform}/accounts/{account}/sites/{site}

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/adsense