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

Contents

Description

Inserts a new placement.

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

Synopsis

REST Resource

type PlacementsInsertResource = "dfareporting" :> ("v2.7" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("placements" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Placement :> Post '[JSON] Placement)))))) Source #

A resource alias for dfareporting.placements.insert method which the PlacementsInsert request conforms to.

Creating a Request

placementsInsert Source #

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

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

data PlacementsInsert Source #

Inserts a new placement.

See: placementsInsert smart constructor.

Instances

Eq PlacementsInsert Source # 
Data PlacementsInsert Source # 

Methods

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

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

toConstr :: PlacementsInsert -> Constr #

dataTypeOf :: PlacementsInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PlacementsInsert Source # 
Generic PlacementsInsert Source # 
GoogleRequest PlacementsInsert Source # 
type Rep PlacementsInsert Source # 
type Rep PlacementsInsert = D1 (MetaData "PlacementsInsert" "Network.Google.Resource.DFAReporting.Placements.Insert" "gogol-dfareporting-0.2.0-3vkytqIdbR4DxGH3Av8E8" False) (C1 (MetaCons "PlacementsInsert'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_piProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))) (S1 (MetaSel (Just Symbol "_piPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Placement))))
type Scopes PlacementsInsert Source # 
type Scopes PlacementsInsert = (:) Symbol "https://www.googleapis.com/auth/dfatrafficking" ([] Symbol)
type Rs PlacementsInsert Source # 

Request Lenses

piProFileId :: Lens' PlacementsInsert Int64 Source #

User profile ID associated with this request.

piPayload :: Lens' PlacementsInsert Placement Source #

Multipart request metadata.