gogol-dfareporting-0.1.1: Google DCM/DFA Reporting And Trafficking SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.DFAReporting.LandingPages.Insert

Contents

Description

Inserts a new landing page for the specified campaign.

See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.landingPages.insert.

Synopsis

REST Resource

type LandingPagesInsertResource = "dfareporting" :> ("v2.6" :> ("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

landingPagesInsert Source #

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.

Instances

Eq LandingPagesInsert Source # 
Data LandingPagesInsert Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LandingPagesInsert -> c LandingPagesInsert #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LandingPagesInsert #

toConstr :: LandingPagesInsert -> Constr #

dataTypeOf :: LandingPagesInsert -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c LandingPagesInsert) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LandingPagesInsert) #

gmapT :: (forall b. Data b => b -> b) -> LandingPagesInsert -> LandingPagesInsert #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LandingPagesInsert -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LandingPagesInsert -> r #

gmapQ :: (forall d. Data d => d -> u) -> LandingPagesInsert -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> LandingPagesInsert -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> LandingPagesInsert -> m LandingPagesInsert #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LandingPagesInsert -> m LandingPagesInsert #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LandingPagesInsert -> m LandingPagesInsert #

Show LandingPagesInsert Source # 
Generic LandingPagesInsert Source # 
GoogleRequest LandingPagesInsert Source # 
type Rep LandingPagesInsert Source # 
type Rep LandingPagesInsert = D1 (MetaData "LandingPagesInsert" "Network.Google.Resource.DFAReporting.LandingPages.Insert" "gogol-dfareporting-0.1.1-7fQgClZr9j5JkRg9VaGiYc" False) (C1 (MetaCons "LandingPagesInsert'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lpiCampaignId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))) ((:*:) (S1 (MetaSel (Just Symbol "_lpiProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))) (S1 (MetaSel (Just Symbol "_lpiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 LandingPage)))))
type Scopes LandingPagesInsert Source # 
type Scopes LandingPagesInsert = (:) Symbol "https://www.googleapis.com/auth/dfatrafficking" ([] Symbol)
type Rs LandingPagesInsert Source # 

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.