gogol-dfareporting-0.3.0: 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.Patch

Contents

Description

Updates an existing campaign landing page. This method supports patch semantics.

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

Synopsis

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

landingPagesPatch Source #

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.

Instances

Eq LandingPagesPatch Source # 
Data LandingPagesPatch Source # 

Methods

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

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

toConstr :: LandingPagesPatch -> Constr #

dataTypeOf :: LandingPagesPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LandingPagesPatch Source # 
Generic LandingPagesPatch Source # 
GoogleRequest LandingPagesPatch Source # 
type Rep LandingPagesPatch Source # 
type Rep LandingPagesPatch = D1 (MetaData "LandingPagesPatch" "Network.Google.Resource.DFAReporting.LandingPages.Patch" "gogol-dfareporting-0.3.0-1Sz7MzcQaqT30NKUHnKpNh" False) (C1 (MetaCons "LandingPagesPatch'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_lppCampaignId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))) (S1 (MetaSel (Just Symbol "_lppProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)))) ((:*:) (S1 (MetaSel (Just Symbol "_lppPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 LandingPage)) (S1 (MetaSel (Just Symbol "_lppId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))))))
type Scopes LandingPagesPatch Source # 
type Scopes LandingPagesPatch = (:) Symbol "https://www.googleapis.com/auth/dfatrafficking" ([] Symbol)
type Rs LandingPagesPatch Source # 

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.