| Copyright | (c) 2015-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.Google.Resource.DFAReporting.PlacementStrategies.Insert
Description
Inserts a new placement strategy.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.placementStrategies.insert.
Synopsis
- type PlacementStrategiesInsertResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("placementStrategies" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] PlacementStrategy :> Post '[JSON] PlacementStrategy))))))
- placementStrategiesInsert :: Int64 -> PlacementStrategy -> PlacementStrategiesInsert
- data PlacementStrategiesInsert
- psiProFileId :: Lens' PlacementStrategiesInsert Int64
- psiPayload :: Lens' PlacementStrategiesInsert PlacementStrategy
REST Resource
type PlacementStrategiesInsertResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("placementStrategies" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] PlacementStrategy :> Post '[JSON] PlacementStrategy)))))) Source #
A resource alias for dfareporting.placementStrategies.insert method which the
PlacementStrategiesInsert request conforms to.
Creating a Request
placementStrategiesInsert Source #
Arguments
| :: Int64 | |
| -> PlacementStrategy | |
| -> PlacementStrategiesInsert |
Creates a value of PlacementStrategiesInsert with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PlacementStrategiesInsert Source #
Inserts a new placement strategy.
See: placementStrategiesInsert smart constructor.
Instances
Request Lenses
psiProFileId :: Lens' PlacementStrategiesInsert Int64 Source #
User profile ID associated with this request.
psiPayload :: Lens' PlacementStrategiesInsert PlacementStrategy Source #
Multipart request metadata.