AI-generated Key Takeaways
-
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.
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 |
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