Skip to main content

Base URL


Synchronous Endpoints

All campaign operations except for Catalogs are achieved through synchronous endpoints. Those will return a response in real-time.
  • “Create” operations using the POST method expect every Required (R) field; omitting Optional (O) fields will set those fields to Default values.
  • “Update” operations using the PUT method expect every Write (W) field; omitting these fields is equivalent to setting them to null, if possible.

Asynchronous Endpoints

“Catalogs” and “Reports” are requested and retrieved through asynchronous endpoints. Those will send a response once the request is done processing (not in real-time).

Bulk Calls

Our “Reporting” endpoints allow for bulk operations. Specifically, through the two following endpoints: You will be able to send us several CampaignIds or LineItemIds, with a maximum of 50 IDs per call. To do so, please use the following attributes and terminology in one or the other endpoint (example below for the POST /report/campaigns endpoint, the same applies to the line-item endpoint):
When requesting a single ID then use: "id": "CampaignId1"ORWhen requesting several IDs then use "ids": ["CampaignId1", "CampaignId2", ..., "CampaignIdn"]
Do not mix ID with IDsPlease make sure to not use id and ids in the same call, as this will lead to an invalid request response.

Error Codes

When sending more than 50 IDs, you will get the following 400 Bad request HTTP Response:
This Contains:
  • Error code: exceeded-ids-cap
  • Error title: Requests are capped for 50 unique ids, {count of ids requested} were provided
  • Error Type: validation
  • A traceId: aa47dd83-8ca9-4a79-a179-ad5be6932ff1
  • Instance: the report requested (here /api/v1/reports/line-item)
  • Detail: Title with a list of requested IDs
  • Source: The parameter that caused the error (IDs in this case)

What’s Next