gogol-dfareporting-0.4.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.Campaigns.Update

Contents

Description

Updates an existing campaign.

See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.campaigns.update.

Synopsis

REST Resource

type CampaignsUpdateResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("campaigns" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Campaign :> Put '[JSON] Campaign)))))) Source #

A resource alias for dfareporting.campaigns.update method which the CampaignsUpdate request conforms to.

Creating a Request

campaignsUpdate Source #

Creates a value of CampaignsUpdate with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data CampaignsUpdate Source #

Updates an existing campaign.

See: campaignsUpdate smart constructor.

Instances
Eq CampaignsUpdate Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Campaigns.Update

Data CampaignsUpdate Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Campaigns.Update

Methods

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

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

toConstr :: CampaignsUpdate -> Constr #

dataTypeOf :: CampaignsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CampaignsUpdate Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Campaigns.Update

Generic CampaignsUpdate Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Campaigns.Update

Associated Types

type Rep CampaignsUpdate :: Type -> Type #

GoogleRequest CampaignsUpdate Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Campaigns.Update

Associated Types

type Rs CampaignsUpdate :: Type #

type Scopes CampaignsUpdate :: [Symbol] #

type Rep CampaignsUpdate Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Campaigns.Update

type Rep CampaignsUpdate = D1 (MetaData "CampaignsUpdate" "Network.Google.Resource.DFAReporting.Campaigns.Update" "gogol-dfareporting-0.4.0-9N9I1R95b3Y5YmOKldvlKw" False) (C1 (MetaCons "CampaignsUpdate'" PrefixI True) (S1 (MetaSel (Just "_cuProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)) :*: S1 (MetaSel (Just "_cuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Campaign)))
type Scopes CampaignsUpdate Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Campaigns.Update

type Scopes CampaignsUpdate = "https://www.googleapis.com/auth/dfatrafficking" ': ([] :: [Symbol])
type Rs CampaignsUpdate Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Campaigns.Update

Request Lenses

cuProFileId :: Lens' CampaignsUpdate Int64 Source #

User profile ID associated with this request.

cuPayload :: Lens' CampaignsUpdate Campaign Source #

Multipart request metadata.