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

dsps
enum<string>[]
required

The Demand-Side Platforms (DSPs) associated with the campaign

Minimum array length: 1
Available options:
google_ads,
meta
Example:
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 daily budget allocated for the campaign in cents

targetRoas
number
required

Target ROAS of the campaign. Acceptable values are between 1.0 and 20.0. Topsort maps this value to the closest equivalent bidding configuration supported by each DSP.

Required range: 1 <= x <= 20
Example:

3

audience
PublicOffsiteAudience · object | null
required

The audience targeted by the campaign