ETLMCPData Conveyance Works
Log in Start free
Guides

Why idle campaigns are missing from daily rows

Google Ads sends no row for a day on which a campaign or ad had all-zero metrics, so a missing day means zero activity, not lost data.

Coming This connector is coming.

A campaign with no activity on a day has no row for that day. When a Google Ads API report is split by a segment such as the date, Google leaves out every row whose selected metrics are all zero. When the Google Ads connector is available, etlmcp's report will be split by date, so a paused or idle campaign shows up only on the days it recorded at least one impression, click, cost, conversion or conversion value. A gap in your table is a zero, not a failed sync.

What Google does

  • Segmented reports drop all-zero rows. A report is segmented as soon as it selects any segments field. In such a report, a row is left out when every selected metric is zero. Asking for segments.date gives one row per entity per day, and days with nothing to report are absent.
  • Unsegmented reports can return zero rows. Without a segment, the API can return entities whose metrics are all zero, such as campaigns that were not eligible to show or were paused during the range. Google suggests a filter such as metrics.impressions > 0 if you want to remove them.

Segmenting also hides entities with zero impressions when you only ask for their settings, so a daily report does not list every campaign.

Downloads from the Google Ads interface can leave out empty rows too. Google's help page on missing data says a report downloaded from the Report Editor may exclude rows showing 0 clicks or impressions, and that a keyword appears in a report only if it had at least one impression in the period. If a keyword is missing, Google suggests widening the date range before you download again.

What etlmcp asks for

When the Google Ads connector is available, each sync searches two resources for every account: one on ads (ad_group_ad) and one on campaigns (campaign). Both select segments.date together with five metrics: metrics.impressions, metrics.clicks, metrics.cost_micros, metrics.conversions and metrics.conversions_value. Because both reports are segmented by date, Google's rule applies: an ad or a campaign appears on a day only if at least one of those five figures is not zero for it.

  • No status filter. Neither search filters on status, so removed and paused ads and campaigns will still appear on the days they had activity. They will be missing only on the days they had none.
  • A row can have zero clicks. Google keeps a row when any one selected metric is not zero, so a day can carry conversions with zero impressions and zero clicks.
  • Missing fields read as zero. If a returned row lacks one of the five metric fields, etlmcp will store that field as 0.
  • Campaign-level rows only for the remainder. etlmcp will write a campaign-level row only when the campaign reported more for the day than its ads did, as a Performance Max campaign, which has no ad rows, does. If nothing is left over, there is no campaign-level row.

Each run will replace the stored rows for the whole date range it pulled, so a day that later drops to all zeros at Google will lose its old row on the next pull of that day. A routine Google Ads sync will pull the last 31 days again.

How to work with the gaps

  • Treat a missing day as zero. Sums and spend totals are already correct, because a zero row would add nothing.
  • Build a date spine for daily averages and charts. An average of daily spend over the rows you have divides by active days only. Join your rows to a calendar of every date and fill the gaps with 0 before you average, chart or compare days.
  • Do not count campaigns from report rows. A count of distinct campaign_id values gives the campaigns that were active in the range, not the campaigns in the account. For the full list, run a report without a date segment, which Google says can include entities whose metrics are all zero.
  • Check a missing campaign with a wider range. If a campaign has no rows at all, query a longer period; if it still has none, it recorded nothing in that time.

This PostgreSQL query fills the gaps for one campaign in a table of Google Ads rows delivered by etlmcp:

SELECT d::date AS date,
       COALESCE(SUM(r.cost), 0)        AS cost,
       COALESCE(SUM(r.impressions), 0) AS impressions
FROM generate_series(DATE '2026-11-01', DATE '2026-11-30', INTERVAL '1 day') AS d
LEFT JOIN ads_daily AS r
  ON r.date = d::date AND r.campaign_id = '1234567890'
GROUP BY 1
ORDER BY 1;

Replace the table name, the dates and the campaign id with your own. The columns etlmcp will write for Google Ads are listed on the Google Ads connector page, and you can ask for the same rows through query_data. How segments change the number of rows is covered in Segments multiply rows and can hide Performance Max.

Related

Sources

  1. Zero metrics in search results — developers.google.com, checked
  2. Fix missing data and discrepancies — support.google.com, checked