gogol-adsense-0.1.1: Google AdSense Management SDK.

Copyright(c) 2015-2016 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.CustomChannels.List

Contents

Description

List all custom channels in the specified ad client for this AdSense account.

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

Synopsis

REST Resource

type CustomChannelsListResource = "adsense" :> ("v1.4" :> ("adclients" :> (Capture "adClientId" Text :> ("customchannels" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] CustomChannels))))))) Source #

A resource alias for adsense.customchannels.list method which the CustomChannelsList request conforms to.

Creating a Request

customChannelsList Source #

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

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

data CustomChannelsList Source #

List all custom channels in the specified ad client for this AdSense account.

See: customChannelsList smart constructor.

Instances

Eq CustomChannelsList Source # 
Data CustomChannelsList Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CustomChannelsList -> c CustomChannelsList #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CustomChannelsList #

toConstr :: CustomChannelsList -> Constr #

dataTypeOf :: CustomChannelsList -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CustomChannelsList) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CustomChannelsList) #

gmapT :: (forall b. Data b => b -> b) -> CustomChannelsList -> CustomChannelsList #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CustomChannelsList -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CustomChannelsList -> r #

gmapQ :: (forall d. Data d => d -> u) -> CustomChannelsList -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CustomChannelsList -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CustomChannelsList -> m CustomChannelsList #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CustomChannelsList -> m CustomChannelsList #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CustomChannelsList -> m CustomChannelsList #

Show CustomChannelsList Source # 
Generic CustomChannelsList Source # 
GoogleRequest CustomChannelsList Source # 
type Rep CustomChannelsList Source # 
type Rep CustomChannelsList = D1 (MetaData "CustomChannelsList" "Network.Google.Resource.AdSense.CustomChannels.List" "gogol-adsense-0.1.1-2SaREBPcjeb5MrwEOjH2po" False) (C1 (MetaCons "CustomChannelsList'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cclAdClientId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_cclPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cclMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))))
type Scopes CustomChannelsList Source # 
type Scopes CustomChannelsList = (:) Symbol "https://www.googleapis.com/auth/adsense" ((:) Symbol "https://www.googleapis.com/auth/adsense.readonly" ([] Symbol))
type Rs CustomChannelsList Source # 

Request Lenses

cclAdClientId :: Lens' CustomChannelsList Text Source #

Ad client for which to list custom channels.

cclPageToken :: Lens' CustomChannelsList (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.

cclMaxResults :: Lens' CustomChannelsList (Maybe Int32) Source #

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