v1
latestOpenAPI 3.1.02026-07-26950137.9 KBDelete a Campaign
Returns a campaign object with status = TERMINATED.
For all purposes, the campaign is 'deleted'. Any attempt to reference that Campaign ID will return 404 Not Found.
delete/backstage/api/1.0/{account_id}/campaigns/{campaign_id}
Path parameters
account_idstring required
An alphabetic ID. See Get Account Details.
campaign_idstring required
A numeric ID.
Response
200
Example response
{
"id": "123",
"advertiser_id": "taboola-demo-advertiser",
"name": "DemoCampaign",
"branding_text": "Yummy Pizza",
"tracking_code": "taboola-tracking-code",
"cpc": 0.5,
"daily_cap": 500,
"spending_limit": 5000,
"spending_limit_model": "ENTIRE",
"cpa_goal": 5,
"country_targeting": {
"type": "INCLUDE",
"value": [
"AU"
]
},
"contextual_targeting": {
"type": "INCLUDE",
"value": [
"IAB1"
]
},
"platform_targeting": {
"type": "INCLUDE",
"value": [
"TBLT"
]
},
"campaign_profile": {
"content_type": "VIDEO",
"ad_type": "AD_HEAVY",
"content_safety": "LOW_BROW",
"language": "EN",
"category": "SPORTS"
},
"start_date": "2015-04-24",
"end_date": "2015-05-24",
"approval_state": "APPROVED",
"is_active": true,
"bid_type": "OPTIMIZED_CONVERSIONS",
"status": "TERMINATED",
"daily_ad_delivery_model": "STRICT",
"traffic_allocation_mode": "EVEN",
"activity_schedule": {
"mode": "ALWAYS",
"time_zone": "US/Eastern"
},
"marketing_objective": "MOBILE_APP_INSTALL",
"verification_pixel": {
"verification_pixel_items": [
{
"tracking_pixels_type": "CLICK",
"url": "www.mysite.com"
}
]
}
}