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