gogol-dfareporting-0.1.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.Insert

Contents

Description

Inserts a new creative.

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

Synopsis

REST Resource

type CreativesInsertResource = "dfareporting" :> ("v2.5" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("creatives" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Creative :> Post '[JSON] Creative)))))) Source #

A resource alias for dfareporting.creatives.insert method which the CreativesInsert request conforms to.

Creating a Request

creativesInsert Source #

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

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

data CreativesInsert Source #

Inserts a new creative.

See: creativesInsert smart constructor.

Instances

Eq CreativesInsert Source # 
Data CreativesInsert Source # 

Methods

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

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

toConstr :: CreativesInsert -> Constr #

dataTypeOf :: CreativesInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CreativesInsert Source # 
Generic CreativesInsert Source # 
GoogleRequest CreativesInsert Source # 
type Rep CreativesInsert Source # 
type Rep CreativesInsert = D1 (MetaData "CreativesInsert" "Network.Google.Resource.DFAReporting.Creatives.Insert" "gogol-dfareporting-0.1.0-KEBAT3IXpFyJcea2FOz34a" False) (C1 (MetaCons "CreativesInsert'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ciProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))) (S1 (MetaSel (Just Symbol "_ciPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Creative))))
type Scopes CreativesInsert Source # 
type Scopes CreativesInsert = (:) Symbol "https://www.googleapis.com/auth/dfatrafficking" ([] Symbol)
type Rs CreativesInsert Source # 

Request Lenses

ciProFileId :: Lens' CreativesInsert Int64 Source #

User profile ID associated with this request.

ciPayload :: Lens' CreativesInsert Creative Source #

Multipart request metadata.