Skip to main content
PUT
Create or update campaign timetables (dayparting).

Authorizations

Authorization
string
header
required

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.

Path Parameters

campaign-id
string<uuid>
required

The ID of the campaign.

Query Parameters

vendor_id
string
required

The ID of the vendor.

Minimum string length: 1

Body

application/json
timetables
PublicCampaignTimeTable · object[]
required

The schedule for the campaign.

Required array length: 1 - 7 elements

Response

Successful Response

The schedule for the campaign.

campaignId
string<uuid>
required

The ID of the campaign.

timetables
PublicCampaignTimeTableResponse · object[]
required

The schedule for the campaign.