Skip to main content

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​

NameReferenceTypeRequiredDefaultOptionsDescription
UsernameMAGNITE_USERNAMEAlphanumericβœ…--The username to authenticate with
PasswordMAGNITE_PASSWORDPasswordβœ…--None
EndpointMAGNITE_ENDPOINTSelectβœ…-Campaigns: campaigns

None
IDMAGNITE_IDAlphanumericβž–--The ID of the associated item to update. Required for single updates
File NameMAGNITE_FILEAlphanumericβž–--The file that contains multiple ID's to update. Required for bulk updates
Budget ValueMAGNITE_BUDGET_VALUEIntegerβž–--The new budget value to set. Required if performing a single update
Budget PeriodMAGNITE_BUDGET_PERIODAlphanumericβž–--The optional budget period to set
Budget PacingMAGNITE_BUDGET_PACINGAlphanumericβž–--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'