gogol-adsense-0.2.0: 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.Accounts.CustomChannels.List

Contents

Description

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

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

Synopsis

REST Resource

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

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

Creating a Request

accountsCustomChannelsList Source #

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

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

data AccountsCustomChannelsList Source #

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

See: accountsCustomChannelsList smart constructor.

Instances

Eq AccountsCustomChannelsList Source # 
Data AccountsCustomChannelsList Source # 

Methods

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

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

toConstr :: AccountsCustomChannelsList -> Constr #

dataTypeOf :: AccountsCustomChannelsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AccountsCustomChannelsList Source # 
Generic AccountsCustomChannelsList Source # 
GoogleRequest AccountsCustomChannelsList Source # 
type Rep AccountsCustomChannelsList Source # 
type Rep AccountsCustomChannelsList = D1 (MetaData "AccountsCustomChannelsList" "Network.Google.Resource.AdSense.Accounts.CustomChannels.List" "gogol-adsense-0.2.0-60rIPXaPTef3Ly7deoiW4q" False) (C1 (MetaCons "AccountsCustomChannelsList'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_acclAdClientId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_acclAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_acclPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_acclMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))))
type Scopes AccountsCustomChannelsList Source # 
type Scopes AccountsCustomChannelsList = (:) Symbol "https://www.googleapis.com/auth/adsense" ((:) Symbol "https://www.googleapis.com/auth/adsense.readonly" ([] Symbol))
type Rs AccountsCustomChannelsList Source # 

Request Lenses

acclAdClientId :: Lens' AccountsCustomChannelsList Text Source #

Ad client for which to list custom channels.

acclAccountId :: Lens' AccountsCustomChannelsList Text Source #

Account to which the ad client belongs.

acclPageToken :: Lens' AccountsCustomChannelsList (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.

acclMaxResults :: Lens' AccountsCustomChannelsList (Maybe Int32) Source #

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