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.Ads.Update

Contents

Description

Updates an existing ad.

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

Synopsis

REST Resource

type AdsUpdateResource = "dfareporting" :> ("v2.7" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("ads" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Ad :> Put '[JSON] Ad)))))) #

A resource alias for dfareporting.ads.update method which the AdsUpdate request conforms to.

Creating a Request

adsUpdate #

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

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

data AdsUpdate #

Updates an existing ad.

See: adsUpdate smart constructor.

Instances

Eq AdsUpdate # 
Data AdsUpdate # 

Methods

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

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

toConstr :: AdsUpdate -> Constr #

dataTypeOf :: AdsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AdsUpdate # 
Generic AdsUpdate # 

Associated Types

type Rep AdsUpdate :: * -> * #

GoogleRequest AdsUpdate # 

Associated Types

type Rs AdsUpdate :: * #

type Scopes AdsUpdate :: [Symbol] #

type Rep AdsUpdate # 
type Rep AdsUpdate = D1 (MetaData "AdsUpdate" "Network.Google.Resource.DFAReporting.Ads.Update" "gogol-dfareporting-0.3.0-4Vz9myrj4dyHC7jfOIh39Z" False) (C1 (MetaCons "AdsUpdate'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_aProFileId") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 (Textual Int64))) (S1 (MetaSel (Just Symbol "_aPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Ad))))
type Scopes AdsUpdate # 
type Scopes AdsUpdate = (:) Symbol "https://www.googleapis.com/auth/dfatrafficking" ([] Symbol)
type Rs AdsUpdate # 
type Rs AdsUpdate = Ad

Request Lenses

aProFileId :: Lens' AdsUpdate Int64 #

User profile ID associated with this request.

aPayload :: Lens' AdsUpdate Ad #

Multipart request metadata.