Method: accounts.adclients.customchannels.get

  • Retrieves details about a specific custom channel within an AdSense account.

  • Uses a GET request with the custom channel's resource name in the URL path.

  • Requires providing either adsense or adsense.readonly OAuth scope for authorization.

  • Returns a CustomChannel object containing the channel's information upon successful execution.

  • Request body should be empty for this operation.

Gets information about the selected custom channel.

HTTP request

GET 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. Format: accounts/{account}/adclients/{adclient}/customchannels/{customchannel}

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of CustomChannel.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/adsense
  • https://www.googleapis.com/auth/adsense.readonly