Skip to main content
PUT
Replace sponsored brand campaign bids.

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 caminho

campaign-id
string<uuid>
obrigatório

The ID of the campaign.

Parâmetros de consulta

vendor_id
string
obrigatório

The ID of the vendor.

Minimum string length: 1

Corpo

application/json

Request body for replacing public sponsored brand bids.

bids
PublicCreateSponsoredBrandBid · object[]
obrigatório

An array of bids for this campaign.

Required array length: 1 - 500 elements
slotId
string
obrigatório

The external slot ID where the sponsored brand campaign will be shown.

Minimum string length: 1
content
Content · object
obrigatório

Dynamic content validated against the slot's JSON template.

slotIds
string[] | null

Additional external slot IDs. If present, each ID replicates the whole bid set.

Maximum array length: 10

Resposta

Successful Response