Method: accounts.adclients.customchannels.create
Creates 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
POST https://adsense.googleapis.com/v2/{parent=accounts/*/adclients/*}/customchannels
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
parent |
string
Required. The ad client to create a custom channel under. Format: accounts/{account}/adclients/{adclient}
|
Request body
The request body contains an instance of CustomChannel
.
Response body
If successful, the response body contains a newly created instance of CustomChannel
.
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 2024-08-21 UTC.
[null,null,["Last updated 2024-08-21 UTC."],[[["Creates a new custom channel under a specified ad client for use with AdSense for Platforms publishers."],["The method requires authorization using the `https://www.googleapis.com/auth/adsense` scope."],["It involves sending a POST request to a specific URL with details about the custom channel in the request body."],["Upon successful execution, the response includes the details of the newly created custom channel."],["This functionality is restricted and primarily intended for use by projects associated with AdSense for Platforms publishers."]]],[]]