Method: accounts.adclients.customchannels.create

Creates a custom channel.

This method can only be used by projects enabled for the AdSense for Platforms product.

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