gogol-dfareporting-0.5.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" :> ("v3.3" :> ("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 # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Creatives.Patch

Data CreativesPatch Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Creatives.Patch

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 # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Creatives.Patch

Generic CreativesPatch Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Creatives.Patch

Associated Types

type Rep CreativesPatch :: Type -> Type #

GoogleRequest CreativesPatch Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Creatives.Patch

Associated Types

type Rs CreativesPatch :: Type #

type Scopes CreativesPatch :: [Symbol] #

type Rep CreativesPatch Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Creatives.Patch

type Rep CreativesPatch = D1 (MetaData "CreativesPatch" "Network.Google.Resource.DFAReporting.Creatives.Patch" "gogol-dfareporting-0.5.0-H2nEimqYPoYBpPsdI4WnkF" False) (C1 (MetaCons "CreativesPatch'" PrefixI True) (S1 (MetaSel (Just "_cppProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)) :*: (S1 (MetaSel (Just "_cppPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Creative) :*: S1 (MetaSel (Just "_cppId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)))))
type Scopes CreativesPatch Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Creatives.Patch

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

Defined in Network.Google.Resource.DFAReporting.Creatives.Patch

Request Lenses

cppProFileId :: Lens' CreativesPatch Int64 Source #

User profile ID associated with this request.

cppPayload :: Lens' CreativesPatch Creative Source #

Multipart request metadata.