Update Site/Zone Targeting

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.
Path Params
int32
required

The ID of the Flight

int32
required

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

Body Params
int32

ID of the Site

int32

ID of the Zone

boolean
Defaults to false

Whether you want to include or exclude

Response

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json