gogol-adexchange-buyer-0.3.0: Google Ad Exchange Buyer 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.AdExchangeBuyer.Budget.Patch

Contents

Description

Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request. This method supports patch semantics.

See: Ad Exchange Buyer API Reference for adexchangebuyer.budget.patch.

Synopsis

REST Resource

type BudgetPatchResource = "adexchangebuyer" :> ("v1.4" :> ("billinginfo" :> (Capture "accountId" (Textual Int64) :> (Capture "billingId" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Budget :> Patch '[JSON] Budget)))))) Source #

A resource alias for adexchangebuyer.budget.patch method which the BudgetPatch request conforms to.

Creating a Request

budgetPatch Source #

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

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

data BudgetPatch Source #

Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request. This method supports patch semantics.

See: budgetPatch smart constructor.

Instances

Eq BudgetPatch Source # 
Data BudgetPatch Source # 

Methods

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

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

toConstr :: BudgetPatch -> Constr #

dataTypeOf :: BudgetPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show BudgetPatch Source # 
Generic BudgetPatch Source # 

Associated Types

type Rep BudgetPatch :: * -> * #

GoogleRequest BudgetPatch Source # 

Associated Types

type Rs BudgetPatch :: * #

type Scopes BudgetPatch :: [Symbol] #

type Rep BudgetPatch Source # 
type Rep BudgetPatch = D1 (MetaData "BudgetPatch" "Network.Google.Resource.AdExchangeBuyer.Budget.Patch" "gogol-adexchange-buyer-0.3.0-HwrQxbw7Q3S8KGsuNoMnAW" False) (C1 (MetaCons "BudgetPatch'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_bpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Budget)) ((:*:) (S1 (MetaSel (Just Symbol "_bpAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))) (S1 (MetaSel (Just Symbol "_bpBillingId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))))))
type Scopes BudgetPatch Source # 
type Scopes BudgetPatch = (:) Symbol "https://www.googleapis.com/auth/adexchange.buyer" ([] Symbol)
type Rs BudgetPatch Source # 

Request Lenses

bpPayload :: Lens' BudgetPatch Budget Source #

Multipart request metadata.

bpAccountId :: Lens' BudgetPatch Int64 Source #

The account id associated with the budget being updated.

bpBillingId :: Lens' BudgetPatch Int64 Source #

The billing id associated with the budget being updated.