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

Contents

Description

Update the supplied ad unit in the specified publisher AdSense account.

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

Synopsis

REST Resource

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

A resource alias for adsensehost.accounts.adunits.update method which the AccountsAdUnitsUpdate request conforms to.

Creating a Request

accountsAdUnitsUpdate Source #

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

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

data AccountsAdUnitsUpdate Source #

Update the supplied ad unit in the specified publisher AdSense account.

See: accountsAdUnitsUpdate smart constructor.

Instances
Eq AccountsAdUnitsUpdate Source # 
Instance details

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

Data AccountsAdUnitsUpdate Source # 
Instance details

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

Methods

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

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

toConstr :: AccountsAdUnitsUpdate -> Constr #

dataTypeOf :: AccountsAdUnitsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AccountsAdUnitsUpdate Source # 
Instance details

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

Generic AccountsAdUnitsUpdate Source # 
Instance details

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

Associated Types

type Rep AccountsAdUnitsUpdate :: Type -> Type #

GoogleRequest AccountsAdUnitsUpdate Source # 
Instance details

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

type Rep AccountsAdUnitsUpdate Source # 
Instance details

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

type Rep AccountsAdUnitsUpdate = D1 (MetaData "AccountsAdUnitsUpdate" "Network.Google.Resource.AdSenseHost.Accounts.AdUnits.Update" "gogol-adsense-host-0.4.0-9ZqQWUle4m2HKOQnxH9pTD" False) (C1 (MetaCons "AccountsAdUnitsUpdate'" PrefixI True) (S1 (MetaSel (Just "_aauuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 AdUnit) :*: (S1 (MetaSel (Just "_aauuAdClientId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_aauuAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes AccountsAdUnitsUpdate Source # 
Instance details

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

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

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

Request Lenses

aauuPayload :: Lens' AccountsAdUnitsUpdate AdUnit Source #

Multipart request metadata.

aauuAdClientId :: Lens' AccountsAdUnitsUpdate Text Source #

Ad client which contains the ad unit.

aauuAccountId :: Lens' AccountsAdUnitsUpdate Text Source #

Account which contains the ad client.