Copyright | (c) 2015 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 |
Inserts a new landing page for the specified campaign.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.landingPages.insert
.
- type LandingPagesInsertResource = "dfareporting" :> ("v2.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("campaigns" :> (Capture "campaignId" (Textual Int64) :> ("landingPages" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` LandingPage :> Post `[JSON]` LandingPage))))))))
- landingPagesInsert :: Int64 -> Int64 -> LandingPage -> LandingPagesInsert
- data LandingPagesInsert
- lpiCampaignId :: Lens' LandingPagesInsert Int64
- lpiProFileId :: Lens' LandingPagesInsert Int64
- lpiPayload :: Lens' LandingPagesInsert LandingPage
REST Resource
type LandingPagesInsertResource = "dfareporting" :> ("v2.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("campaigns" :> (Capture "campaignId" (Textual Int64) :> ("landingPages" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` LandingPage :> Post `[JSON]` LandingPage)))))))) Source
A resource alias for dfareporting.landingPages.insert
method which the
LandingPagesInsert
request conforms to.
Creating a Request
Creates a value of LandingPagesInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data LandingPagesInsert Source
Inserts a new landing page for the specified campaign.
See: landingPagesInsert
smart constructor.
Request Lenses
lpiCampaignId :: Lens' LandingPagesInsert Int64 Source
Landing page campaign ID.
lpiProFileId :: Lens' LandingPagesInsert Int64 Source
User profile ID associated with this request.
lpiPayload :: Lens' LandingPagesInsert LandingPage Source
Multipart request metadata.