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

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

Data CreativesInsert Source # 
Instance details

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

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

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

Generic CreativesInsert Source # 
Instance details

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

Associated Types

type Rep CreativesInsert :: Type -> Type #

GoogleRequest CreativesInsert Source # 
Instance details

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

Associated Types

type Rs CreativesInsert :: Type #

type Scopes CreativesInsert :: [Symbol] #

type Rep CreativesInsert Source # 
Instance details

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

type Rep CreativesInsert = D1 (MetaData "CreativesInsert" "Network.Google.Resource.DFAReporting.Creatives.Insert" "gogol-dfareporting-0.4.0-9N9I1R95b3Y5YmOKldvlKw" False) (C1 (MetaCons "CreativesInsert'" PrefixI True) (S1 (MetaSel (Just "_ciProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)) :*: S1 (MetaSel (Just "_ciPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Creative)))
type Scopes CreativesInsert Source # 
Instance details

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

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

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

Request Lenses

ciProFileId :: Lens' CreativesInsert Int64 Source #

User profile ID associated with this request.

ciPayload :: Lens' CreativesInsert Creative Source #

Multipart request metadata.