Skip to main content
View and manage all available balances across campaigns
Getting StartedLearn more about campaign management with our API here

Endpoints

Balance Parameters

AttributeData TypeDescription
idstringBalance IDAccepted values: string of int64
Writeable? N / Nullable? N
name*stringBalance nameAccepted values: up to 255-char strings
Writeable? Y / Nullable? N
poNumberstringPurchase order numberAccepted values: up to 32-char strings
Writeable? Y / Nullable? Y
depositeddecimalAmount of funds deposited; uncapped if nullAccepted values: deposited ≥ 0.0
Writeable? Y / Nullable? Y
spentdecimalAmount of funds already spentAccepted values: 0 ≤ spentdeposited
Writeable? N / Nullable? N
remainingdecimalAmount of funds already spentAccepted values: 0 ≤ remainingdeposited (or null, if deposited not set)
Writeable? N / Nullable? Y
startDate*timestampBalance start date; if time zone is not set, will consider Account’s time zone as defaultAccepted values: yyyy-mm-ddThh:mm:ss±hh:mm(in ISO-8601 )
Writeable? Y / Nullable? N
endDatetimestampBalance end date; if time zone is not set, will consider Account’s time zone as defaultAccepted values: yyyy-mm-ddThh:mm:ss±hh:mm(in ISO-8601 )
Default: if null or absent, balance will be available indefinitely
Writeable? Y / Nullable? Y
statusenumBalance current statusAccepted values: active, scheduled, ended
Writeable? N / Nullable? N
createdAttimestampTimestamp of balance creation, in UTCAccepted values: yyyy-mm-ddThh:mm:ss±hh:mm (in ISO-8601)
Writeable? N / Nullable? N
updatedAttimestampTimestamp of last balance update, in UTCAccepted values: yyyy-mm-ddThh:mm:ss±hh:mm (in ISO-8601)
Writeable? N / Nullable? N
memostringAn optional memo note that can be set in the balanceAccepted values: up to 250-char strings
Writeable? Y / Nullable? Y
balanceTypeenumThe balance type is computed based on the deposited amount:Accepted values: capped, uncapped
Writeable? N / Nullable? N
  • capped: if the deposited amount is provided.
  • uncapped: when there is no amount defined (set to null)
spendTypeenumThe type of balance that will be used based on the campaign typeAccepted values: Onsite, Offsite, OffsiteAwareness
Writeable? N / Nullable? N
privateMarketBillingTypeenumBilling type of the balance (for Private Market)Accepted values: notApplicable, billByRetailer, billByCriteo
Writeable? N / Nullable? N
*Required for Balance creation

Balance History Parameters

AttributeData TypeDescription
dateOfModificationtimestampTimestamp of balance updateAccepted values: yyyy-mm-ddThh:mm:ss±hh:mm (in ISO-8601)
Writeable? N / Nullable? N
modifiedByUserstringUsername who modified the insertion orderAccepted values: strings in format “j.doe”
Writeable? N / Nullable? N
changeTypeenumDefinition of the type of change in a balanceAccepted values:
  • BalanceCreated: new balance is created
  • BalanceAdded: capped balance amount was increased by a certain amount
  • BalanceRemoved: capped balance is decreased by a certain amount
  • BalanceUncapped: capped balance is changed to uncapped
  • BalanceCapped: uncapped balance is changed to capped
  • StartDate: start date is modified
  • EndDate: end date is modified
  • BalanceName: balance name is modified
  • PoNumber: PO Number is modified
  • ValueAdd: new additional amount is added to the balance
  • SalesforceId: SalesForceID (internal Criteo ID) is modified by Criteo (this would appear for Criteo billed balances)
changeDetailsobjectStructure with the change details (from Balance History endpoint)Parameters:
  • previousValue: previous value of a property of the balance
  • currentValue: current value of a property of the balance
  • changeValue: change value of a property of the balance

Get all Balances

This endpoint lists all balances in an account. The results are provided in a paginated format. Sample Request
Sample Response

Create a Balance

This endpoint creates a new balance in the specified account. Sample Request
Sample Response

Modify Balance metadata

This endpoint modifies the metadata of a specified balance, like name, poNumber, startDate or endDate. To modify deposited funds, check the following endpoint /accounts/{accountId}/balances/{balanceId}/add-funds Sample Request
Sample Response

Add or remove Balance funds

This endpoint allows to add or remove funds deposited in a specific balance Request Body Parameters *Required Sample Request
Sample Response

Get all Campaigns on a specific Balance

This endpoint lists all campaigns on the specified balance. The results are provided in a paginated format. Response Body Parameters Sample Request
Sample Response

Add Campaigns to a specific Balance

This endpoint adds one or more campaigns to the specified balance. The results are provided in a single page. In this example, a campaign had already existed on the balance before two new additions. Request Body Parameters Sample Request
Sample Response

Remove Campaigns from a specific Balance

This endpoint removes one or more campaigns from the specified balance. The resulting state of the balance is returned as a single page. Request Body Parameters Sample Request
Sample Response

Get Balance History

This endpoint lists all changes made to a specific balance. The results are provided in a paginated format (using query parameters offset and limit) and can be filtered by a comma-separated list of changeType values.
Modified UsersmodifiedByUser - When a balance is updated via Criteo’s Retail Media UI, the user login name will be provided. For instance, if “Kip Heaney” updated the balance on 2023-11-07, it indicates that Kip made the change through the Criteo Retail Media UI.If a balance is updated through the Criteo API, the name of the API application responsible for the change will be shown. For example, on 2024-03-20, the balance was updated by the API application Retail Media API Application.
Sample Request: retrieve all changes
Sample Response: retrieve all changes
Sample Request: retrieve only changes in balance values (added / removed)
Sample Response: retrieve only changes in balance values (added / removed)

Responses