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.GetAdCode

Contents

Description

Get ad code for the specified ad unit.

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

Synopsis

REST Resource

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

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

Creating a Request

accountsAdUnitsGetAdCode Source #

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

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

data AccountsAdUnitsGetAdCode Source #

Get ad code for the specified ad unit.

See: accountsAdUnitsGetAdCode smart constructor.

Instances
Eq AccountsAdUnitsGetAdCode Source # 
Instance details

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

Data AccountsAdUnitsGetAdCode Source # 
Instance details

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

Methods

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

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

toConstr :: AccountsAdUnitsGetAdCode -> Constr #

dataTypeOf :: AccountsAdUnitsGetAdCode -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AccountsAdUnitsGetAdCode Source # 
Instance details

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

Generic AccountsAdUnitsGetAdCode Source # 
Instance details

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

Associated Types

type Rep AccountsAdUnitsGetAdCode :: Type -> Type #

GoogleRequest AccountsAdUnitsGetAdCode Source # 
Instance details

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

type Rep AccountsAdUnitsGetAdCode Source # 
Instance details

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

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

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

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

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

Request Lenses

aaugacAdUnitId :: Lens' AccountsAdUnitsGetAdCode Text Source #

Ad unit to get the code for.

aaugacAdClientId :: Lens' AccountsAdUnitsGetAdCode Text Source #

Ad client with contains the ad unit.

aaugacAccountId :: Lens' AccountsAdUnitsGetAdCode Text Source #

Account which contains the ad client.