gogol-adsense-0.1.1: 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.AdUnits.GetAdCode

Contents

Description

Get ad code for the specified ad unit.

See: AdSense Management API Reference for adsense.adunits.getAdCode.

Synopsis

REST Resource

type AdUnitsGetAdCodeResource = "adsense" :> ("v1.4" :> ("adclients" :> (Capture "adClientId" Text :> ("adunits" :> (Capture "adUnitId" Text :> ("adcode" :> (QueryParam "alt" AltJSON :> Get '[JSON] AdCode))))))) Source #

A resource alias for adsense.adunits.getAdCode method which the AdUnitsGetAdCode request conforms to.

Creating a Request

adUnitsGetAdCode Source #

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

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

data AdUnitsGetAdCode Source #

Get ad code for the specified ad unit.

See: adUnitsGetAdCode smart constructor.

Instances

Eq AdUnitsGetAdCode Source # 
Data AdUnitsGetAdCode Source # 

Methods

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

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

toConstr :: AdUnitsGetAdCode -> Constr #

dataTypeOf :: AdUnitsGetAdCode -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AdUnitsGetAdCode Source # 
Generic AdUnitsGetAdCode Source # 
GoogleRequest AdUnitsGetAdCode Source # 
type Rep AdUnitsGetAdCode Source # 
type Rep AdUnitsGetAdCode = D1 (MetaData "AdUnitsGetAdCode" "Network.Google.Resource.AdSense.AdUnits.GetAdCode" "gogol-adsense-0.1.1-2SaREBPcjeb5MrwEOjH2po" False) (C1 (MetaCons "AdUnitsGetAdCode'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_augacAdUnitId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_augacAdClientId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes AdUnitsGetAdCode Source # 
type Scopes AdUnitsGetAdCode = (:) Symbol "https://www.googleapis.com/auth/adsense" ((:) Symbol "https://www.googleapis.com/auth/adsense.readonly" ([] Symbol))
type Rs AdUnitsGetAdCode Source # 

Request Lenses

augacAdUnitId :: Lens' AdUnitsGetAdCode Text Source #

Ad unit to get the code for.

augacAdClientId :: Lens' AdUnitsGetAdCode Text Source #

Ad client with contains the ad unit.