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