Campaign API
Create Campaign
Creates a campaign with its associated budget and bids.
Supports all campaign types except exclusive campaigns.
post/public/v1/campaign-service/campaigns
Request
- Base URL: https://api.topsort.com
- URL: https://api.topsort.com/public/v1/campaign-service/campaigns
- Auth: HTTP bearer
Query parameters
vendor_idstring required
The ID of the vendor.
Request body
Example request
{
"name": "Bola-Bola Ad campaign",
"bids": [
{
"location": "Santiago",
"target": {
"id": "p_8983"
},
"formatProperties": {
"bannerAssets": [
{
"contentType": "image/png",
"dimensions": {
"width": 1920,
"height": 1080
},
"assetId": "asset_01j713j64yfsvtj4bs3ccpy5ca"
}
]
}
}
],
"adFormat": "listing",
"budget": {
"amount": 1000
},
"multiplierConfig": {
"multipliers": [
{
"multiplier": 0.5
}
]
}
}Response
Successful Response
Example response
{
"name": "Bola-Bola Ad campaign",
"budget": {
"amount": 1000
},
"multiplierConfig": {
"multipliers": [
{
"multiplier": 0.5
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.