Method: accounts.adclients.customchannels.get

  • This document provides information on how to get information about a selected custom channel using a GET request to the specified Adsense Management API endpoint.

  • The request requires a name parameter in the path, formatted as accounts/{account}/adclients/{adclient}/customchannels/{customchannel}.

  • The request body must be empty.

  • A successful response contains an instance of a CustomChannel object.

  • Authorization requires either the https://www.googleapis.com/auth/adsense or https://www.googleapis.com/auth/adsense.readonly OAuth scopes.

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