Delete Site/Zone Targeting

Why Delete Site/Zone Targeting?

Occasionally, you may wish to remove site/zone targeting from a flight when updating the flight. The Delete Site/Zone Targeting API endpoint enables you to remove all site and zone targeting for a flight.

API Syntax

When using the Delete Site/Zone Targeting API endpoint, 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}/sitezonetargeting/{SiteZoneTargetingID}/delete

Where:

FlightID

ID of the Flight

SiteZoneTargetingID

ID of the Site Zone Targeting parameter. You can pull it through the Get Flight endpoint if you don't have.

Response Codes

200      200
xxxxxxxxxx

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

"Successfully Deleted"