Delete Ad

Why Delete an Ad?

When you are managing flights and campaigns, you may find it necessary to delete an existing ad associated with a flight. Removing this ad removes the ad from the flight, and it will no longer be part of the flight and campaign.

📘

Note

The Delete Ad API call deletes the ad; however, please note that the creative remains at the advertiser level, allowing you to use the ad in the future.

API Syntax

When using the Delete Ad API call, it is important to understand the syntax required to make the request. Because the Kevel API is a RESTful API, there is a specific request format that must be followed to ensure the endpoint can process the request. The format is:

GET https://api.kevel.co/v1/flight/{FlightID}/creative/{AdID}/delete

Where:

Parameters

Name Type Required Description
FlightID int32 Yes ID of the Flight
AdID int32 Yes ID of the Ad/ Creative Flight Map. This is not the ID from Create Creatives.

Response Codes

Code Description
200 This creative map has been deleted

Example Request

curl -X GET -H 'X-Adzerk-ApiKey:<APIKEY>' "https://api.kevel.co/v1/flight/12345/creative/123456/delete"

Example Response

"This creative map has been deleted"