POST
/
public
/
v1
/
offsite-ads
/
advertisers
Create a new advertiser
curl --request POST \
  --url https://api.topsort.com/public/v1/offsite-ads/advertisers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "dsp": "google_ads",
  "vendorId": "<string>"
}'
{
  "jobId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
header
required

A valid API key generated in Topsort's UI.

Body

application/json
dsp
enum<string>
required

The Demand-Side Platform (DSP) associated with the campaign

Available options:
google_ads,
meta
vendorId
string
required

The vendor ID that is going to be onboarded.

Response

Successful Response

jobId
string<uuid>
required

The unique identifier for the queued job.