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

Contents

Description

Get the specified host ad unit in this AdSense account.

See: AdSense Host API Reference for adsensehost.accounts.adunits.get.

Synopsis

REST Resource

type AccountsAdUnitsGetResource = "adsensehost" :> ("v4.1" :> ("accounts" :> (Capture "accountId" Text :> ("adclients" :> (Capture "adClientId" Text :> ("adunits" :> (Capture "adUnitId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] AdUnit)))))))) Source #

A resource alias for adsensehost.accounts.adunits.get method which the AccountsAdUnitsGet request conforms to.

Creating a Request

accountsAdUnitsGet Source #

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

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

data AccountsAdUnitsGet Source #

Get the specified host ad unit in this AdSense account.

See: accountsAdUnitsGet smart constructor.

Instances
Eq AccountsAdUnitsGet Source # 
Instance details

Defined in Network.Google.Resource.AdSenseHost.Accounts.AdUnits.Get

Data AccountsAdUnitsGet Source # 
Instance details

Defined in Network.Google.Resource.AdSenseHost.Accounts.AdUnits.Get

Methods

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

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

toConstr :: AccountsAdUnitsGet -> Constr #

dataTypeOf :: AccountsAdUnitsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AccountsAdUnitsGet Source # 
Instance details

Defined in Network.Google.Resource.AdSenseHost.Accounts.AdUnits.Get

Generic AccountsAdUnitsGet Source # 
Instance details

Defined in Network.Google.Resource.AdSenseHost.Accounts.AdUnits.Get

Associated Types

type Rep AccountsAdUnitsGet :: Type -> Type #

GoogleRequest AccountsAdUnitsGet Source # 
Instance details

Defined in Network.Google.Resource.AdSenseHost.Accounts.AdUnits.Get

Associated Types

type Rs AccountsAdUnitsGet :: Type #

type Scopes AccountsAdUnitsGet :: [Symbol] #

type Rep AccountsAdUnitsGet Source # 
Instance details

Defined in Network.Google.Resource.AdSenseHost.Accounts.AdUnits.Get

type Rep AccountsAdUnitsGet = D1 (MetaData "AccountsAdUnitsGet" "Network.Google.Resource.AdSenseHost.Accounts.AdUnits.Get" "gogol-adsense-host-0.4.0-9ZqQWUle4m2HKOQnxH9pTD" False) (C1 (MetaCons "AccountsAdUnitsGet'" PrefixI True) (S1 (MetaSel (Just "_aaugAdUnitId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_aaugAdClientId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_aaugAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes AccountsAdUnitsGet Source # 
Instance details

Defined in Network.Google.Resource.AdSenseHost.Accounts.AdUnits.Get

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

Defined in Network.Google.Resource.AdSenseHost.Accounts.AdUnits.Get

Request Lenses

aaugAdClientId :: Lens' AccountsAdUnitsGet Text Source #

Ad client for which to get ad unit.

aaugAccountId :: Lens' AccountsAdUnitsGet Text Source #

Account which contains the ad unit.