POST
/
v2
/
offsite-ads
/
campaigns
curl --request POST \
  --url https://api.topsort.com/v2/offsite-ads/campaigns \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "budget": 123,
  "dsp": "google_ads",
  "endDate": "2023-11-07T05:31:56Z",
  "locationIds": [
    "<string>"
  ],
  "name": "<string>",
  "productIds": [
    "<string>"
  ],
  "startDate": "2023-11-07T05:31:56Z"
}'
{
  "jobId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

202
application/json
Successful Response

The response is of type object.