Method: accounts.adclients.customchannels.delete
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 |
string
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-19 UTC.
[null,null,["Last updated 2025-02-19 UTC."],[[["This method deletes a custom channel and is primarily for AdSense for Platforms publishers."],["Requires authorization with the `https://www.googleapis.com/auth/adsense` scope."],["The request is sent as a DELETE request to the specified URL with the custom channel name as a path parameter."],["The request body should be empty, and a successful deletion results in an empty response body."]]],["The provided content describes how to delete a custom channel via an HTTP DELETE request. The request URL uses gRPC Transcoding syntax and requires a `name` path parameter, specifying the custom channel's identifier. The request body must be empty. A successful deletion returns an empty JSON object. This action is restricted to specific projects, primarily AdSense for Platforms publishers, and requires the `https://www.googleapis.com/auth/adsense` OAuth scope for authorization.\n"]]