gogol-adsense-0.4.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 # 
Instance details

Defined in Network.Google.Resource.AdSense.Accounts.CustomChannels.List

Data AccountsCustomChannelsList Source # 
Instance details

Defined in Network.Google.Resource.AdSense.Accounts.CustomChannels.List

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 # 
Instance details

Defined in Network.Google.Resource.AdSense.Accounts.CustomChannels.List

Generic AccountsCustomChannelsList Source # 
Instance details

Defined in Network.Google.Resource.AdSense.Accounts.CustomChannels.List

Associated Types

type Rep AccountsCustomChannelsList :: Type -> Type #

GoogleRequest AccountsCustomChannelsList Source # 
Instance details

Defined in Network.Google.Resource.AdSense.Accounts.CustomChannels.List

type Rep AccountsCustomChannelsList Source # 
Instance details

Defined in Network.Google.Resource.AdSense.Accounts.CustomChannels.List

type Rep AccountsCustomChannelsList = D1 (MetaData "AccountsCustomChannelsList" "Network.Google.Resource.AdSense.Accounts.CustomChannels.List" "gogol-adsense-0.4.0-8cOCEo3eYdbFA6XwLd5vHV" False) (C1 (MetaCons "AccountsCustomChannelsList'" PrefixI True) ((S1 (MetaSel (Just "_acclAdClientId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_acclAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_acclPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_acclMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))))
type Scopes AccountsCustomChannelsList Source # 
Instance details

Defined in Network.Google.Resource.AdSense.Accounts.CustomChannels.List

type Scopes AccountsCustomChannelsList = "https://www.googleapis.com/auth/adsense" ': ("https://www.googleapis.com/auth/adsense.readonly" ': ([] :: [Symbol]))
type Rs AccountsCustomChannelsList Source # 
Instance details

Defined in Network.Google.Resource.AdSense.Accounts.CustomChannels.List

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.