Skip to main content
POST
Banner Campaign Performance Forecasts

Autorizações

Authorization
string
header
obrigatório

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.

Corpo

application/json
dailyBudget
number
obrigatório

Daily budget for the campaign

dateRange
PublicDateRange · object
obrigatório

Campaign date range

targetRoas
number
obrigatório

Target Return on Ad Spend

campaignType
enum<string>
obrigatório

Campaign type (required)

Opções disponíveis:
autobidding,
manual
slots
PublicSlotRequest · object[]
obrigatório

List of banner slots (required). Each id is the slot external id.

Required array length: 1 - 100 elements
triggers
PublicTriggerRequest · object[]

List of campaign triggers (optional, defaults to empty list)

targets
enum<string>[] | null

Optional list of target variables to forecast. If not provided, all targets will be forecasted.

Opções disponíveis:
ad_spend,
clicks,
impressions,
purchases,
sales
targetingFilters
PublicCampaignTargetingFilters · object | null

Optional audience targeting, in the same shape as campaign creation. When active, the forecast covers only users in these segments. Segment IDs are the marketplace's external segment IDs.

multiplierConfig
PublicCampaignMultiplierConfig · object | null

Optional audience bid multipliers, in the same shape as campaign creation. Segment IDs are the marketplace's external segment IDs.

exclusionFilters
PublicCampaignExclusionFilters · object | null

Optional audience exclusion, in the same shape as campaign creation. When active, the forecast leaves out users in these segments. Segment IDs are the marketplace's external segment IDs.

Resposta

Successful Response

forecasts
PublicCampaignForecastMetrics · object
obrigatório

Campaign performance forecasts