BigQuery SQL for Search Console Image and Video Exports
When you report page-level results from Google Search Console’s Image and Video tabs, you query searchdata_url_impression and filter search_type to image or…
Google Search Console exports daily search performance data into your BigQuery tables. Google can deliver a date’s rows late, or it can revise a date it already exported. Google writes each successful export and revision to the ExportLog table, which records successful exports and revisions. You can query that table to find the latest version Google recorded for each table and date, though Google can still revise that date later.
When you report on image and video traffic, you also have to pick the right Search Console field. search_type = 'image' covers traffic from Google Images, and search_type = 'video' covers traffic from the Videos tab. A separate is_video field marks video appearances in broader search results, while web multimodal searches, such as searches started with an image, sit in another category. To keep your reports accurate, pick the right field for each search type, check the export log, and refresh any date that Google revises.
Search Console exports data once a day, though Google does not always finish every table at the same time because the export time can vary by table. Your property-level table (searchdata_site_impression) and your URL-level table (searchdata_url_impression) can each have their own successful export record for the same date. In ExportLog, namespace names the destination table, data_date gives the day the search activity happened, epoch_version tracks the version number, and publish_time shows when Google finished writing that export. Google records all of these dates and times in Pacific Time, as described in its table guidelines and reference.
The first export for a day starts with an epoch_version of 0. Whenever Google revises a previously saved day, it increases that number by one. To see the latest version Google has recorded for each table and date, pull the row with the highest epoch_version:
SELECT
namespace,
data_date,
epoch_version,
publish_time
FROM <code>my_project.searchconsole.ExportLog
WHERE data_date BETWEEN DATE '2026-11-01' AND DATE '2026-11-20'
QUALIFY ROW_NUMBER() OVER (
PARTITION BY namespace, data_date
ORDER BY epoch_version DESC, publish_time DESC
) = 1
ORDER BY data_date DESC, namespace;
Swap my_project.searchconsole for your own project and dataset, and check the exact namespace values in your table before you filter on them. A row in ExportLog confirms that Google finished an export for that table and date. It does not log failed runs, and it does not mean Google has locked that date against future revisions.
To pull your metrics, join the daily impression table to the latest ExportLog entry for that table and date, then sum the numbers. Search Console can write multiple rows with the same key, so you should sum impressions and clicks at the level of detail your report needs rather than assuming each URL or date appears once. Following Google’s query guidelines, filter your query to the specific date range you care about.
WITH latest_logged_day AS ( SELECT namespace, data_date, epoch_version, publish_time FROM <code>my_project.searchconsole.ExportLogWHERE data_date BETWEEN DATE '2026-11-01' AND DATE '2026-11-20' QUALIFY ROW_NUMBER() OVER ( PARTITION BY namespace, data_date ORDER BY epoch_version DESC, publish_time DESC ) = 1 ) SELECT d.data_date, LOWER(d.search_type) AS search_type, SUM(d.impressions) AS impressions, SUM(d.clicks) AS clicks FROMmy_project.searchconsole.searchdata_site_impressionAS d JOIN latest_logged_day AS log ON log.data_date = d.data_date AND log.namespace = 'searchdata_site_impression' WHERE LOWER(d.search_type) IN ('image', 'video') GROUP BY d.data_date, search_type ORDER BY d.data_date, search_type;
That query pulls Images-tab and Videos-tab traffic from the property-level table. If you need URL-level numbers, point the query at searchdata_url_impression instead. Keep is_video separate from search_type = 'video'. Google defines is_video as a video Search appearance in broader results, while search_type = 'video' counts traffic from the Videos tab. Google’s Search Console dimensions reference treats them as two separate reporting dimensions.
Multimodal searches take a bit more legwork. In its November 2026 update, Google announced that properties with an active bulk export would start receiving web multimodal data in BigQuery. Because the table reference does not name the exact field or value Google uses for this category, you should inspect your exported schema and check the distinct values on dates where multimodal data is present. Confirm how Google represents it in current documentation before you build a filter, and do not use search_type = 'image' as a stand-in for web searches started with an image.
For a broader explanation of the image and video dimensions, see querying Search Console image and video data in BigQuery.
If ExportLog has no entry for a date and table you need, Google may not have finished exporting it yet. Because ExportLog only records successful runs, you have to open Search Console’s bulk export status and Cloud Logs Explorer to see if an export failed. According to Google’s bulk export monitoring guidance, when a non-transient problem like a permissions error blocks an export, Search Console retries the missed date during later scheduled runs. Search Console holds onto missed-day data for about a week before it gives up on that date, and if exports keep failing for about a month, Google can stop the bulk export altogether.
When epoch_version goes up for a date you already reported, query that date again from the current table and recalculate any totals that include it. Google treats revisions as atomic updates to a day’s data, so the new rows replace the old ones. Never add a revised total on top of an earlier total as if they were two separate days of traffic.
When a row is missing, you cannot assume your traffic was zero, and you cannot assume the export is only running late. Check ExportLog and your export status first, then look into any repeated failures. Google does not publish a fixed waiting window after which image, video, or multimodal data is guaranteed to stop changing.
A date’s numbers are only current as of the last time you checked, because Google can still revise them later. Before you publish a report, verify that each table you use has a successful ExportLog entry, note the latest epoch_version and publish_time, and look at the export status for any failures. Run your log query one more time right before you finalize the report, and refresh the metrics for any date whose version number changed.
If your team wants to wait a set number of days before publishing, pick that delay yourself and treat it as an internal rule rather than a promise from Google. Google’s daily export timing varies by table, and its documentation sets no settlement deadline for BigQuery. Google’s freshness guidance for Search Console reports does not set a BigQuery finalization window either.
Keep your reporting calendar aligned with data_date in Pacific Time. If you group data by UTC or another local timezone, you can shift search activity onto the wrong calendar day. Keep your date filters in place, and check your BigQuery partition expiration settings so BigQuery does not delete dates you still need for rechecks or backfills. When you configure expiration, Google recommends a partition expiration of 14 days or longer.
For related checks, see validating Search Console bulk export partitions and retries.
Give Vroni a GitHub issue, bug report, spec, or rough idea. It reads the repo, plans the change, writes code, runs checks, and works toward a review-ready pull request.
Take a look at vroni.com