Update Flights

Why Update Flights?

Occasionally you may find it useful to update an existing flight in your campaign to reflect changes in your campaign strategy. For example, you may wish to optimize your campaign by changing your GoalType or PriorityId to determine whether these changes positively impact the overall performance of the campaign.

📘

Note

You may update any flight field except id.

API Syntax

When using the Update Flight API, 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}

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 of the specific flight you wish to update.

Flight Fields

There are a number of fields that can be used when creating a flight. These fields are described in detail in the Flight Fields documentation.


Path Params
int32
required
Query Params
boolean
Defaults to false
Body Params
int32
required
string
required
string
required
string
boolean
int32
required
int32
required
int32
required
int32
required
boolean
required
boolean
boolean
Defaults to false
BidModifiers
array of objects
BidModifiers
Response

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