Campaign API
Get Campaigns
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.
GET
Query Parameters
The ID of the vendor. Omit to get campaigns for all vendors.
Minimum length:
1
Filter by the approval status of banner campaigns.
Available options:
approved
, pending
, rejected
The pagination offset.
Required range:
x > 0
The pagination limit.
Required range:
0 < x < 100
Filter by active/inactive campaigns.
Optional sort by date of campaign creation.
Available options:
asc
, desc