Skip to main content
DELETE
/
api
/
v1
/
campaigns
/
drafts
/
{draft_id}
Delete a campaign draft
curl --request DELETE \
  --url http://localhost:8000/api/v1/campaigns/drafts/{draft_id} \
  --header 'Authorization: Bearer <token>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

draft_id
integer
required

Query Parameters

delete_google_campaign
boolean
default:true

Also remove the published Google Ads campaign

Response

Successful Response