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 landing page.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.landingPages.update
.
- type LandingPagesUpdateResource = "dfareporting" :> ("v2.5" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("campaigns" :> (Capture "campaignId" (Textual Int64) :> ("landingPages" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LandingPage :> Put '[JSON] LandingPage))))))))
- landingPagesUpdate :: Int64 -> Int64 -> LandingPage -> LandingPagesUpdate
- data LandingPagesUpdate
- lpuCampaignId :: Lens' LandingPagesUpdate Int64
- lpuProFileId :: Lens' LandingPagesUpdate Int64
- lpuPayload :: Lens' LandingPagesUpdate LandingPage
REST Resource
type LandingPagesUpdateResource = "dfareporting" :> ("v2.5" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("campaigns" :> (Capture "campaignId" (Textual Int64) :> ("landingPages" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LandingPage :> Put '[JSON] LandingPage)))))))) Source #
A resource alias for dfareporting.landingPages.update
method which the
LandingPagesUpdate
request conforms to.
Creating a Request
Creates a value of LandingPagesUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data LandingPagesUpdate Source #
Updates an existing campaign landing page.
See: landingPagesUpdate
smart constructor.
Request Lenses
lpuCampaignId :: Lens' LandingPagesUpdate Int64 Source #
Landing page campaign ID.
lpuProFileId :: Lens' LandingPagesUpdate Int64 Source #
User profile ID associated with this request.
lpuPayload :: Lens' LandingPagesUpdate LandingPage Source #
Multipart request metadata.