Magnite - Update Budget Fields
Overviewβ
Quickly update the budget fields in Magnite. The blueprint allows for both single updates (by providing the ID) or bulk updates (by providing the file).
Bulk updatesβ
A CSV file can be provided for updating multiple campaigns. The file must contain the following fields:
- id
- budget_value
Optional fields to update include:
budget_period
: (hour, day, week, month, life)budget_pacing
: (asap, smooth, even, front_loaded)budget_metric
: (revenue, gross_cost, net_cost, requests, impressions, clicks)
Single updatesβ
In order to update a single campaign, you must minimally provide the associated ID
as well as the desired budget value to set.
Variablesβ
Name | Reference | Type | Required | Default | Options | Description |
---|---|---|---|---|---|---|
Username | MAGNITE_USERNAME | Alphanumeric | β | - | - | The username to authenticate with |
Password | MAGNITE_PASSWORD | Password | β | - | - | None |
Endpoint | MAGNITE_ENDPOINT | Select | β | - | Campaigns: campaigns | None |
ID | MAGNITE_ID | Alphanumeric | β | - | - | The ID of the associated item to update. Required for single updates |
File Name | MAGNITE_FILE | Alphanumeric | β | - | - | The file that contains multiple ID's to update. Required for bulk updates |
Budget Value | MAGNITE_BUDGET_VALUE | Integer | β | - | - | The new budget value to set. Required if performing a single update |
Budget Period | MAGNITE_BUDGET_PERIOD | Alphanumeric | β | - | - | The optional budget period to set |
Budget Pacing | MAGNITE_BUDGET_PACING | Alphanumeric | β | - | - | The optional budget pacing to set |
YAMLβ
Below is the YAML template for this Blueprint and can be used in the Fleet YAML Editor.
source:
blueprint: Magnite - Update Budget Fields
inputs:
MAGNITE_USERNAME: null ## REQUIRED
MAGNITE_PASSWORD: null ## REQUIRED
MAGNITE_ENDPOINT: null ## REQUIRED
MAGNITE_ID: null
MAGNITE_FILE: null
MAGNITE_BUDGET_VALUE: null
MAGNITE_BUDGET_PERIOD: null
MAGNITE_BUDGET_PACING: null
type: BLUEPRINT
guardrails:
retry_count: 1
retry_wait: 0h0m0s
runtime_cutoff: 1h0m0s
exclude_exit_code_ranges:
- '200'
- '201'
- '202'
- '203'