Invincible
  • 3
    Services
    • Paid Media
    • PPC (Google Ads)
    • Paid Social (Meta, TikTok)
    • Amazon Ads
    • Display & Native
    • Video Advertising
    • Video Content Creation
      for Paid Ads
    • Programmatic
    • EARNED MEDIA
    • SEO
    • Content Marketing
    • Organic Social
    • PR & Communications
    • Influencer Marketing
    • SYSTEMS & PLATFORMS
    • eCommerce (Shopify Plus)
    • CRM (HubSpot, Klaviyo)
    • Marketing Automation
    • Website Development
    • Data & Analytics
    • AI & INNOVATION

    Go With Pride AI

    Creative Catalyst Winner

    • AI Chatbots
    • Predictive Analytics
    • Marketing AI Integration
Work InsightsFree scripts About

Data archive (beats 37-month limit)

Keeps your Google Ads history beyond Google's 37-month limit: finished months saved as CSV files in your own Google Drive, automatically.

FreeRuns dailyReport onlyHospitality, E-commerce, Fitness, Beauty

What it does

  • Saves each finished month as a CSV file per dataset: campaigns by day, ad groups by day, keywords, search terms and products by month.
  • Works back through your history a few months per run until it reaches the limit you set (up to 37 months).
  • Skips months already saved, so it is safe to run every day.
  • Keeps a month-to-date file for the current month up to date.
  • Saves everything in one Drive folder you own, ready for Sheets, Looker Studio or BigQuery.

How it changes your account

It does not change your account. It only reads reporting data and writes CSV files to your Google Drive.

Smart Bidding

Useful with any bid strategy. Year-on-year and seasonal comparisons need history; this keeps it after Google deletes the detail.

Settings explained

Data to archive

Campaigns by day and search terms by month cover most needs.

Months of history to save

Up to 37, the most Google keeps.

Files per run

Lower it if runs time out on a big account.

Keep a month-to-date file updated

Handy for live dashboards.

Drive folder name

Each account gets its own folder.

Install in two minutes

  1. In Google Ads, go to Tools, then Bulk actions, then Scripts.
  2. Click the plus button and name your script.
  3. Delete the sample code, paste yours and click Authorise.
  4. Click Preview and check the log. Nothing changes in Preview.
  5. Click Save and set it to run daily.

Preview once to authorise Drive and email. Schedule it Daily.

Questions

What is the 37-month limit?

Google Ads keeps detailed reporting data for 37 months. Older detail is no longer available, so anything you want to keep must be saved before then.

How long does the first backfill take?

At 4 files a day, two datasets over 36 months take about 18 days. Raise files per run on smaller accounts to finish sooner.

Can I put the files in BigQuery?

Yes. The CSVs have a header row and consistent columns, so they load straight into BigQuery or Looker Studio.

Changelog

  1. 1.0.0 27 Nov 2026 Improvement
    • First release in the Invincible Google Ads scripts library.

Browse all Google Ads scripts

Scripts are provided as is. You're responsible for previewing, testing and monitoring them in your account. Scripts Terms of Use.