Delete Ad Campaign
DELETE /ad-campaigns/{campaign_id}
DELETE
/ad-campaigns/{campaign_id}
Stop and remove a campaign.
THIS STOPS A LIVE CAMPAIGN ON THE PLATFORM FIRST, then removes graph8’s row. There is no undo: the platform-side removal is the platform’s, and the campaign’s history goes with the local row.
502 - not 404 - when the platform refuses the removal, because the campaign is then still LIVE AND SPENDING and reporting success would be the worst possible answer.
Authorizations
Parameters
Path Parameters
campaign_id
required
The ad campaign’s id.
integer
The ad campaign’s id.
Header Parameters
Responses
200
Successful Response
object
data
required
One ad-platform object, or one handler response.
object
key
additional properties
any
pagination
Any of:
object
has_next
required
Whether there are more pages
boolean
limit
required
Items per page
integer
notes
Any of:
Array<string>
null
page
required
Current page number (1-indexed)
integer
total
required
Total number of items
integer
null
422
Validation Error
object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string