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 |
Updates an existing placement strategy.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.placementStrategies.update
.
Synopsis
- type PlacementStrategiesUpdateResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("placementStrategies" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] PlacementStrategy :> Put '[JSON] PlacementStrategy))))))
- placementStrategiesUpdate :: Int64 -> PlacementStrategy -> PlacementStrategiesUpdate
- data PlacementStrategiesUpdate
- psuProFileId :: Lens' PlacementStrategiesUpdate Int64
- psuPayload :: Lens' PlacementStrategiesUpdate PlacementStrategy
REST Resource
type PlacementStrategiesUpdateResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("placementStrategies" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] PlacementStrategy :> Put '[JSON] PlacementStrategy)))))) Source #
A resource alias for dfareporting.placementStrategies.update
method which the
PlacementStrategiesUpdate
request conforms to.
Creating a Request
placementStrategiesUpdate Source #
Creates a value of PlacementStrategiesUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PlacementStrategiesUpdate Source #
Updates an existing placement strategy.
See: placementStrategiesUpdate
smart constructor.
Instances
Request Lenses
psuProFileId :: Lens' PlacementStrategiesUpdate Int64 Source #
User profile ID associated with this request.
psuPayload :: Lens' PlacementStrategiesUpdate PlacementStrategy Source #
Multipart request metadata.