Create Flights from CSV
Create up to 100 Flights at once from a CSV file, from a Campaign's page or from the All Flights page.
Create Flights from CSV lets you add many Flights by uploading one CSV (comma-separated values) file. Use it to add Flights to the Campaign you have open, or from All Flights to add Flights to several Campaigns at once. To create Advertisers, Campaigns, Flights and Ads together, see Bulk Create from CSV.
How it works
- One row creates one Flight. Kevel sends each row to the Create Flight API, so each row needs the values that API requires:
Name,StartDateISO,CampaignId,PriorityId,GoalType,Impressions,IsActiveandRateType. - There is no review. Kevel starts creating as soon as you select Create N Flights, and sends any problem back for the row it belongs to.
- Any column goes to the API. The columns in the table below are read by name. Any other column is sent to the API as written, so you can add any field the Create Flight API accepts.
Before you start
Where it applies. A Campaign's Flights page, and the All Flights page for users with edit access.
What you need. Edit access, and the ID of the Priority for each Flight.
What it does not do.
- It does not check your file first. A row with a problem is reported after Kevel tries to create it.
- It creates up to 100 Flights per upload. With more rows, it creates the first 100. Upload the rest in a second file.
- It does not read files from Bulk Create from CSV. Those use
Flight_column names, which are not recognized here. - It does not keep a list of what failed. Flights that were created stay, so a corrected file must hold only the rows that failed.
Prepare your file
Use a template, or edit an existing file, and fill one row per Flight.
| Column | Notes |
|---|---|
CampaignId | The Campaign the Flight belongs to. Optional on a Campaign page, where the Campaign you are on is always used, even if the file names another. Required in every row on All Flights. |
PriorityId | The Priority the Flight uses. |
Name, StartDateISO, EndDateISO, GoalType, Impressions, IsActive, Keywords | As in the Create Flight API. |
SiteZoneTargeting, GeoTargeting, GeoDistanceTargeting, CreativeMaps, BidModifiers, SegmentTargeting | JSON in a quoted cell, with the quotes inside it doubled. Spreadsheet tools do this when they save as CSV. |
Spaced names such as Campaign ID, Start Date and Goal Type also work. Put any value that contains a comma in double quotes, and save the file as CSV in UTF-8.
Template files
Upload your file
-
Open the upload. On a Campaign's Flights page, select the arrow next to Add Flight to Campaign, then Create Flights from CSV. On the All Flights page, select Create Flights from CSV at the top of the left sidebar.


-
Choose your file. Select Choose a File and pick your CSV. The button changes to Create N Flights, where N is the number of rows.

-
Select Create N Flights. Keep the page open until it finishes. Leaving or closing the page stops the upload, and some Flights are not created. A file with more than 25 rows takes a few seconds longer.
-
Read the result. A green message says how many Flights were created. A red message says how many failed. Select View details to see each failed row with its reason. Row numbers count the header row as row 1.

-
Upload the rows that failed. Remove the rows that were created, fix the failed ones, and upload the file again.
Troubleshooting
"One or more rows do not contain a CampaignId." You opened the upload from All Flights, where every row needs a CampaignId. Fill it in, or open the upload from the Campaign's own page.
"The maximum number of rows that can be uploaded at a time is 100." Kevel creates the first 100 rows. Upload the rest in a second file.
"Row N could not be read". The row has a problem the file reader could not parse, such as a missing quote. Fix the row and upload again.
A Flight is in the wrong Campaign. On a Campaign's page, the Campaign you are on is used whatever CampaignId says. Upload from All Flights to place Flights in different Campaigns.
A row fails with "Site does not belong to channel of the provided priority". A Site in SiteZoneTargeting is not mapped to the Channel that owns the Flight's Priority. Map the Site to that Channel under Inventory, or choose a Priority from a Channel the Site belongs to.
Related
Updated 4 days ago
