How the integration works
With the Google Ads integration, you import your monthly ad spend from Google Ads as project expenses in Project Flow, so you can invoice it to your customers.
- A file import. Project Flow doesn't connect to Google. Each month you export a CSV report from Google Ads with the cost per customer ID and budget or 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 Google Ads customer ID.
- One direction. Nothing is sent to Google.
- Same as the other ad platforms. Facebook Ads, LinkedIn Ads, Snapchat 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 Google Ads customer ID.
- On each project that should get ad spend, fill in the customer's Google Ads customer ID in that field, written exactly as in the report, for example
904-346-4594.
- One project per customer ID. If several projects have the same customer ID, the expense goes to the newest project.
- Use the full ID. Project Flow looks for a project whose field contains the customer ID, so a shorter ID can match the wrong project.
- Campaigns as activities (optional). If the project has an activity with exactly the same name as the budget or campaign in the report, 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 Google 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 GoogleAds; 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 budget or 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
google_YYYYMM.csvfor the month of the spend, for examplegoogle_202609.csv. You can add text after the month:google_202609_NOK.csv. - Only the current or previous year is accepted.
- The first three rows are skipped: the report title, the date range and the column headers, as in a report downloaded from Google Ads. The data starts on row 4. If your file has only one header row, add two lines above it.
| Column | Content | Example |
|---|---|---|
| 1 | Customer ID | 904-346-4594 |
| 2 | Budget or campaign name | Autumn sale |
| 3 | Currency (ISO code) | NOK |
| 4 | Billed cost, with a period as decimal separator and no thousands separator | 1520.50 |
Example:
Untitled reportSeptember 1, 2026 - September 30, 2026Customer ID,Budget name,Currency,Billed cost904-346-4594,Autumn sale,NOK,1520.50904-346-4594,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 customer ID |
| Activity | The activity with the budget or campaign name, or the Expense activity |
| Title | Month and year, for example September 2026. On the expense activity: "{budget name}, 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 Google Ads. Each row is logged, for example "Imported expense google_202609-4 into project 1001.", or why it wasn't imported.
| Message | What to do |
|---|---|
| "File name is invalid" | Name the file google_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} = {customer ID}" | Fill in the customer 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 GoogleAds" 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 google_202609_2.csv, keep the three rows at the top, and import it. Don't import the whole file again, or the other rows are imported twice.
Q: The first expense from the file is missing.
A: Project Flow skips the first three rows. If your file has only one header row, the first two data rows are skipped. Keep the report title and date range lines at the top, or add two lines.
Q: The expense went to the wrong project.
A: Check the custom field on your projects. The customer 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 Google Ads 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