Passer au contenu principal
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 '
{
  "vendorId": "<string>",
  "dsp": "google_ads"
}
'
{
  "jobId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Autorisations

Authorization
string
header
requis

A valid API key generated in Topsort's UI.

Corps

application/json
vendorId
string
requis

The vendor ID that is going to be onboarded.

dsp
enum<string>
requis

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

Options disponibles:
google_ads,
meta

Réponse

Successful Response

jobId
string<uuid>
requis

The unique identifier for the queued job.