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