gogol-adsense-0.1.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.CustomChannels.Get

Contents

Description

Get the specified custom channel from the specified ad client.

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

Synopsis

REST Resource

type CustomChannelsGetResource = "adsense" :> ("v1.4" :> ("adclients" :> (Capture "adClientId" Text :> ("customchannels" :> (Capture "customChannelId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] CustomChannel)))))) Source #

A resource alias for adsense.customchannels.get method which the CustomChannelsGet request conforms to.

Creating a Request

customChannelsGet Source #

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

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

data CustomChannelsGet Source #

Get the specified custom channel from the specified ad client.

See: customChannelsGet smart constructor.

Instances

Eq CustomChannelsGet Source # 
Data CustomChannelsGet Source # 

Methods

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

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

toConstr :: CustomChannelsGet -> Constr #

dataTypeOf :: CustomChannelsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CustomChannelsGet Source # 
Generic CustomChannelsGet Source # 
GoogleRequest CustomChannelsGet Source # 
type Rep CustomChannelsGet Source # 
type Rep CustomChannelsGet = D1 (MetaData "CustomChannelsGet" "Network.Google.Resource.AdSense.CustomChannels.Get" "gogol-adsense-0.1.0-KLHxdlsEXudKH9vbM8iPCD" False) (C1 (MetaCons "CustomChannelsGet'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ccgCustomChannelId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ccgAdClientId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes CustomChannelsGet Source # 
type Scopes CustomChannelsGet = (:) Symbol "https://www.googleapis.com/auth/adsense" ((:) Symbol "https://www.googleapis.com/auth/adsense.readonly" ([] Symbol))
type Rs CustomChannelsGet Source # 

Request Lenses

ccgCustomChannelId :: Lens' CustomChannelsGet Text Source #

Custom channel to retrieve.

ccgAdClientId :: Lens' CustomChannelsGet Text Source #

Ad client which contains the custom channel.