Mailchimp to BigQuery

Emails sent, unique opens and unique clicks from Mailchimp, by campaign, in your own BigQuery dataset. Add Send date to a report and history builds up.

  • One table per report, named after it: fs_campaign_results, for example.
  • Refreshes every day on Plus, every 6 hours on Pro and every hour on Max.
  • Up to 1,000 campaigns a report.

30 days of Plus, free from sign-up. No card needed. Paid plans from £15 a month.

fs_campaign_results
send_datecampaign_nameemails_sentunique_opensunique_clicks
2026-10-20Autumn blend launch1178030833333
2026-10-20Holiday gift sets1172431443392
2026-10-19Single origin drop1162328693090
2026-10-19Brew guide1029729123130
2026-10-18Welcome back1016826352828
Example, with made-up figures

How to connect Mailchimp to BigQuery

To load data from Mailchimp to Google BigQuery you need a Google Cloud project with a dataset in it, and a Mailchimp account you can create an API key in.

  1. In Mailchimp, create an API key. On the Sources page, choose Add key on the Mailchimp card, paste it and choose Check and save.
  2. In Fresh Sheets, go to Destinations and choose Add a dataset. Enter the project ID and dataset ID.
  3. In Google Cloud, give the account Fresh Sheets shows you the BigQuery Data Editor role on your dataset, and add the label it shows.
  4. Back in Fresh Sheets, choose Check and add.
  5. Choose New report, pick Mailchimp and the account, then the fields and date range.
  6. Under Destination, pick your dataset and name the table. Under Schedule, pick how often. Then Save and run.

Columns Mailchimp writes to BigQuery

Each report is one table: the columns you pick, plus _fs_written_at, the time the row landed. Money is in the account's own currency.

ColumnTypeFresh Sheets field
send_dateDATESend date
campaign_nameSTRINGCampaign
subject_lineSTRINGSubject line
audience_nameSTRINGAudience
campaign_typeSTRINGCampaign type
campaign_idSTRINGCampaign ID
emails_sentINT64Emails sent
unique_opensINT64Unique opens
total_opensINT64Total opens
open_rateFLOAT64 (a fraction)Open rate
unique_clicksINT64Unique clicks
total_clicksINT64Total clicks
click_rateFLOAT64 (a fraction)Click rate
unsubscribesINT64Unsubscribes
hard_bouncesINT64Hard bounces
soft_bouncesINT64Soft bounces
abuse_reportsINT64Spam complaints
forwardsINT64Forwards

One row per campaign. Days follow your Mailchimp account's time zone.

An example

A query for the report saved as Campaign results:

SELECT send_date, campaign_name, SUM(emails_sent) AS emails_sent, SUM(unique_opens) AS unique_opens, SUM(unique_clicks) AS unique_clicks FROM `your-project.your_dataset.fs_campaign_results` WHERE send_date >= DATE_SUB(CURRENT_DATE(), INTERVAL 30 DAY) GROUP BY send_date, campaign_name ORDER BY send_date DESC, emails_sent DESC;

Scheduling and refresh

Include Send date and each run replaces only its own dates, so history builds up. Leave it out and each run replaces the whole table.

Try it with your own Mailchimp data in BigQuery.

Other ways to do it

Google's BigQuery Data Transfer Service has a Mailchimp connector in preview, with no transfer charge while it's in preview.

Source: Google Cloud: Mailchimp transfers

Fresh Sheets sends one row per campaign, from the reports you build.

What this doesn't cover

Contact lists aren't included. This reads campaign reports only, and never writes to Mailchimp.

Questions

How do I connect Mailchimp to BigQuery?

Create an API key in Mailchimp and choose Add key on the Sources page. Add your dataset under Destinations, then build a campaign report that sends to it, with Send date included so history builds up.

Send your Mailchimp reports to BigQuery

BigQuery is included in your 30 days of Plus, then on every paid plan.

30 days of Plus, free from sign-up. No card needed. Paid plans from £15 a month.

Paid plans from £15 a month, or £12 a month billed annually.