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.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.6" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("ads" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Ad :> Put '[JSON] Ad)))))) Source #

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

Creating a Request

adsUpdate Source #

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 Source #

Updates an existing ad.

See: adsUpdate smart constructor.

Instances

Eq AdsUpdate Source # 
Data AdsUpdate Source # 

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 Source # 
Generic AdsUpdate Source # 

Associated Types

type Rep AdsUpdate :: * -> * #

GoogleRequest AdsUpdate Source # 

Associated Types

type Rs AdsUpdate :: * #

type Scopes AdsUpdate :: [Symbol] #

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

Request Lenses

aProFileId :: Lens' AdsUpdate Int64 Source #

User profile ID associated with this request.

aPayload :: Lens' AdsUpdate Ad Source #

Multipart request metadata.