Latest posts Visit blog
In plain words: what is this page about?

Google now keeps exact daily ad figures for just over three years. After that, only totals for whole months stay. This matters for shops that want to compare sales weeks over the years. The oldest days will soon be gone. We show how to copy the figures to your own database in time. There they stay for as long as you like.

Since June 1, 2026, Google Ads keeps hourly, daily and weekly data for only 37 months, while monthly, quarterly and annual data stays for 11 years (Google Ads Help). For online shops, this hits right in the analysis phase after Black Week: by our own calculation, the daily data for Black Friday 2023, November 24, 2023, drops out of the window around December 24, 2026. Anyone who wants to compare the promotion weeks 2023 to 2026 day by day has to export now. This article shows which data is affected, what an export via the Google Ads API into your own database looks like, which fields are worth keeping and how to match the figures with the order data of your shop.

What Google Ads has retained since June 1, 2026

The rule is stated in Google Ads Help on the page about data deletion and retention. Since June 1, 2026, a new data retention policy applies there (Google Ads Help): hourly, daily and weekly data is available for 37 months, monthly, quarterly and annual data for 11 years (Google Ads Help). The page explicitly includes performance metrics, billing information and historical reports (Google Ads Help).

A monthly value tells you what a campaign cost and earned in November 2023. It does not tell you on which day the revenue came in, at what hour click prices rose or when a budget ran out. These are exactly the questions you ask after a promotion week, and exactly these answers disappear from the account after 37 months:

Data levelAvailable in Google Ads (Google Ads Help)Typical question after Black Week
Hourly data37 monthsAt what time did Black Friday bring the most clicks?
Daily data37 monthsWas Black Friday or Cyber Monday stronger?
Weekly data37 monthsHow did Black Week perform against the week before?
Monthly data11 yearsWhat did November cost in total?
Quarterly and annual data11 yearsHow does the ad budget develop over the years?

The Google Ads API and scripts are affected too

Whether the same limit applies to the programming interface is not stated on the Help page. The Google Ads Developer Blog answers that in the section for the Google Ads API and Google Ads scripts: since June 1, 2026, queries with granular time segments such as segments.date or segments.week that reach back more than 37 months from the current date return the error DateRangeError.INVALID_DATE (Google Ads Developer Blog).

Older periods can then only be retrieved via segments.month, segments.quarter or segments.year (Google Ads Developer Blog). Queries without a time segment must align exactly with calendar months for historical data, running from the first to the last day of a month (Google Ads Developer Blog). Whatever is not in your own database beforehand can therefore no longer be loaded day by day via the API once the window has passed.

Not every Help page has been updated yet

The Help page on data freshness still states a general retention of up to 11 years (Google Ads Help, retrieved on November 5, 2026). Since June 1, 2026, that no longer applies to hourly, daily and weekly data; the data retention page is what counts.

Our calculation: when Black Week 2023 drops out of the window

Google states a duration, but no expiry date for individual days. The following dates are therefore our own calculation: date plus 37 months, with the window moving forward with the current date (Google Ads Developer Blog). Black Friday 2023 fell on November 24, and 37 months later is December 24, 2026 (own calculation). The other days of the promotion week follow at the same pace: the Monday of Black Week 2023, November 20, drops out around December 20, 2026, and Cyber Monday on November 27, 2023 around December 27, 2026 (own calculation). The dates at a glance:

Promotion dayDateDaily data in Google Ads until about (own calculation)
Black Friday 2023Nov 24, 2023Dec 24, 2026
Cyber Monday 2023Nov 27, 2023Dec 27, 2026
Black Friday 2024Nov 29, 2024Dec 29, 2027
Black Friday 2025Nov 28, 2025Dec 28, 2028
Black Friday 2026Nov 27, 2026Dec 27, 2029

The monthly value for November 2023 remains under the 11-year rule (Google Ads Help). After the turn of the year, you can still say what November 2023 cost, but no longer how costs and revenue were distributed across the days around Black Friday. In a comparison of four promotion weeks, the oldest one is then missing.

