gogol-adsense-host-0.4.0: Google AdSense Host 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.AdSenseHost.CustomChannels.Get

Contents

Description

Get a specific custom channel from the host AdSense account.

See: AdSense Host API Reference for adsensehost.customchannels.get.

Synopsis

REST Resource

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

A resource alias for adsensehost.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 a specific custom channel from the host AdSense account.

See: customChannelsGet smart constructor.

Instances
Eq CustomChannelsGet Source # 
Instance details

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

Data CustomChannelsGet Source # 
Instance details

Defined in Network.Google.Resource.AdSenseHost.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.AdSenseHost.CustomChannels.Get

Generic CustomChannelsGet Source # 
Instance details

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

Associated Types

type Rep CustomChannelsGet :: Type -> Type #

GoogleRequest CustomChannelsGet Source # 
Instance details

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

Associated Types

type Rs CustomChannelsGet :: Type #

type Scopes CustomChannelsGet :: [Symbol] #

type Rep CustomChannelsGet Source # 
Instance details

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

type Rep CustomChannelsGet = D1 (MetaData "CustomChannelsGet" "Network.Google.Resource.AdSenseHost.CustomChannels.Get" "gogol-adsense-host-0.4.0-9ZqQWUle4m2HKOQnxH9pTD" 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.AdSenseHost.CustomChannels.Get

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

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

Request Lenses

ccgAdClientId :: Lens' CustomChannelsGet Text Source #

Ad client from which to get the custom channel.