GET
/
public
/
v1
/
offsite-ads
/
audiences
curl --request GET \
  --url https://api.topsort.com/public/v1/offsite-ads/audiences
{
  "audiences": [
    {
      "description": "<string>",
      "id": "<string>",
      "name": "<string>"
    }
  ],
  "dsp": "google_ads",
  "hasMore": true,
  "nextPage": "SSBzb2xlbW5seSBzd2VhciB0aGF0IEkgYW0gdXAgdG8gbm8gZ29vZAo="
}

Query Parameters

vendor_id
string
required

The ID of the vendor to list the audiences for.

Example:

"vendor_123"

dsp
enum<string>
required

The DSP to filter campaigns by.

Available options:
google_ads
Example:

"google_ads"

next_page
string

Pagination cursor as provided in an earlier response. If provided will fetch the next page of results.

Response

200
application/json

Successful Response

The response is of type object.

GET
/
public
/
v1
/
offsite-ads
/
audiences
curl --request GET \
  --url https://api.topsort.com/public/v1/offsite-ads/audiences
{
  "audiences": [
    {
      "description": "<string>",
      "id": "<string>",
      "name": "<string>"
    }
  ],
  "dsp": "google_ads",
  "hasMore": true,
  "nextPage": "SSBzb2xlbW5seSBzd2VhciB0aGF0IEkgYW0gdXAgdG8gbm8gZ29vZAo="
}

Query Parameters

vendor_id
string
required

The ID of the vendor to list the audiences for.

Example:

"vendor_123"

dsp
enum<string>
required

The DSP to filter campaigns by.

Available options:
google_ads
Example:

"google_ads"

next_page
string

Pagination cursor as provided in an earlier response. If provided will fetch the next page of results.

Response

200
application/json

Successful Response

The response is of type object.