The whole cost import consists of 3 phases.

Phase 1:

Download the cost data to Google Sheets. You can use Supermetrics, Dataslayer, Zapier, or other tools. We recommend using the Google Apps script, which connects directly to the API of Facebook, TikTok, etc. In the following chapters, we will provide a link to our Apps script.

Phase 2:

Create your virtual SFTP server and upload the cost data to it. You must have a server to make the automated cost import work. You will find a detailed guide on how to set up your server and upload your cost data to it.

Phase 3:

Uploading data from SFTP to GA4. When you have all your cost data on your SFTP server, you must connect it with GA4 to automatically make the uploads.