Accounts.adunits: delete

Delete the specified ad unit from the specified publisher AdSense account.

Request

HTTP request

DELETE https://www.googleapis.com/adsensehost/v4.1/accounts/accountId/adclients/adClientId/adunits/adUnitId

Parameters

Parameter name Value Description
Path parameters
accountId string Account which contains the ad unit.
adClientId string Ad client for which to get ad unit.
adUnitId string Ad unit to delete.

Authorization

This request requires authorization with the following scope:

Scope
https://www.googleapis.com/auth/adsensehost

For more information, see the authentication and authorization page.

Request body

Do not supply a request body with this method.

Response

If successful, this method returns an Accounts.adunits resource in the response body.