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