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

Contents

Description

Updates an existing advertiser group. This method supports patch semantics.

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

Synopsis

REST Resource

type AdvertiserGroupsPatchResource = "dfareporting" :> ("v2.7" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("advertiserGroups" :> (QueryParam "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AdvertiserGroup :> Patch '[JSON] AdvertiserGroup))))))) Source #

A resource alias for dfareporting.advertiserGroups.patch method which the AdvertiserGroupsPatch request conforms to.

Creating a Request

advertiserGroupsPatch Source #

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

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

data AdvertiserGroupsPatch Source #

Updates an existing advertiser group. This method supports patch semantics.

See: advertiserGroupsPatch smart constructor.

Instances

Eq AdvertiserGroupsPatch Source # 
Data AdvertiserGroupsPatch Source # 

Methods

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

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

toConstr :: AdvertiserGroupsPatch -> Constr #

dataTypeOf :: AdvertiserGroupsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AdvertiserGroupsPatch Source # 
Generic AdvertiserGroupsPatch Source # 
GoogleRequest AdvertiserGroupsPatch Source # 
type Rep AdvertiserGroupsPatch Source # 
type Rep AdvertiserGroupsPatch = D1 (MetaData "AdvertiserGroupsPatch" "Network.Google.Resource.DFAReporting.AdvertiserGroups.Patch" "gogol-dfareporting-0.3.0-1Sz7MzcQaqT30NKUHnKpNh" False) (C1 (MetaCons "AdvertiserGroupsPatch'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_agpProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))) ((:*:) (S1 (MetaSel (Just Symbol "_agpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 AdvertiserGroup)) (S1 (MetaSel (Just Symbol "_agpId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))))))
type Scopes AdvertiserGroupsPatch Source # 
type Scopes AdvertiserGroupsPatch = (:) Symbol "https://www.googleapis.com/auth/dfatrafficking" ([] Symbol)
type Rs AdvertiserGroupsPatch Source # 

Request Lenses

agpProFileId :: Lens' AdvertiserGroupsPatch Int64 Source #

User profile ID associated with this request.