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 balanceAccepted values: notApplicable, billByRetailer, billByCriteo:warning: Note:
  • balances created through the API will, automatically, be denoted asbillByRetailer
  • only balances denoted as billByRetailer can be modified through the API
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. Results are paginated using pageIndex and pageSize query parameters; if omitted, defaults to 0 and 25, respectively - see API Response Sample Request
Sample Response

Get specific balance

Retrieves the balance details of one specific balances belonging to an account Sample Request
Sample Response

Create a new account 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.
Only Balances created through the API can be modified through this endpoint, ie, with billing type billByRetailer
Sample Request
Sample Response

Add or remove Balance funds

This endpoint allows to add or remove funds deposited in a specific balance
Only Balances created through the API can be modified through this endpoint, ie, with billing type billByRetailer
Request Body Parameters *Required Sample Request
Sample Response

Get all Campaigns on a specific Balance

This endpoint lists all campaigns on the specified balance. Results are paginated using pageIndex and pageSize query parameters; if omitted, defaults to 0 and 25, respectively - see API Response 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. Results are paginated using offset and limit query parameters; if omitted, defaults to 0 and 500, respectively - see API Response Additional query parameter limitToChangeTypes can be used to inform 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