Endpoint to retrieve campaigns. Campaigns can be filtered by Vendor ID and status.
It is expected to use for getting all campaigns of a marketplace & all campaigns of a vendor in dashboards. Filtering by status is expected to use at review page getting campaigns approved, pending tabs.
A valid API key generated in Topsort's UI. Use the TSE API key if calling auctions or events API, otherwise use the TSC API key.
The ID of the vendor. Omit to get campaigns for all vendors.
1Filter by the approval status of banner campaigns.
approved, pending, rejected The pagination offset.
x >= 0The pagination limit.
0 <= x <= 100Filter by active/inactive campaigns. When start_date or end_date is provided, this reflects the activation flag only, not whether the campaign is currently live.
Filter by external campaign ID.
The ID of the slot. Used to filter banner and sponsored brand campaigns by slot.
Filter by ad format.
listing, banner Optional sort by date of campaign creation. Deprecated. Use order_by instead.
asc, desc Comma-separated order by clauses, e.g. 'created_at:asc,name:desc'. Supported dimensions: created_at, start_date, end_date, name, campaign_id.
Filter campaigns that are active on or after this date (campaigns whose end date is on or after this value).
Filter campaigns that are active on or before this date (campaigns whose start date is on or before this value).