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