Skip to content

About

Scrape Google's Ads Transparency Center by URL, advertiser, ID or domain: creatives, preview URLs and run dates for every ad, plus optional ad copy, regional delivery and, for political ads, spend, impressions and demographic targeting.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

Google Ads Scraper extracts ads from Google's Ads Transparency Center — search by URL, advertiser, ID or domain, across general commercial ads and political & election ads. Every ad comes with its creative preview and run dates; optional switches add ad copy, regional delivery, and — for political ads — spend, impressions and demographic targeting.

Perfect for competitive-intelligence teams, media planners and political-ad researchers and journalists.

What does Google Ads Scraper do?

  • Three ways to search — paste Transparency Center URLs, run general searches, or political-ad searches; combine all three in one run.
  • Run dates on every ad — first shown, last shown and days ran.
  • Ad copy (optional) — headline, long headline, description, CTA, click and display URL, thumbnail, channel and video length.
  • Full details (optional) — per-region delivery; for political ads, spend range, impression range and age/gender/location targeting.
  • Never fails on one bad input — invalid search values are logged and recorded as error items while the rest of the run completes.
  • Optional login — your own Google session lifts the ~100–200 ads per advertiser anonymous cap.

What data can you extract from the Ads Transparency Center?

Category Fields
Ad advertiserId, creativeId, format, adTransparencyUrl, previewUrls
Advertiser advertiserName, domain
Timing firstShown, lastShown, daysRan
Delivery (full details) creativeRegions, countries, regionStats with per-platform impressions
Political (full details) totalImpressions, totalAmountSpent, demographics (age, gender, location — included/excluded)
Ad copy (optional) adCopy[] — headline, longHeadline, description, cta, clickUrl, displayUrl, thumbnail, videoUrl, channelName, videoDuration

Who uses Google Ads Scraper?

  • Competitive intelligence — competitor creative formats, messaging and reach.
  • Market & political research — industry ad patterns, election ad spend, reach and targeting by region.
  • Media & campaign planning — YouTube vs. Search vs. Shopping, regions and creative direction based on what's running.
  • Business intelligence — brand monitoring, partner discovery and market-entry research.

Why use Google Ads Scraper on Apify?

Running it on Apify gives you API access, scheduling, monitoring, integrations (Make, Zapier, n8n, webhooks) and automatic proxy routing without managing infrastructure.

How to scrape Google Ads Transparency Center

  1. Open Google Ads Scraper in Apify Console.
  2. Paste Transparency Center links into Ad URLs, and/or add General ad search or Political ad search entries.
  3. Set Max results per search (start small: 10; 0 = unlimited).
  4. Turn on Fetch full ad details and/or Extract ad copy if you need them.
  5. Click Start, then download the ads as JSON, CSV or Excel, or fetch them over the API.

How much does it cost to scrape Google Ads?

One event — you pay per ad creative delivered, whatever options you enable:

Event FREE BRONZE SILVER GOLD
Ad creative $0.0018 $0.0012 $0.001 $0.0007
  • 1,000 ads cost about $1.80 on the FREE plan price and $0.70 on GOLD.
  • Search attempts aren't charged — only ads actually delivered. Test with maxResults: 10 first.

Input and output examples

Input — by URL

{
  "adUrls": [
    { "url": "https://adstransparency.google.com/advertiser/AR04619580580634296321" }
  ],
  "fetchAdDetail": true
}

Input — general search

{
  "generalAdSearch": [
    {
      "searchTargets": "nike",
      "maxAdvertiserAccounts": 3,
      "targetPlatform": "YOUTUBE",
      "adFormatType": "VIDEO",
      "timeRangePreset": "LAST_30_DAYS"
    }
  ],
  "maxResults": 20
}

Input — political & election ads

{
  "politicalAdSearch": [
    {
      "searchTargets": "AR17672453691778531329",
      "geoTargetRegion": "United States",
      "impressionsRange": "100K_250K",
      "amountSpentRange": "10K_50K"
    }
  ],
  "fetchAdDetail": true
}
Field Applies to Description
maxResults All Max ads per URL and per search entry; 0 = unlimited (default 10)
fetchAdDetail All Adds regional breakdown, plus spend/impressions/demographics for political ads
fetchAdCopy All Adds the ad's text (one extra request per ad)
adUrls URL search Ads Transparency Center URLs; every filter in the URL is respected
generalAdSearch General searchTargets (name/ID/domain), maxAdvertiserAccounts, maxDomainMatches, targetPlatform, adFormatType, region and date filters
politicalAdSearch Political searchTargets and geoTargetRegion (both required), plus impressions, spend and date filters
cookie All Optional secret: your own Google session, to lift the anonymous cap

Output (full details on)

