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