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

Contents

Description

Gets the specified ad unit in the specified ad client for the specified account.

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

Synopsis

REST Resource

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

A resource alias for adsense.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 #

Gets the specified ad unit in the specified ad client for the specified account.

See: accountsAdUnitsGet smart constructor.

Instances
Eq AccountsAdUnitsGet Source # 
Instance details

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

Data AccountsAdUnitsGet Source # 
Instance details

Defined in Network.Google.Resource.AdSense.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.AdSense.Accounts.AdUnits.Get

Generic AccountsAdUnitsGet Source # 
Instance details

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

Associated Types

type Rep AccountsAdUnitsGet :: Type -> Type #

GoogleRequest AccountsAdUnitsGet Source # 
Instance details

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

Associated Types

type Rs AccountsAdUnitsGet :: Type #

type Scopes AccountsAdUnitsGet :: [Symbol] #

type Rep AccountsAdUnitsGet Source # 
Instance details

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

type Rep AccountsAdUnitsGet = D1 (MetaData "AccountsAdUnitsGet" "Network.Google.Resource.AdSense.Accounts.AdUnits.Get" "gogol-adsense-0.4.0-8cOCEo3eYdbFA6XwLd5vHV" 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.AdSense.Accounts.AdUnits.Get

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

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

Request Lenses

aaugAdClientId :: Lens' AccountsAdUnitsGet Text Source #

Ad client for which to get the ad unit.

aaugAccountId :: Lens' AccountsAdUnitsGet Text Source #

Account to which the ad client belongs.