A little over three weeks of lead time

This article appears on November 28, 2026, one day after Black Friday 2026. Until December 20, when by our own calculation the first days of Black Week 2023 drop out, a little over three weeks remain. That is enough if the export starts now and not between Christmas and New Year.

Which data is affected and which runs out even sooner

Everything segmented by hour, day or week is affected: campaign, ad group and product data per day, search terms, splits by device and network and the hourly curves of the promotion days. Hourly data is often the most valuable because it shows at what time a budget ran out. If you reallocated budgets in October after our article on channel prioritization in Google Ads, you need exactly these curves for the comparison with previous years.

In addition, there is data whose window is much shorter regardless of the new rule:

  • Click data with GCLID: queries on the click_view resource are limited to one day per query and reach back at most 90 days (Google Ads API documentation). For Black Friday 2026, this window ends around February 25, 2027 by our own calculation.
  • Change history: change_event only returns changes from the last 30 days (Google Ads API documentation), with at most 10,000 rows per query (Google Ads API documentation). If you want to record when which budget was raised before Black Week, save this data by mid-December.
  • Settings: the API only returns budgets, bid targets and campaign settings in their current state; earlier states only show up in the change history. A daily snapshot in your own database closes this gap.
Google Analytics truncates one month earlier

If you analyze Google Ads cost and clicks via the Google Analytics Data API, you run into a second limit: as soon as the dimension “date” is in the report, the API truncates metrics such as advertiser ad cost, clicks and impressions to the latest 36 months (Google Ads Developer Blog). A year-over-year comparison via Analytics therefore ends one month earlier than in Google Ads itself.

On top of that, values change after the fact. In most cases, clicks, impressions and cost are updated hourly (Google Ads Help). However, Google also removes invalid traffic such as bot activity retroactively, and conversions can arrive several days after the click (Google Ads Help). Depending on the source, the conversion window can be set to anywhere from 1 to 90 days (Google Ads Help); for Search and Display campaigns without a custom setting, a 30-day window applies (Google Ads Help). An export on the day after Black Friday is therefore preliminary; the most recent days have to be reloaded regularly.

Export path: from the Google Ads API into your own database

For a permanent export, the Google Ads API is the robust route. A program on your server queries the figures once a day and writes them into a database you own. Queries use the Google Ads Query Language (GAQL), which reads like SQL: choose a resource, select fields, filter by date. For large result sets, the SearchStream method is a good fit, as it delivers all rows of a query in one stream.

For access, the program needs a Google Cloud project with the Google Ads API enabled and an OAuth sign-in. A developer token is no longer required: Google sunset developer tokens on September 9, 2026, and access levels have been managed per Cloud project since then (Google Ads API documentation). How many operations a project may run per day depends on this access level: the Explorer level allows up to 2,880 operations per day against production accounts (Google Ads API documentation), the Basic level up to 15,000 (Google Ads API documentation). A Search or SearchStream request counts as one operation (Google Ads API documentation). A daily export with a few dozen queries stays far below that. A query for campaign data per day:

campaign-daily.gaql
SELECT
  segments.date,
  campaign.id,
  campaign.name,
  metrics.impressions,
  metrics.clicks,
  metrics.cost_micros,
  metrics.conversions,
  metrics.conversions_value,
  metrics.conversions_by_conversion_date,
  metrics.conversions_value_by_conversion_date
FROM campaign
WHERE segments.date BETWEEN '2023-11-20' AND '2023-11-30'

To back-fill the 37 months, the same query runs month by month, starting with November and December 2023, because those days drop out of the window first. The range has to start inside the window: from early December 2026, November 1, 2023 lies outside by our own calculation, and a query that reaches back to that day returns the error DateRangeError.INVALID_DATE (Google Ads Developer Blog). The query above therefore starts on the Monday of Black Week 2023. Product data comes from shopping_performance_view with segments.product_item_id, search terms from search_term_view. Each fully back-filled month can then be checked against the monthly value that Google keeps for 11 years (Google Ads Help): if the sum of the daily values and the monthly value differ significantly, a day or a campaign is missing.

