How the integration works
With the Snapchat Ads integration, you import your monthly ad spend from Snapchat Ads as project expenses in Project Flow, so you can invoice it to your customers.
- A file import. Project Flow doesn't connect to Snapchat. Each month you make a CSV file with the spend per ad account ID and campaign, and either upload it in Project Flow or place it on Project Flow's SFTP server.
- One expense per row. Each row in the file becomes one expense on the project that has the row's ad account ID.
- One direction. Nothing is sent to Snapchat.
- Same as the other ad platforms. Facebook Ads, Google Ads, LinkedIn Ads, Microsoft Ads and DV360 work the same way, each with its own file name. They are described in their own articles.
Set up the integration
Step 1: Prepare the projects
- Create a custom field on projects, for example Snapchat ad account ID.
- On each project that should get ad spend, fill in the customer's Snapchat ad account ID in that field.
- One project per ID. If several projects have the same ad account ID, the expense goes to the newest project.
- Use the full ID. Project Flow looks for a project whose field contains the ad account ID. A short ID such as
123also matches a project with91234. - Campaigns as activities (optional). If the project has an activity with exactly the same name as the campaign, the expense goes to that activity.
Step 2: Add the integration in Project Flow
- Go to Setup → Settings → Integrations (Oppsett → Innstillinger → Integrasjoner). You need administrator access.
- Click + Create integration and choose Snapchat Ads (on the API tab).
- Fill in the fields below, tick Enabled and save.
| Field (EN / NB) | Description |
|---|---|
| SFTP / Upload files (Opplasting av filer) | How you deliver the files. SFTP is the default. See Step 3. |
| User name, Password / Brukernavn, Passord | Only for SFTP. Your login on Project Flow's SFTP server. Required. |
| Root folder / Rotmappe | Only for SFTP. The folder on the SFTP server where the files are delivered. Default SnapchatAds; leave it unless it has been changed on the server. |
| Customer ID | The project custom field from Step 1. Required. |
| Expense activity / Utleggsaktivitet | The activity the expenses go to when no activity matches the campaign name. Default Imported expenses. It is created on the project if it doesn't exist. Required. |
| Book keeping account / Bokføringskonto | The bookkeeping account the expenses get. Required. |
| Make imported expenses billable / Importerte utlegg markeres som fakturerbare | Tick this to make the expenses billable. Off by default. A price model on the activity that sets imported expenses as billable decides first. |
| Surcharge, {company currency} / Påslag | Surcharge in percent on expenses in your company currency. |
| Surcharge, other currency / Påslag, annen valuta | Surcharge in percent on expenses in other currencies. |
| Coworkers to notify, Emails to notify | Only for SFTP. Who gets an e-mail when a file can't be imported. |
- Surcharge not set? Then the surcharge from the activity's price model is used.
- Project Flow plan. The integration isn't available on the Start plan. If it has a monthly cost, the form shows it.
Step 3: Choose how you deliver the files
- Upload files: you upload each month's file yourself in Project Flow (see Import the file). Simplest if you make the file by hand.
- SFTP: the file is placed on Project Flow's SFTP server, in the folder
incoming/{root folder}/parse/, and Project Flow imports it automatically. Contact Project Flow support for the SFTP details.
The file
- A CSV file, separated by commas, in UTF-8.
- Named
snapchat_YYYYMM.csvfor the month of the spend, for examplesnapchat_202609.csv. You can add text after the month:snapchat_202609_agency.csv. - Only the current or previous year is accepted.
- The first row is a header and is skipped.
| Column | Content | Example |
|---|---|---|
| 1 | Ad account ID | a1b2c3d4-1234-5678-9abc-def012345678 |
| 2 | Campaign name | Autumn sale |
| 3 | Currency (ISO code) | NOK |
| 4 | Cost, with a period as decimal separator and no thousands separator | 1520.50 |
Example:
Account ID,Campaign name,Currency,Costa1b2c3d4-1234-5678-9abc-def012345678,Autumn sale,NOK,1520.50a1b2c3d4-1234-5678-9abc-def012345678,Brand,NOK,800
Project Flow reads the columns by position, not by their names, so keep this order.
Rows with cost 0 or empty are skipped.
Import the file
With Upload files
- Go to the expenses overview, open the cog menu and choose Import of ad provider expenses (Import av annonseleverandørutlegg). You need permission to create project expenses.
- Drag the file into Upload an ad provider file, or click to choose it. Upload one file at a time.
- Click Import. You get "All expenses registered successfully", or a message telling you what went wrong.
With SFTP
Project Flow picks up new files from the folder automatically. Imported files are moved to parsed/.
The expenses
Each row becomes one project expense:
| What | Value |
|---|---|
| Project | The project with the ad account ID |
| Activity | The activity with the campaign name, or the Expense activity |
| Title | Month and year, for example September 2026. On the expense activity: "{campaign}, September 2026" |
| Date | The last day of the month. The period is the whole month. |
| Amount | The cost, as price excluding VAT, quantity 1, in the file's currency |
| Account | The Book keeping account |
| Billable and surcharge | As set in the integration or the price model |
- No VAT is added. The cost is used as it is.
- Not updated later. If the spend changes after the import, change the expense in Project Flow. Expenses aren't deleted either.
- Each file once. A file with the same name as one already imported is rejected: "This file is already uploaded".
Check the log
Go to Company → Logs and choose the category SnapchatAds. Each row is logged, for example "Imported expense snapchat_202609-2 into project 1001.", or why it wasn't imported.
| Message | What to do |
|---|---|
| "File name is invalid" | Name the file snapchat_YYYYMM.csv. |
| "Only current or previous year is allowed" | Check the year in the file name. |
| "Could not parse file" | Check that the file is a comma-separated CSV with four columns, that the currencies are valid ISO codes, and that the costs use a period as decimal separator. |
| "This file is already uploaded" | The month has been imported. See the Q&A below. |
| "Cannot find project with {field} = {ID}" | Fill in the ad account ID in the custom field on the right project, and import that row again. |
| "Invalid amount" | Correct the cost on that row. |
| "Not all expenses were imported from file … See more information in the company log" | Some rows were imported and some weren't. Check the log for the rows that failed. |
| "The uploaded file cannot be processed by any enabled integration" | Check the file name, and that the integration is enabled with Upload files. |
E-mail. With SFTP, the people to notify get an e-mail titled "Moment could not import data from SnapchatAds" when a file can't be imported. Rows without a project are only in the log.
Q&A
Q: Some rows weren't imported. How do I import them?
A: The rows that worked are already in Project Flow. Fix the cause, make a new file with only the missing rows, give it a different name, for example snapchat_202609_2.csv, and import it. Don't import the whole file again, or the other rows are imported twice.
Q: The expense went to the wrong project.
A: Check the custom field on your projects. The ad account ID must be on one project only, and be the full ID.
Q: The expenses aren't billable.
A: Tick Make imported expenses billable in the integration, or set it in the activity's price model. This only applies to new imports.
Q: Can Project Flow get the spend from Snapchat automatically?
A: No. Project Flow imports the file you deliver. With SFTP, the import itself is automatic once the file is in the folder.
Q: The spend for a month changed after the import.
A: Change the expense in Project Flow. A new file for the same month is rejected as already uploaded.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article