Skip to main content
GET
Get campaign information

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 to get.

Query Parameters

vendor_id
string
required

The ID of the vendor to get the campaign for.

Response

Successful Response

campaignId
string<uuid>
required

The unique identifier of the campaign

dsp
enum<string>
required

The Demand-Side Platform (DSP) associated with the campaign

Available options:
google_ads,
meta
name
string
required

The name of the campaign

status
enum<string>
required

The current status of the campaign

Available options:
ENABLED,
PAUSED
startDate
string<date-time>
required

The start date of the campaign

endDate
string<date-time>
required

The end date of the campaign

budget
integer
required

The budget allocated for the campaign in cents

audience
PublicOffsiteAudience · object | null
required

The audience targeted by the campaign