Skip to main content
GET
Get a sponsored brand campaign.

Autorisierungen

Authorization
string
header
erforderlich

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.

Pfadparameter

campaign-id
string<uuid>
erforderlich

The ID of the campaign.

Antwort

Successful Response

A regular sponsored brand campaign returned by the public API.

campaignId
string<uuid>
erforderlich

The ID of the campaign.

marketplaceId
string<uuid>
erforderlich

The ID of the marketplace.

vendorId
string
erforderlich

The external vendor ID.

name
string
erforderlich

The name of the campaign.

Minimum string length: 1
Beispiel:

"Bola-Bola Ad campaign"

isActive
boolean
erforderlich

Whether the campaign is active.

status
enum<string>
erforderlich

The approval status of the sponsored brand campaign.

Verfügbare Optionen:
approved,
pending,
rejected
isAutoTrigger
boolean
erforderlich

Whether the campaign is auto-triggered.

slotId
string
erforderlich

The external slot ID where the sponsored brand campaign is shown.

schedule
Schedule · object[]
erforderlich

The schedule for the campaign.

Required array length: 1 element
content
Content · object
erforderlich

Dynamic content validated against the slot's JSON template.

createdAt
string<date-time>
erforderlich

When this campaign was created.

updatedAt
string<date-time>
erforderlich

When this campaign was last updated.

bidType
enum<string>
erforderlich

The bidding type of the campaign.

Verfügbare Optionen:
manual,
autobidding
isAgency
boolean
erforderlich

Whether this campaign is promoted by an agency.

chargeType
enum<string>
erforderlich

How campaigns are charged.

Verfügbare Optionen:
CPM,
CPC,
CPA
budget
Budget · object
erforderlich

The assigned budget for the campaign.

externalCampaignId
string | null

The external ID of the campaign in the marketplace.

walletId
string<uuid> | null

The uuid of the wallet used with this campaign.

targetRoas
number | null

Indicates the vendor's target return on ad spend.

Erforderlicher Bereich: 0.5 <= x <= 30
targetRoasPreference
enum<string> | null

Target ROAS preference label.

Verfügbare Optionen:
aggressive,
conservative,
moderate,
custom
autobiddingObjective
enum<string> | null

The objective of the campaign.

Verfügbare Optionen:
impressions,
clicks,
conversions,
revenue