gogol-adexchange-buyer-0.4.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 # 
Instance details

Defined in Network.Google.Resource.AdExchangeBuyer.Budget.Patch

Data BudgetPatch Source # 
Instance details

Defined in Network.Google.Resource.AdExchangeBuyer.Budget.Patch

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

Defined in Network.Google.Resource.AdExchangeBuyer.Budget.Patch

Generic BudgetPatch Source # 
Instance details

Defined in Network.Google.Resource.AdExchangeBuyer.Budget.Patch

Associated Types

type Rep BudgetPatch :: Type -> Type #

GoogleRequest BudgetPatch Source # 
Instance details

Defined in Network.Google.Resource.AdExchangeBuyer.Budget.Patch

Associated Types

type Rs BudgetPatch :: Type #

type Scopes BudgetPatch :: [Symbol] #

type Rep BudgetPatch Source # 
Instance details

Defined in Network.Google.Resource.AdExchangeBuyer.Budget.Patch

type Rep BudgetPatch = D1 (MetaData "BudgetPatch" "Network.Google.Resource.AdExchangeBuyer.Budget.Patch" "gogol-adexchange-buyer-0.4.0-EHd3Fo85oo55DtQ4u9aSwi" False) (C1 (MetaCons "BudgetPatch'" PrefixI True) (S1 (MetaSel (Just "_bpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Budget) :*: (S1 (MetaSel (Just "_bpAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)) :*: S1 (MetaSel (Just "_bpBillingId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)))))
type Scopes BudgetPatch Source # 
Instance details

Defined in Network.Google.Resource.AdExchangeBuyer.Budget.Patch

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

Defined in Network.Google.Resource.AdExchangeBuyer.Budget.Patch

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.