Alternatively, you can use Google Ads scripts that run directly in the account. They are subject to the same 37-month limit (Google Ads Developer Blog) and may run for at most 30 minutes in an advertiser account before Google cancels them (Google Ads scripts documentation). That is enough for a one-time pull from smaller accounts; for a permanent export with a look-back window and checksums, a service on your own server is usually more reliable. The process in five steps:

  1. Set up access: enable the Google Ads API in the Google Cloud project and apply for the Explorer level, create OAuth access for the advertiser account or the manager account, store credentials outside the program code.
  2. Define queries: campaigns per day, ad groups per day, products per day, search terms per day and campaigns per hour for the promotion weeks.
  3. Back-fill: November and December 2023 first, then month by month up to today. Each month is checked against the monthly value after loading.
  4. Daily run: load the previous day every morning and overwrite the preceding days up to the end of the conversion window so that late conversions and corrections come through.
  5. Save settings: store budgets, bid strategies and targets as a snapshot once a day, plus the change history.

Useful fields for your own database

For a comparison over several years, a fixed schema with a few well-chosen fields pays off more than stored standard reports. This selection covers the usual questions after a promotion week:

FieldContentWhy it belongs in the database
segments.dateday in the account time zonekey for every daily comparison
segments.hourhour of the dayhourly curves of the promotion days
campaign.idfixed campaign identifierstays the same when the name changes
campaign.namename at the time of exportreadable analysis, trace renamed campaigns
metrics.cost_microscost in millionths of the currency unitexact sums without rounding errors
metrics.clicks and metrics.impressionsclicks and impressionsreach and click-through rate per day
metrics.conversions_valueconversion value by click datecost-revenue ratio as in Google Ads
metrics.conversions_value_by_conversion_dateconversion value by conversion datematching with the orders in the shop
segments.product_item_iditem ID from the product feedproduct comparison across promotion weeks
customer.currency_code and customer.time_zonecurrency and time zone of the accountconversion and day boundaries when matching

The API returns cost as an integer in micros; one million equals one currency unit (Google Ads API documentation). Store the value as it comes and convert it to euros only in the analysis. The cost row also needs the currency code of the account, otherwise accounts in different currencies cannot be separated later.

Record the time zone

Google Ads calculates reports segmented by time in the account time zone (Google Ads Help). For standard advertiser accounts, it can no longer be changed, and a new account does not take over historical data (Google Ads Help). Billing pages, on the other hand, only show Pacific Standard Time (Google Ads Help). Record the time zone with every export and convert the order times of the shop into the same time zone before comparing days.

Matching with the order data of your shop

The export only shows its real value next to the orders. The standard columns in Google Ads attribute conversions to the day of the ad click, not the day of purchase (Google Ads Help). Someone who clicks on the Monday before Black Week and buys on Black Friday shows up in Google Ads with cost and revenue on Monday, but in the shop on Friday. For this matching, there are columns by conversion time; Google explicitly describes them as a help for comparing with your own numbers (Google Ads Help).

The second building block is a shared identifier. The simplest one is the campaign ID: the ValueTrack parameter {campaignid} inserts it into the final URL of the ad (Google Ads Help), and a small extension in the shop stores it with the order. The click identifier GCLID is more granular but can be linked to a single visit; it only belongs with the order if a specific purpose such as importing offline conversions requires it, and it is deleted together with the order. How server-side tracking and consent work together is covered in our article on server-side tracking for Google Ads. From the shop, each order should contribute:

  • Order date and time, converted into the time zone of the Google Ads account
  • Order number and net merchandise value without shipping costs
  • Payment status, so that canceled prepayment orders do not count as revenue; how shops resolve unpaid promotion orders automatically is shown in the article on unpaid prepayment for promotional stock
  • Refunds from returns, calculated proportionally for discount promotions as in the article on partial returns after a promotion
  • New or existing customer, matching the segments from the article on new and returning customers in Google Ads
  • Campaign ID from the final URL parameter

