Connect your data to Claude in 1 minute. No code needed Try it now

Connect Google Ads to PostgreSQL

Send Google Ads campaign performance, keywords performance, ad group performance and 50 more report types to PostgreSQL on a schedule. Pick the ad accounts and filter by date. Refresh as often as every 15 minutes.

capterra
star star star star star

4.9/5

PostgreSQL schema google_ads
  • campaign_performance
  • keywords_performance
  • ad_group_performance
  • ad_performance
  • asset_group_performance
  • 48 more report types
Each Google Ads report type lands in its own table. You pick the schema and table names.
Trusted by 200K+ users worldwide
Spotify
fifty-five
Al Jazeera
InPost
Visma
REHAU
Getir
Printify
Macromill
Stanford
Médecins Sans Frontières
Greenpeace
Save the Children
San Diego FC

How to connect Google Ads and PostgreSQL

5 steps. You can preview the Google Ads data in Coupler.io before anything reaches PostgreSQL.

Step 1 of 5

Connect Google Ads

Sign in to Google Ads and authorize Coupler.io. There's no API key to copy.

Sign in with Google Ads

Step 2 of 5

Choose what to export

Pick the Google Ads data you want in PostgreSQL.

Frequently Used

Reports

Show 32 more report types Show fewer report types

Reports

Core Components

Campaign Settings

And 13 more report types.

Ad accountsNot setSpecify Ad accounts from where you want to extract data. only active accounts you have access to are available for selection.
Custom GAQLNot setUse the Google Ads Query Builder to build the GAQL query and copy it here.

Step 3 of 5

Set the report period

Choose the date range the report covers.

Start dateAny dateSpecify the start date of the period that should be covered in your report. By default, the start date is set to 60 days ago.
End dateAny dateSpecify the end date of the period that should be covered in your report. The default end date is today.
Split data by periodsNot setSpecify the periods to split your report data.

Step 4 of 5

Connect PostgreSQL

Enter your PostgreSQL connection details, then the schema and table for the Google Ads data.

Hostdb.example.comHostname, IPv4, or IPv6 address of the server
Port5432Default is 5432
DatabaseanalyticsThe target database name
Tablecampaign_performanceCreated automatically on the first run
Show 3 more fields Show fewer fields
UsercouplerUser with CREATE and INSERT privileges
Password••••••••••••The database user's password
Schemagoogle_adsCreated automatically if it doesn't exist

Step 5 of 5

Choose a write mode and schedule

Every run either replaces or appends the data in PostgreSQL. Run it as often as every 15 minutes.

Write mode

Each run deletes the existing rows in campaign_performance and loads fresh Google Ads data.

Get the most of Google Ads to PostgreSQL integration

Gather data icon

Gather data

Export data from numerous apps and sources into a single destination. Blend data from different apps to get a single source of truth.
Understand data icon

Understand data

Preview, transform, sort, and filter data for better clarity in just a few clicks in the Coupler.io interface. Take your data analytics to the next level.
Automate data icon

Automate data

Access data that is always up to date by enabling the automatic data refresh on a schedule as often as every 15 minutes and using triggered automation.
Act on data icon

Act on data

Visualize your data by quickly connecting to data visualization and BI tools. Build insightful dashboards in a breeze and make better decisions.
Google Ads to PostgreSQL questions

53 report types, including Campaign performance, Keywords performance, Ad group performance, Ad performance and Asset group performance.

You sign in to Google Ads and authorize Coupler.io. There's no API key to copy.

Yes. Set the start date and end date to cover the period you need. Splitting the data by period is available too.

Yes. Custom GAQL lets you write a query instead of picking a ready-made report type.

Yes, if the database user has CREATE privileges. Coupler.io creates the google_ads schema and the campaign_performance table on the first run.

Yes. Append adds new rows to campaign_performance on each run, while Replace swaps in a fresh copy. With Append, add new Google Ads columns to the table yourself before the next run.

On a schedule you choose, from monthly down to every 15 minutes, depending on your Coupler.io plan.

Yes. Add more sources to the same data flow, for example Facebook Ads or Google Analytics 4, and join or append them before the data reaches PostgreSQL.

High five for scrolling till the very end!
See you in the app!