Google Ads Scripts does not support GA4. Here’s a workaround.

Two days ago, July 1st, good old Universal Analytics has stopped aggregating data. We all need to move to the new GA4 solution.

This is bad news for us scripters: currently, Google Ads Scripts does not support GA4. Under “Advanced APIs” there is only one Analytics and that is the old UA version. GA4 is not (yet) supported.

Here’s the workaround:

1. Use an App script within a Google Sheet that connects to the new Google Analytics Data API, and from there, fetch the data from GA4 into the Google Sheet.
2. Next, use a Google Ads Script that reads the GA4 data from the Google Sheet.

I am considering hosting a short webinar on this topic if there is enough interest. Let me know if you’re interested.

– Nils

Author: Nils Rooijmans

Google Ads Performance Architect with a passion for PPC Automation & AI, in particular via Google Ads Scripts.