Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.Google.Resource.AdExchangeBuyer.Budget.Patch
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
.
- type BudgetPatchResource = "adexchangebuyer" :> ("v1.4" :> ("billinginfo" :> (Capture "accountId" (Textual Int64) :> (Capture "billingId" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Budget :> Patch '[JSON] Budget))))))
- budgetPatch :: Budget -> Int64 -> Int64 -> BudgetPatch
- data BudgetPatch
- bpPayload :: Lens' BudgetPatch Budget
- bpAccountId :: Lens' BudgetPatch Int64
- bpBillingId :: Lens' BudgetPatch Int64
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)))))) #
A resource alias for adexchangebuyer.budget.patch
method which the
BudgetPatch
request conforms to.
Creating a Request
Arguments
:: Budget | |
-> Int64 | |
-> Int64 | |
-> BudgetPatch |
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 #
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 # | |
Data BudgetPatch # | |
Show BudgetPatch # | |
Generic BudgetPatch # | |
GoogleRequest BudgetPatch # | |
type Rep BudgetPatch # | |
type Scopes BudgetPatch # | |
type Rs BudgetPatch # | |
Request Lenses
bpPayload :: Lens' BudgetPatch Budget #
Multipart request metadata.
bpAccountId :: Lens' BudgetPatch Int64 #
The account id associated with the budget being updated.
bpBillingId :: Lens' BudgetPatch Int64 #
The billing id associated with the budget being updated.