GuidesAPI ReferenceChangelogDiscussions
GuidesAPI ReferenceChangelogLog In

API Pattern

Base URL{endpoint}

Synchronous Endpoints

  • All campaign operations except for Catalogs are achieved through synchronous endpoints
Create an entityPOST/{plural-parent-entity-name}/{parentEntityId}/{plural-entity-name}
Delete from a listPOST/{plural-parent-entity-name}/{parentEntityId}/{plural-entity-name}/delete
Append to a listPOST/{plural-parent-entity-name}/{parentEntityId}/{plural-entity-name}/append
Get all entitiesGET/{plural-parent-entity-name}/{parentEntityId}/{plural-entity-name}
Get a specific entityGET/{plural-entity-name}/{entityId}
Update a specific entityPUT/{plural-entity-name}/{entityId}


  • 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 & retrieved through asynchronous endpoints
Create a resource requestPOST/{plural-parent-entity-name}/{parentEntityId}/{plural-entity-name}
Retrieve the status of the requested resourceGET/{plural-entity-name}/{entityId}/status
Retrieve the output of the requested resourceGET/{plural-entity-name}/{entityId}/output

Bulk Calls

Our Reporting endpoints allow for bulk operations. Specifically, through the 2 following endpoints

POST /reports/campaigns
POST /reports/line-items

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, same applies to the line-item endpoint):

When requesting a single Id then id: CampaignId1


When requesting several Ids then ids: ["CampaignId1", "CampaignId2",..."CampaignIdn"]



Do not use id and ids in the same call, this will lead to an invalid request response.
For more details, refer to our Report Request Attributes.

Error Codes

When sending more than 50 ids, you will get the following 400 Bad request HTTP Response

   "title":"Requests are capped for 50 unique ids, 51 were provided",
   "detail":"ids Requests are capped for 50 unique ids, 51 were provided (Value: \"1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51\")",

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

  • Instance: the report requested

  • Detail: Title with a list of requested ids

  • Souce: The parameter that caused the error (ids in this case)

What’s Next