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 |
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
.
- type BudgetUpdateResource = "adexchangebuyer" :> ("v1.4" :> ("billinginfo" :> (Capture "accountId" (Textual Int64) :> (Capture "billingId" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Budget :> Put '[JSON] Budget))))))
- budgetUpdate :: Budget -> Int64 -> Int64 -> BudgetUpdate
- data BudgetUpdate
- buPayload :: Lens' BudgetUpdate Budget
- buAccountId :: Lens' BudgetUpdate Int64
- buBillingId :: Lens' BudgetUpdate Int64
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
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.
Request Lenses
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.