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