gogol-adsense-0.0.1: Google AdSense Management SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.AdSense.Accounts.AdUnits.CustomChannels.List

Contents

Description

List all custom channels which the specified ad unit belongs to.

See: AdSense Management API Reference for adsense.accounts.adunits.customchannels.list.

Synopsis

REST Resource

type AccountsAdUnitsCustomChannelsListResource = "adsense" :> ("v1.4" :> ("accounts" :> (Capture "accountId" Text :> ("adclients" :> (Capture "adClientId" Text :> ("adunits" :> (Capture "adUnitId" Text :> ("customchannels" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` CustomChannels))))))))))) Source

A resource alias for adsense.accounts.adunits.customchannels.list method which the AccountsAdUnitsCustomChannelsList request conforms to.

Creating a Request

accountsAdUnitsCustomChannelsList Source

Creates a value of AccountsAdUnitsCustomChannelsList with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

aaucclAdUnitId :: Lens' AccountsAdUnitsCustomChannelsList Text Source

Ad unit for which to list custom channels.

aaucclAdClientId :: Lens' AccountsAdUnitsCustomChannelsList Text Source

Ad client which contains the ad unit.

aaucclAccountId :: Lens' AccountsAdUnitsCustomChannelsList Text Source

Account to which the ad client belongs.

aaucclPageToken :: Lens' AccountsAdUnitsCustomChannelsList (Maybe Text) Source

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.

aaucclMaxResults :: Lens' AccountsAdUnitsCustomChannelsList (Maybe Int32) Source

The maximum number of custom channels to include in the response, used for paging.