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 |
Inserts a new placement group.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.placementGroups.insert
.
Synopsis
- type PlacementGroupsInsertResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("placementGroups" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] PlacementGroup :> Post '[JSON] PlacementGroup))))))
- placementGroupsInsert :: Int64 -> PlacementGroup -> PlacementGroupsInsert
- data PlacementGroupsInsert
- pgiProFileId :: Lens' PlacementGroupsInsert Int64
- pgiPayload :: Lens' PlacementGroupsInsert PlacementGroup
REST Resource
type PlacementGroupsInsertResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("placementGroups" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] PlacementGroup :> Post '[JSON] PlacementGroup)))))) Source #
A resource alias for dfareporting.placementGroups.insert
method which the
PlacementGroupsInsert
request conforms to.
Creating a Request
placementGroupsInsert Source #
Creates a value of PlacementGroupsInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PlacementGroupsInsert Source #
Inserts a new placement group.
See: placementGroupsInsert
smart constructor.
Instances
Request Lenses
pgiProFileId :: Lens' PlacementGroupsInsert Int64 Source #
User profile ID associated with this request.
pgiPayload :: Lens' PlacementGroupsInsert PlacementGroup Source #
Multipart request metadata.