curl --request GET \
--url https://api.topsort.com/public/v1/offsite-ads/campaigns
{
"campaigns": [
{
"budget": 123,
"campaignId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dsp": "google_ads",
"endDate": "2023-11-07T05:31:56Z",
"name": "<string>",
"startDate": "2023-11-07T05:31:56Z",
"status": "ENABLED"
}
],
"hasMore": true,
"nextPage": "SSBzb2xlbW5seSBzd2VhciB0aGF0IEkgYW0gdXAgdG8gbm8gZ29vZAo="
}
Get vendor offsite campaigns.
curl --request GET \
--url https://api.topsort.com/public/v1/offsite-ads/campaigns
{
"campaigns": [
{
"budget": 123,
"campaignId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dsp": "google_ads",
"endDate": "2023-11-07T05:31:56Z",
"name": "<string>",
"startDate": "2023-11-07T05:31:56Z",
"status": "ENABLED"
}
],
"hasMore": true,
"nextPage": "SSBzb2xlbW5seSBzd2VhciB0aGF0IEkgYW0gdXAgdG8gbm8gZ29vZAo="
}
The ID of the vendor to get the campaign for.
The DSP to filter campaigns by.
google_ads
, meta
The statuses to filter campaigns by.
Show child attributes
The maximum number of campaigns to return.
0 < x <= 100
The next page token.
Successful Response
The response is of type object
.