gogol-dfareporting-0.3.0: Google DCM/DFA Reporting And Trafficking 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.DFAReporting.Creatives.Patch

Contents

Description

Updates an existing creative. This method supports patch semantics.

See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.creatives.patch.

Synopsis

REST Resource

type CreativesPatchResource = "dfareporting" :> ("v2.7" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("creatives" :> (QueryParam "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Creative :> Patch '[JSON] Creative))))))) Source #

A resource alias for dfareporting.creatives.patch method which the CreativesPatch request conforms to.

Creating a Request

creativesPatch Source #

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

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

data CreativesPatch Source #

Updates an existing creative. This method supports patch semantics.

See: creativesPatch smart constructor.

Instances

Eq CreativesPatch Source # 
Data CreativesPatch Source # 

Methods

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

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

toConstr :: CreativesPatch -> Constr #

dataTypeOf :: CreativesPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CreativesPatch Source # 
Generic CreativesPatch Source # 

Associated Types

type Rep CreativesPatch :: * -> * #

GoogleRequest CreativesPatch Source # 
type Rep CreativesPatch Source # 
type Rep CreativesPatch = D1 (MetaData "CreativesPatch" "Network.Google.Resource.DFAReporting.Creatives.Patch" "gogol-dfareporting-0.3.0-1Sz7MzcQaqT30NKUHnKpNh" False) (C1 (MetaCons "CreativesPatch'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cppProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))) ((:*:) (S1 (MetaSel (Just Symbol "_cppPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Creative)) (S1 (MetaSel (Just Symbol "_cppId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))))))
type Scopes CreativesPatch Source # 
type Scopes CreativesPatch = (:) Symbol "https://www.googleapis.com/auth/dfatrafficking" ([] Symbol)
type Rs CreativesPatch Source # 

Request Lenses

cppProFileId :: Lens' CreativesPatch Int64 Source #

User profile ID associated with this request.

cppPayload :: Lens' CreativesPatch Creative Source #

Multipart request metadata.