{
  "advertiserId": "AR04619580580634296321",
  "creativeId": "CR14567271621866815489",
  "advertiserName": "Nike",
  "domain": "nike.com",
  "format": "VIDEO",
  "adTransparencyUrl": "https://adstransparency.google.com/advertiser/AR04619580580634296321/creative/CR14567271621866815489?region=anywhere",
  "previewUrls": ["https://displayads-formats.googleusercontent.com/ads/preview/content.js?..."],
  "creativeRegions": ["United States", "Canada", "United Kingdom"],
  "countries": ["US", "CA", "GB"],
  "firstShown": "2026-06-01T09:12:00-07:00",
  "lastShown": "2026-06-25T07:53:00-07:00",
  "daysRan": 24,
  "totalImpressions": { "lowerBound": 100000, "upperBound": 250000 },
  "totalAmountSpent": [{ "currency": "USD", "lowerBound": 10000, "upperBound": 50000 }],
  "demographics": null,
  "regionStats": [
    {
      "regionCode": "US",
      "regionName": "United States",
      "impressions": { "lowerBound": 80000, "upperBound": 200000 },
      "platformStats": [
        { "surfaceName": "YouTube", "impressions": { "lowerBound": 60000, "upperBound": 150000 } }
      ]
    }
  ],
  "source_url": "https://adstransparency.google.com/advertiser/AR04619580580634296321",
  "_source": "google_ads_scraper"
}

Ad copy (with Extract ad copy on)

"adCopy": [
  {
    "headline": "Pokémon Kids TV",
    "longHeadline": "Pi-Pi-Pi-Pi Pikachu!",
    "description": "Fun Pokémon Content for Kids!",
    "cta": "Subscribe",
    "clickUrl": "https://www.youtube.com/@pokemonkidstv",
    "displayUrl": "youtube.com",
    "thumbnail": "https://i.ytimg.com/vi/h4-ftQE3zEQ/hqdefault.jpg",
    "videoUrl": "https://www.youtube.com/watch?v=h4-ftQE3zEQ",
    "channelName": "Pokémon Kids TV",
    "videoDuration": "4:25"
  }
]

Political targeting

"demographics": {
  "age": { "included": ["25 to 34", "35 to 44"], "excluded": [] },
  "gender": { "included": ["Female"], "excluded": [] },
  "location": { "included": ["California", "Texas"], "excluded": ["New York"] }
}

Call it from code

from apify_client import ApifyClient
client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("dz_omar/google-ads-scraper").call(
    run_input={"generalAdSearch": [{"searchTargets": "nike", "maxAdvertiserAccounts": 3}], "maxResults": 20}
)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

The older flat input (searchTargets, resultsPerQuery, politicalAdsMode) is still accepted.

Other Actors you might need

Actor What it adds
Google Trends Scraper Interest, Regions, Related & Trending
Google Flights Scraper Fares, Booking & Explore
Facebook Ads Scraper Pro Extract Facebook Ad Library data: creatives, targeting & metrics.
Yandex Reverse Image Search File Upload, OCR & All Regions
LinkedIn Ads Scraper Impressions, Targeting & Many Searches

Frequently asked questions

Do I need a Google account?

No — it works anonymously. The optional cookie field only lifts the ~100–200 ads per advertiser cap Google applies to anonymous requests. It uses your real Google session, so a secondary account is recommended.

Why did I get fewer results than expected?

Situation What you see What to do
No results for a valid advertiser/URL Empty dataset, no error Remove region/date filters; check the ad exists in the Transparency Center
Political search missing region Validation error before the run starts Set geoTargetRegion
Results stop around 100–200 per advertiser Anonymous cap Use the optional cookie field
Unsupported legacy searchTargets value error: true item, run continues Move that entry to adUrls (see the item's reason)

Do I need to set up a proxy?

No. Paying users are routed through a dedicated proxy network with automatic fallback to Apify Proxy; other users use Apify Proxy.

Are spend and impressions available for all ads?

Only for political & election ads — Google publishes ranges for Restricted Content. Regional delivery is available for all ads with full details on.

Is it legal to scrape the Ads Transparency Center?

It is public transparency data published by Google. If you use the cookie field, review Google's terms for your account; comply with data-protection laws. This is not legal advice.

Can I use Google Ads Scraper in Make, Zapier, n8n or my own code?

Yes — through Apify's integrations, or with the Apify API and client libraries (Python and JavaScript examples above).

Support

Legal & compliance

  • Public data only — Google's public Ads Transparency Center; login is optional and uses your own account.
  • Rate limiting — modest request rates with back-off.
  • Data protection — no storage of personal information or unauthorized data collection.
  • Commercial use — suitable for competitive analysis, research and journalism.
  • No affiliation with or endorsement by Google is implied.

Google Ads Scraper — by FlowExtract API. Turn any website into structured data.

About

Scrape Google's Ads Transparency Center by URL, advertiser, ID or domain: creatives, preview URLs and run dates for every ad, plus optional ad copy, regional delivery and, for political ads, spend, impressions and demographic targeting.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors