Endpoints
| Method | Endpoint | Description |
|---|---|---|
GET | /campaigns/{campaignId}/campaign-budget-overrides | Retrieves all existing budget overrides at the campaign level. |
PUT | /campaigns/{campaignId}/campaign-budget-overrides | Replaces all existing campaign budget override settings. Use this endpoint can be used to add/remove or update existing budget overrides. |
GET | /line-items/{lineItemId}/line-item-budget-overrides | Retrieves all existing budget overrides at the line-item level. |
PUT | /line-items/{lineItemId}/line-item-budget-override | Replaces all existing line-item budget override settings. Use this endpoint to add/remove or update existing budget overrides. |
Budget Override Attributes
| Attribute | Data Type | Description |
|---|---|---|
monthlyBudgetOverrides | list<object> | Line item budget override monthly part, chronological order restrictedParameters:- startMonth |
durationmaxMonthlySpendstatus| |dailyLineItemBudgetOverrides| list<object> | Line item budget override daily part, chronological order restrictedParameters:-startDatedurationmaxDailySpendstatus| |startMonth| string | Start month of monthly budget override.- *Note**: ifnull, thestartMonthwould be the following month of the last item in the override sequence.Accepted values: strings of dateYYYY-MMWriteable? Y / Nullable? Y | |startDate| date | Start date of daily budget override- *Note**: ifnull, thestartDatewould be the following date of the last item in the override sequenceAccepted values:YYYY-MM-DDWriteable? Y / Nullable? Y | |duration| string | The number of months (for monthly Budget Override) or days (daily Budget Override) that the override is active, fromstartMonthorstartDate, respectivelyAccepted values:-1M,2M,3M… for monthly override (must end withMorm)1D,2D,3D… for daily override (must end withDord) Writeable? Y / Nullable? N | |maxMonthlySpend| decimal | Monthly budget override maximum monthly spend amountAccepted values:maxMonthlySpend≥ 0.0 Writeable? Y / Nullable? N | |maxDailySpend| decimal | Daily budget override maximum daily spend amountAccepted values:maxDailySpend≥ 0.0 Writeable? Y / Nullable? N | |status| enum | Monthly or daily budget override computed statusAccepted values:Expired,Active,UpcomingWriteable? N / Nullable? N |
Get Campaign Budget Override
Retrieves all existing budget overrides at campaign level: Sample RequestUpdate Campaign Budget Override
Sample RequestGet Line Item Budget Override
Retrieves all existing budget overrides at line item level: Sample RequestUpdate Line Item Budget Override
Be careful with overlapping different overridesBudget overrides cannot overlap. When scheduling a new override make sure it doesn’t overlap with the duration of other overrides to avoid 
400 validation errors.
Responses
| Response | Description |
|---|---|
🔵 200 | Call executed with success |
🔵 201 | Budget override was created with success |
🔴 400 | * *validation-errors**:
|