Budgets API




Create a Budget

Required parameters: budget_metric, budget_value, budget_period
Optional parameter: budget_pacing (if you leave blank it defaults to ASAP)
Budget pacing values: "front_loaded" or "even"

Please note that if you want to add a budget on top of a preexisting one, it cannot have the same budget period.

SDK

Use tab completion with SDK to auto-complete function names or show field options!

REST API

PUT /api/v0/demand_tags/<id>

Headers

Body (example)


Response

Status code 200


Edit a Budget

SDK

REST API

PUT /api/v0/demand_tags/<id>

Headers

Body (example)

{
    "budgets":[{
      "budget_pacing":"front_loaded",
      "budget_value": 1300,
      "id":139151
      }]
}

Required parameters: id

Response

Status code 200