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.AdUnits.Get

Contents

Description

Gets the specified ad unit in the specified ad client.

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

Synopsis

REST Resource

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

A resource alias for adsense.adunits.get method which the AdUnitsGet request conforms to.

Creating a Request

adUnitsGet Source #

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

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

data AdUnitsGet Source #

Gets the specified ad unit in the specified ad client.

See: adUnitsGet smart constructor.

Instances
Eq AdUnitsGet Source # 
Instance details

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

Data AdUnitsGet Source # 
Instance details

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

Methods

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

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

toConstr :: AdUnitsGet -> Constr #

dataTypeOf :: AdUnitsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AdUnitsGet Source # 
Instance details

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

Generic AdUnitsGet Source # 
Instance details

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

Associated Types

type Rep AdUnitsGet :: Type -> Type #

GoogleRequest AdUnitsGet Source # 
Instance details

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

Associated Types

type Rs AdUnitsGet :: Type #

type Scopes AdUnitsGet :: [Symbol] #

type Rep AdUnitsGet Source # 
Instance details

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

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

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

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

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

Request Lenses

augAdUnitId :: Lens' AdUnitsGet Text Source #

Ad unit to retrieve.

augAdClientId :: Lens' AdUnitsGet Text Source #

Ad client for which to get the ad unit.