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