Saltar al contenido principal
PUT
Create or update campaign timetables (dayparting).

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
timetables
PublicCampaignTimeTable · object[]
requerido

The schedule for the campaign.

Required array length: 1 - 7 elements

Respuesta

Successful Response

The schedule for the campaign.

campaignId
string<uuid>
requerido

The ID of the campaign.

timetables
PublicCampaignTimeTableResponse · object[]
requerido

The schedule for the campaign.