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