With these fields, each day and campaign gets one row that shows both sides: what Google Ads cost, what Google reports as conversion value and what remained in the shop after cancellations and returns. That last column is exactly what Google Ads lacks, and it makes the year-over-year comparison reliable. We build the connection to shop and ERP as part of our integration development.

Year-over-year comparison after Black Week 2026

Black Friday moves through the calendar: November 24, 2023, November 29, 2024, November 28, 2025, November 27, 2026. A comparison by calendar date therefore puts promotion days next to ordinary days. An axis relative to Black Friday is more meaningful, for example from the seventh day before to Cyber Monday three days after. In your own database, this is one additional column with the distance of each date to Black Friday of its year. The three common axes at a glance:

Comparison axisStrengthWeakness
Calendar datesimple, matches the monthly valuespromotion days fall on different dates each year
Day relative to Black Fridaypromotion days sit directly side by sideneeds daily data from every year compared
Calendar weeksmooths out fluctuations of single daysBlack Week is split across two weeks depending on the year

Even a properly aligned comparison needs an eye on breaks in the data series. For online and mail-order retail, the Federal Statistical Office of Germany reported a real increase of 5.9% in November 2025 compared with the same month of the previous year (Destatis). At the same time, it points out that the affected time series have shown a structural increase since August 2024 due to the restructuring of a larger company (Destatis); a comparison with November 2023 spans this break. In your own account, such breaks include new campaign types, changed conversion actions or a shop relaunch; they belong with their date in a small event table next to the export data.

What the comparison should show

Cost per order, revenue after returns per euro of ad spend and the share of new customers per promotion day, each for four years side by side. Only this view shows whether a higher conversion value in Google Ads has actually arrived in the shop.

If the promotion includes its own offers or promotion pages, their run times also belong in the event table. The role that maintaining promotion pages plays for Google Ads is described in the article on automatic offers in Google Ads.

Billing data and retention obligations

According to the Help page, the 37-month rule also covers billing information (Google Ads Help). The ad account is therefore no archive for documents a company has to keep itself. Under Section 147(3) of the German Fiscal Code (Abgabenordnung), accounting vouchers must be kept for eight years, books, records and annual financial statements for ten years (§ 147 AO). Invoices from Google therefore belong in the accounting of the company and not just in the ad account. Which documents must be kept and for how long in an individual case is something to clarify with your tax advisor.

Whether individual campaign reports are relevant for tax purposes is also for your tax advisor to clarify. For many shops, the turn of the year is the date for counting and archiving anyway, as described in the article on year-end stocktaking in an online shop.

Timeline until the turn of the year

  1. By December 4: set up access to the Google Ads API, define queries and database schema.
  2. By December 13: back-fill the daily data of November 2023 that is still available and December 2023, starting with Black Week 2023 and its hourly data, and check complete months against the monthly values.
  3. By December 18: back-fill the remaining months up to today and start the daily run with a look-back window.
  4. By December 20: save the change history of Black Week 2026 and a snapshot of the settings.
  5. January 2027: year-over-year comparison of the promotion weeks 2023 to 2026 on the axis relative to Black Friday.
  6. By February 20, 2027: if needed, retrieve click data with GCLID for the days of Black Week 2026 one by one; clicks from November 23, 2026 drop out around February 21, 2027 by our own calculation.

The plan is tight but doable: most steps are one-time work, and from the daily run onward the rest takes care of itself. Anyone who only starts after December 24 loses the daily data of Black Friday 2023 for good, by our own calculation; the daily data of 2024 to 2026 can still be saved then.

