Guides

How to scrape the Google Ads Transparency Center

The Google Ads Transparency Center (adstransparency.google.com) shows the ads advertisers run on Google Search, YouTube, Display and Shopping. There's no live query API for everything the website shows, but Google publishes an official dataset: the Transparency Center's own \"get API access to this data\" link points to a free BigQuery public dataset, updated daily, which Google describes as covering ads served in the European Economic Area or Turkey. It suits bulk and historical analysis. For any advertiser or region as the website shows it, fresh creative pulls, or no Google Cloud setup, use a scraper.

google ads transparency center scraper ·

What is the Google Ads Transparency Center?

It's Google's public ad library. For each advertiser it lists their ads, the format (text, image or video), where and when each ad was shown, and for some regions impression ranges and targeting criteria. Marketers use it to see what competitors run, agencies to collect creative examples, and researchers and journalists to study who advertises what.

Your three options

OptionCoverageFieldsEffortCost
The website, by handAll countries Google showsEverything on the pageCopying by handFree
Official BigQuery public dataset google_ads_transparency_center (linked from the Transparency Center as "get API access to this data")Google describes it as ads served in the EEA or Turkey (creative_stats) and EEA ads Google removed (removed_creative_stats)Advertiser and creative records with per-region dates and impression ranges; the README lists every columnSQL and a Google Cloud project, or a free download of the raw JSON from Cloud Storage with the gcloud CLI; updated dailyFree within BigQuery's 1 TB a month query tier; the download is free
A scraper (e.g. Google Ads Transparency Center Scraper)Any country the website shows; set region= in the start URL (e.g. ?region=US)Advertiser, creative ID, format, ad text and media links in variants, first/last shown, impressions, countries, per-platform stats, audience selectionsPaste Transparency Center URLs, schedule runsRental or per-result pricing; see Apify vs Bytewells

When the BigQuery dataset is enough

Use the dataset if you study ads shown in Europe or Turkey, want bulk or historical data across many advertisers at once, and are comfortable with SQL or raw JSON. It's official, Google updates it daily, queries count against BigQuery's free 1 TB a month of query processing, and the raw JSON (with a README) is a free download from Cloud Storage. Google also publishes political ads data separately. Google's sample queries include "Which ads were shown in Spain?" and "How many ads were removed for policy violations in France?".

When you need a scraper

A scraper fits when you want the Transparency Center as the website shows it: any advertiser, any region filter you can set in the browser, and fresh per-advertiser creative pulls (ad variants with text and media links) on a schedule, without setting up a Google Cloud project. Because Google describes the dataset as covering ads served in the EEA or Turkey, an advertiser's ads that only ran elsewhere may not be in it. Check the dataset README for the exact fields before you pick.

How to run the scraper

  1. Open the Transparency Center, search for an advertiser or domain, and set the region and date filters you want.
  2. Copy the URL from your browser. That URL is your input, and creative detail URLs also work.
  3. Set maxItems and set region= in the start URL (e.g. ?region=US), because Google shows different ads by location.
  4. Run it and download the dataset as JSON, CSV or Excel, or read it through the API.
import os
from apify_client import ApifyClient
client = ApifyClient(os.environ["BYTEWELLS_TOKEN"], api_url="https://bytewells.com/api")
run = client.actor("lexis-solutions/google-ads-scraper").call(run_input={
    "startUrls": [{"url": "https://adstransparency.google.com/advertiser/AR07117872862404280321?region=US"}],
    "maxItems": 100,
    # region comes from the start URL, e.g. ?region=US
})
items = client.dataset(run["defaultDatasetId"]).list_items().items

Age-restricted ads only show to signed-in users. The Actor's README explains how to add cookies from a test account if you need them.

What you get per ad

Advertiser name and ID, creative ID, format, detail and preview URLs, first and last shown dates, impression range, countries shown, per-country stats, per-platform stats (Search, YouTube, Shopping), audience selections with include/exclude flags, and variants with decoded ad text and media links.

Using the data responsibly

The Transparency Center exists so the public can see who advertises. Keep request rates reasonable, follow Google's terms for the site and the dataset, and use the data for research and competitive analysis, not to target individuals.

Sources

Frequently asked questions

Is there a Google Ads Transparency Center API?
There's no live query API for everything the website shows. Google does publish an official dataset, linked from the Transparency Center as "get API access to this data": a BigQuery public dataset, updated daily, also downloadable free as JSON. Google describes it as covering ads served in the EEA or Turkey. For other advertisers or regions as shown on the website, people use a scraper.
What does the BigQuery dataset include?
Advertiser and creative records with per-region shown dates and impression ranges, for ads Google describes as served in the EEA or Turkey, plus a table of EEA ads Google removed. The README that ships with the data lists every column.
Can I get ads shown in the US?
The website shows them with the US region filter, and a scraper can collect them when you set region= in the start URL (e.g. ?region=US). The dataset is described as covering EEA and Turkey ads, so US-only ads may not be in it.
Can I download the ad creatives?
The scraper returns media links per variant and can optionally save media files to the run's key-value store.
How much does it cost to scrape?
On Bytewells the Google Ads Transparency Center Scraper is $29 a month plus about $0.08 per 1,000 ads of compute and network usage. New accounts get $5 of free credit.

Permalink