Ad Launcher
Delete draft
Removes a draft. It disappears from List drafts and the dashboard; nothing on Meta is affected. Answers 404 for a draft that was already launched or deleted, or that belongs to another organization.
Authentication
authentication api-key<token>
Create an API key from the Adnova dashboard (Account integrations). Pass the key value in the api-key request header on every call.
In: header
Path Parameters
draftId*string
Draft id from Create a draft or List drafts.
Length
1 <= lengthHeader Parameters
x-workspace-id*string
Workspace the request operates in. Get it from List workspaces.
Length
1 <= lengthx-org-id*string
Organization context (required on every endpoint). For lookup endpoints the org is derived from the ad account in the URL, so any org id you have access to is accepted.
Length
1 <= lengthResponse Body
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://api.adnova.ai/ad-launcher/v1/meta/drafts/string" \ -H "x-workspace-id: string" \ -H "x-org-id: string"Empty
{
"error": {
"code": "string",
"message": "string"
},
"message": "string"
}{
"error": {
"code": "string",
"message": "string"
},
"message": "string"
}{
"error": {
"code": "string",
"message": "string"
},
"message": "string"
}{
"error": {
"code": "string",
"message": "string"
},
"message": "string"
}{
"error": {
"code": "string",
"message": "string"
},
"message": "string"
}