Why Update Site/Zone Targeting?
You may find it useful to make updates and changes to an existing flight that has been targeted for a specific site or zone. The Update Site/Zone Targeting API endpoint enables you to update the details of site/zone targeting for a flight using the PUT
verb to make changes to an existing site/zone targeting.
API Syntax
When using the Update 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:
PUT https://api.kevel.co//v1/flight/{FlightID}/sitezonetargeting/{SiteZoneTargetingID}
Where:
PUT
- the type of API request being made.https://api.kevel.co
- the URL for the request.v1
- the API version.flight
- the API endpoint being called.FlightID
- the ID associated with the flight.sitezonetargeting
-SiteZoneTargetingID
- the ID associated with the site/zone used for targeting.
Clearing attribute values
To unset or clear an attribute, set its value to
NULL
.