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.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" :> ("v3.2" :> ("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 # 
Instance details

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

Data AdsUpdate Source # 
Instance details

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

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 # 
Instance details

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

Generic AdsUpdate Source # 
Instance details

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

Associated Types

type Rep AdsUpdate :: Type -> Type #

GoogleRequest AdsUpdate Source # 
Instance details

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

Associated Types

type Rs AdsUpdate :: Type #

type Scopes AdsUpdate :: [Symbol] #

type Rep AdsUpdate Source # 
Instance details

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

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

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

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

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

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.