Balances
View and manage all available balances across campaigns
Getting Started
Learn more about campaign management with our API here
Endpoints
Method | Endpoint | Description |
---|---|---|
GET | /accounts/{accountId}/balances | Retrieve all balances associated with a specific account. |
GET | /balances/{balanceId}/campaigns | Retrieve all campaigns linked to a specific balance. |
POST | /balances/{balanceId}/campaigns/append | Add campaigns to a specific balance. |
DELETE | /balances/{balanceId}/campaigns | Remove campaigns from a specific balance. |
GET | /retail-media/insertion-order-history/{externalInsertionOrderId}/change-data-capture | Remove campaigns from a specific balance. |
Request Body Parameters
Data Type: string
Description: Campaign ID to which balance should be appended or deleted from
Values: int64
Balance Response Attributes
Data Type: string
Values: int64
Description: Balance ID
name
Data Type: string
Values: -
Description: Balance name
poNumber
Data Type: string
Values: -
Description: Purchase order number
deposited
Data Type: number
Values: -
Description: Amount of funds deposited, uncapped if null
spent
Data Type: number
Values: Amount of funds already spent
Description: Amount of funds already spent
remaining
Data Type: number
Values: between 0 and deposited
Description: Amount of funds remaining until cap is hit, null
if not set
startDate
Data Type: date
Values: YYYY-MM-DD
Description: Balance start date in the account timeZone if not set
endDate
Data Type: date
Values: YYYY-MM-DD
Description: Balance end date in the account timeZone available indefinitely if null
status
Data Type: enum
Values: active
, scheduled
, ended
Description: Balance status
createdAt
Data Type: timestamp
Values: ISO-8601
Description: Timestamp in UTC of balance creation
updatedAt
Data Type: timestamp
Values: ISO-8601
Description: Timestamp in UTC of balance updated
memo
Data Type: string
Values: string value
Description: An optional memo note that can be set on that balance
DateOfModification
Data Type: DateTimeOffset
Values: ISO-8601 datetime format, e.g. "2023-04-02T13:43:42+02:00"
Description: Date when data change has occured