get https://api.kevel.co/v1/flight//geotargeting/
Why Get Geo-Targeting?
When you want to retrieve properties and details for a flight's geo-targeting settings, the Kevel API enables you to return this information using the Get Geo-Targeting API endpoint. When you make this API request to the endpoint with the FlightID
and LocationID
, a JSON object will be returned to you with all properties and settings for the flight you specified.
API Syntax
When using the Get Geo-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}/geotargeting/{LocationID}
Where:
GET
- 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.geotargeting
- the geo-targeting settings for the flight.LocationID
- the ID from the geo-targeting endpoint.