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.Patch

Contents

Description

Updates an existing ad. This method supports patch semantics.

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

Synopsis

REST Resource

type AdsPatchResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("ads" :> (QueryParam "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Ad :> Patch '[JSON] Ad))))))) Source #

A resource alias for dfareporting.ads.patch method which the AdsPatch request conforms to.

Creating a Request

adsPatch Source #

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

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

data AdsPatch Source #

Updates an existing ad. This method supports patch semantics.

See: adsPatch smart constructor.

Instances
Eq AdsPatch Source # 
Instance details

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

Data AdsPatch Source # 
Instance details

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

Methods

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

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

toConstr :: AdsPatch -> Constr #

dataTypeOf :: AdsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AdsPatch Source # 
Instance details

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

Generic AdsPatch Source # 
Instance details

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

Associated Types

type Rep AdsPatch :: Type -> Type #

Methods

from :: AdsPatch -> Rep AdsPatch x #

to :: Rep AdsPatch x -> AdsPatch #

GoogleRequest AdsPatch Source # 
Instance details

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

Associated Types

type Rs AdsPatch :: Type #

type Scopes AdsPatch :: [Symbol] #

type Rep AdsPatch Source # 
Instance details

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

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

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

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

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

type Rs AdsPatch = Ad

Request Lenses

adsdProFileId :: Lens' AdsPatch Int64 Source #

User profile ID associated with this request.

adsdPayload :: Lens' AdsPatch Ad Source #

Multipart request metadata.