List all custom channels connected to the specified ad unit under the specified ad client. Try it now.
Request
HTTP Request
GET https://www.googleapis.com/adsense/v1.1/adclients/adClientId/adunits/adUnitId/customchannels
Parameters
In addition to the standard parameters, this method supports the following query parameters:
Parameter Name | Value | Type | Description |
---|---|---|---|
Required Parameters | |||
adClientId |
string |
path |
Ad client for which to list custom channels. |
adUnitId |
string |
path |
Ad unit to retrieve. |
Optional Parameters | |||
maxResults |
integer |
query |
The maximum number of custom channels to include in the response, used for paging. The minimum value is 0 (zero), the maximum value is 10000 (10 thousand). Default is 10000 (10 thousand). |
pageToken |
string |
query |
A continuation token, used to page through custom channels. To retrieve the next page, set this parameter to the value of nextPageToken from the previous response. Default returns the first page of data. |
Request Body
Do not supply a request body with this method.
Response
If successful, this method returns a response body with the following structure:
{ "kind": "adsense#customChannels", "etag": etag, "nextPageToken": string, "items": [ customchannels Resource ] }
The properties of the response body structure are defined as follows:
Property Name | Value | Description |
---|---|---|
kind |
string |
Kind of list this is, in this case adsense#customChannels. |
etag |
etag |
ETag of this response for caching purposes. |
nextPageToken |
string |
Continuation token used to page through custom channels. To retrieve the next page of results, set the next request's "pageToken" value to this. |
items[] |
list |
The custom channels returned in this list response. |
Try It!
You can use the APIs Explorer to call this method on live data and see the response.