AI-generated Key Takeaways
-
This document outlines the process for deleting a custom channel using an HTTP DELETE request.
-
The method is restricted and typically available to AdSense for Platforms publishers.
-
The request requires a specific format for the custom channel's name in the URL path.
-
The request body must be empty, and a successful response will also have an empty body.
-
The request needs the
https://www.googleapis.com/auth/adsenseauthorization scope.
Deletes a custom channel.
This method can be called only by a restricted set of projects, which are usually owned by AdSense for Platforms publishers. Contact your account manager if you need to use this method.
HTTP request
DELETE https://adsense.googleapis.com/v2/{name=accounts/*/adclients/*/customchannels/*}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
Required. Name of the custom channel to delete. Format: accounts/{account}/adclients/{adclient}/customchannels/{customchannel} |
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