Common mistakes in the export

  • Names instead of IDs: campaigns are often duplicated and renamed around Black Week; only the ID assigns the years correctly.
  • Cost as rounded euro amounts: the rounding per row adds up over thousands of rows. Micros as integers stay exact.
  • One-time export without a look-back: the state from the day after Black Friday does not yet contain all conversions. A day is only complete once the conversion window has passed.
  • Forgotten time zone: orders in local time and figures from an account in a different time zone shift revenue across midnight into the wrong day.
  • Export files on individual computers: spreadsheets in download folders are rarely findable after three years and rarely structured consistently.
  • Missed API version changes: major versions of the Google Ads API have a lifespan of around 12 months (Google Ads API documentation). An unmaintained export stops after a sunset, and the gap often only shows up at the next comparison.

How we help you save your campaign data

We connect Google Ads to your shop via the Google Ads integration and set up the export into a database you own: with a fixed schema, a look-back for late conversions and checksums against the monthly values. On request, we run the database in our hosting or on your own server. For shops on Shopware, we add the campaign ID to the order and match the figures with orders, cancellations and returns; more on this on our page on Shopware development.

Set up the export

Access to the Google Ads API, queries for campaigns, products, search terms and hours, daily run with a look-back window.

Back-fill Black Week 2023

Daily data for November and December 2023 first, then month by month up to today, checked against the monthly values.

Match shop data

Orders, cancellations, returns and new customers per campaign and day next to the cost from Google Ads.

Ongoing maintenance

With a maintenance contract, we migrate to new Google Ads API versions and adapt the queries; scope and price are set out in the quote, without a maintenance contract we bill by effort.

If you first want to find out which data in your account is still available day by day, reach out via our contact page. We handle analyses beyond the export with our custom programming.

Sources and studies

This article is based on Google Ads Help (data deletion and retention, data freshness, conversion windows, account time zone, ValueTrack parameters, conversions by conversion time), on the Google Ads Developer Blog (post on the new retention policy in effect since June 1, 2026), on the Google Ads API documentation (ClickView, Change Event, access levels, limits and quotas, field reference for metrics, campaign budget and customer, version lifespans), on the Google Ads scripts documentation (limits), on Section 147 of the German Fiscal Code (gesetze-im-internet.de) and on press release no. 004 of the Federal Statistical Office of Germany dated January 7, 2026 (Destatis). All information retrieved on November 5, 2026. The dates for the expiry of daily data are our own calculations based on the 37-month rule; Google does not state an expiry date for individual days.

No. After 37 months, hourly, daily and weekly data can no longer be retrieved, while monthly, quarterly and annual data remains for 11 years (Google Ads Help). You can still see what a month cost in total, but no longer how costs and revenue were distributed across individual days.

Yes. According to the Google Ads Developer Blog, queries with daily or weekly segments that reach back more than 37 months have returned an error since June 1, 2026; older periods can only be retrieved via monthly, quarterly or annual segments (Google Ads Developer Blog). The relevant section explicitly names the Google Ads API and Google Ads scripts.

By our own calculation, the daily data from November 24, 2023 drops out of the window around December 24, 2026, and the first days of Black Week 2023 as early as around December 20. Google does not state a date for individual days. We usually recommend completing the export by mid-December.

For a one-time backup of individual reports, it can be enough. For a comparison over several years, a fixed export via the API is usually more reliable: the same fields, IDs instead of names, a look-back for late conversions and a check against the monthly values.

A common reason is attribution: the standard columns in Google Ads count conversions on the day of the ad click (Google Ads Help), while the shop counts the order on the day of purchase. Cancellations, returns and the account time zone add to that. The columns by conversion time are suitable for matching.

Typically hourly data of the promotion days, product data per day, search terms, a daily snapshot of budgets and bid targets and the change history, which only reaches back 30 days via the API (Google Ads API documentation). Click data with GCLID reaches back at most 90 days (Google Ads API documentation) and only belongs in the database if a specific purpose requires it.