curl --request POST \
--url https://api.topsort.com/public/v1/offsite-ads/campaigns \
--header 'Content-Type: application/json' \
--data '{
"budget": 1000,
"dsp": "google_ads",
"endDate": "2023-11-07T05:31:56Z",
"locationIds": [
"123456"
],
"name": "<string>",
"productIds": [
"123456"
],
"startDate": "2023-11-07T05:31:56Z"
}'
{
"jobId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
Create a new offsite campaign.
curl --request POST \
--url https://api.topsort.com/public/v1/offsite-ads/campaigns \
--header 'Content-Type: application/json' \
--data '{
"budget": 1000,
"dsp": "google_ads",
"endDate": "2023-11-07T05:31:56Z",
"locationIds": [
"123456"
],
"name": "<string>",
"productIds": [
"123456"
],
"startDate": "2023-11-07T05:31:56Z"
}'
{
"jobId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
The ID of the vendor to create the campaign for.
Successful Response
The response is of type object
.