Saltar para o conteúdo principal
GET
Get vendor offsite campaigns

Autorizações

Authorization
string
header
obrigatório

A valid API key generated in Topsort's UI. Use the TSE API key if calling auctions or events API, otherwise use the TSC API key.

Parâmetros de consulta

vendor_id
string
obrigatório

The ID of the vendor to get the campaign for.

dsps
enum<string>[]

The DSPs to filter campaigns by. If empty, all DSPs are included.

The DSP to scope the requested operation or to filter the response by.

Opções disponíveis:
google_ads,
meta
include_inactive
boolean | null
padrão:false

Whether to include inactive campaigns.

limit
integer
padrão:100

The maximum number of campaigns to return.

Intervalo necessário: x <= 100
next_page
string | null

The next page token.

Resposta

Successful Response

hasMore
boolean
obrigatório

Flag that indicates whether more results are available. true indicates there is a next page of results. false indicates this response contains the last page of results.

campaigns
OfsiteCampaign · object[]
obrigatório

The campaigns for the vendor

nextPage
string | null

Pagination cursor. Provide this value as a next_page query parameter in a new request to retrieve the next page of results.

Minimum string length: 1
Exemplo:

"SSBzb2xlbW5seSBzd2VhciB0aGF0IEkgYW0gdXAgdG8gbm8gZ29vZAo="