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

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.

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

Synopsis

REST Resource

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

A resource alias for adexchangebuyer.budget.update method which the BudgetUpdate request conforms to.

Creating a Request

budgetUpdate Source #

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

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

data BudgetUpdate Source #

Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request.

See: budgetUpdate smart constructor.

Instances

Eq BudgetUpdate Source # 
Data BudgetUpdate Source # 

Methods

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

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

toConstr :: BudgetUpdate -> Constr #

dataTypeOf :: BudgetUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show BudgetUpdate Source # 
Generic BudgetUpdate Source # 

Associated Types

type Rep BudgetUpdate :: * -> * #

GoogleRequest BudgetUpdate Source # 

Associated Types

type Rs BudgetUpdate :: * #

type Scopes BudgetUpdate :: [Symbol] #

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

Request Lenses

buPayload :: Lens' BudgetUpdate Budget Source #

Multipart request metadata.

buAccountId :: Lens' BudgetUpdate Int64 Source #

The account id associated with the budget being updated.

buBillingId :: Lens' BudgetUpdate Int64 Source #

The billing id associated with the budget being updated.