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

Defined in Network.Google.Resource.AdSense.CustomChannels.Get

Data CustomChannelsGet Source # 
Instance details

Defined in Network.Google.Resource.AdSense.CustomChannels.Get

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

Defined in Network.Google.Resource.AdSense.CustomChannels.Get

Generic CustomChannelsGet Source # 
Instance details

Defined in Network.Google.Resource.AdSense.CustomChannels.Get

Associated Types

type Rep CustomChannelsGet :: Type -> Type #

GoogleRequest CustomChannelsGet Source # 
Instance details

Defined in Network.Google.Resource.AdSense.CustomChannels.Get

Associated Types

type Rs CustomChannelsGet :: Type #

type Scopes CustomChannelsGet :: [Symbol] #

type Rep CustomChannelsGet Source # 
Instance details

Defined in Network.Google.Resource.AdSense.CustomChannels.Get

type Rep CustomChannelsGet = D1 (MetaData "CustomChannelsGet" "Network.Google.Resource.AdSense.CustomChannels.Get" "gogol-adsense-0.4.0-8cOCEo3eYdbFA6XwLd5vHV" False) (C1 (MetaCons "CustomChannelsGet'" PrefixI True) (S1 (MetaSel (Just "_ccgCustomChannelId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ccgAdClientId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes CustomChannelsGet Source # 
Instance details

Defined in Network.Google.Resource.AdSense.CustomChannels.Get

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

Defined in Network.Google.Resource.AdSense.CustomChannels.Get

Request Lenses

ccgCustomChannelId :: Lens' CustomChannelsGet Text Source #

Custom channel to retrieve.

ccgAdClientId :: Lens' CustomChannelsGet Text Source #

Ad client which contains the custom channel.