Skip to main content
PUT
Replace sponsored brand campaign bids.

Autorizaciones

Authorization
string
header
requerido

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 ruta

campaign-id
string<uuid>
requerido

The ID of the campaign.

Parámetros de consulta

vendor_id
string
requerido

The ID of the vendor.

Minimum string length: 1

Cuerpo

application/json

Request body for replacing public sponsored brand bids.

bids
PublicCreateSponsoredBrandBid · object[]
requerido

An array of bids for this campaign.

Required array length: 1 - 500 elements
slotId
string
requerido

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

Minimum string length: 1
content
Content · object
requerido

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

Respuesta

Successful Response