gogol-adexchange-buyer-0.3.0: Google Ad Exchange Buyer 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.AdExchangeBuyer.PretargetingConfig.Patch

Contents

Description

Updates an existing pretargeting config. This method supports patch semantics.

See: Ad Exchange Buyer API Reference for adexchangebuyer.pretargetingConfig.patch.

Synopsis

REST Resource

type PretargetingConfigPatchResource = "adexchangebuyer" :> ("v1.4" :> ("pretargetingconfigs" :> (Capture "accountId" (Textual Int64) :> (Capture "configId" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] PretargetingConfig :> Patch '[JSON] PretargetingConfig)))))) Source #

A resource alias for adexchangebuyer.pretargetingConfig.patch method which the PretargetingConfigPatch request conforms to.

Creating a Request

pretargetingConfigPatch Source #

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

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

data PretargetingConfigPatch Source #

Updates an existing pretargeting config. This method supports patch semantics.

See: pretargetingConfigPatch smart constructor.

Instances

Eq PretargetingConfigPatch Source # 
Data PretargetingConfigPatch Source # 

Methods

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

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

toConstr :: PretargetingConfigPatch -> Constr #

dataTypeOf :: PretargetingConfigPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PretargetingConfigPatch Source # 
Generic PretargetingConfigPatch Source # 
GoogleRequest PretargetingConfigPatch Source # 
type Rep PretargetingConfigPatch Source # 
type Rep PretargetingConfigPatch = D1 (MetaData "PretargetingConfigPatch" "Network.Google.Resource.AdExchangeBuyer.PretargetingConfig.Patch" "gogol-adexchange-buyer-0.3.0-HwrQxbw7Q3S8KGsuNoMnAW" False) (C1 (MetaCons "PretargetingConfigPatch'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_pcpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 PretargetingConfig)) ((:*:) (S1 (MetaSel (Just Symbol "_pcpAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))) (S1 (MetaSel (Just Symbol "_pcpConfigId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))))))
type Scopes PretargetingConfigPatch Source # 
type Scopes PretargetingConfigPatch = (:) Symbol "https://www.googleapis.com/auth/adexchange.buyer" ([] Symbol)
type Rs PretargetingConfigPatch Source # 

Request Lenses

pcpAccountId :: Lens' PretargetingConfigPatch Int64 Source #

The account id to update the pretargeting config for.

pcpConfigId :: Lens' PretargetingConfigPatch Int64 Source #

The specific id of the configuration to update.