Scrape competitor ads from Google's Ads Transparency Center (Search, YouTube, Display, Gmail). Search by company name, domain, or advertiser ID. Returns ad creatives, formats, targeting regions, and campaign details. Use for competitive ad research and messaging analysis.
npx gooseworks install --claude # Then in your agent: /gooseworks <prompt> --skill google-ad-scraper
Scrape ads from Google's Ads Transparency Center using the Apify xtech/google-ad-transparency-scraper actor. Covers Search, YouTube, Display, and Gmail ads.
Requires APIFY_API_TOKEN env var (or --token flag). Install dependency: pip install requests.
# Search by company name (auto-resolves advertiser ID)
python3 skills/google-ad-scraper/scripts/search_google_ads.py \
--company "Nike"
# Search by domain (more precise)
python3 skills/google-ad-scraper/scripts/search_google_ads.py \
--domain "nike.com"
# Direct advertiser ID (skip lookup step)
python3 skills/google-ad-scraper/scripts/search_google_ads.py \
--advertiser-id "AR13129532367502835713"
# With region filter
python3 skills/google-ad-scraper/scripts/search_google_ads.py \
--company "Shopify" --region US
# Limit results
python3 skills/google-ad-scraper/scripts/search_google_ads.py \
--domain "hubspot.com" --max-ads 30
# Human-readable summary
python3 skills/google-ad-scraper/scripts/search_google_ads.py \
--company "Stripe" --output summary--advertiser-id provided):
AR + 20 digits)xtech/google-ad-transparency-scraper actorThe script handles the name → ID lookup automatically:
--domain nike.com): Searches adstransparency.google.com/?domain=nike.com. Most reliable method.--company "Nike"): Searches adstransparency.google.com/?text=Nike. May return multiple matches.--advertiser-id AR...): Skips lookup entirely. Use when you already have the ID.If auto-resolution fails:
https://adstransparency.google.com/advertiser/AR17828074650563772417--advertiser-id AR17828074650563772417| Flag | Default | Description |
|---|---|---|
--company | none | Company name to search |
--domain | none | Company domain (e.g. nike.com) — more precise |
--advertiser-id | none | Google Ads advertiser ID(s), comma-separated (skips lookup) |
--region | anywhere | Region filter (US, GB, DE, etc. or "anywhere") |
--max-ads | 50 | Maximum number of ads to return |
--output | json | Output format: json or summary |
--token | env var | Apify token (prefer APIFY_API_TOKEN env var) |
--timeout | 300 | Max seconds to wait for Apify run |
At least one of --company, --domain, or --advertiser-id is required.
Each ad in the output may contain (varies by ad format):
{
"advertiser_name": "Nike, Inc.",
"advertiser_id": "AR13129532367502835713",
"ad_format": "TEXT",
"headline": "Nike.com - Official Site",
"description": "Shop the latest Nike shoes, clothing...",
"display_url": "nike.com",
"destination_url": "https://www.nike.com/",
"region": "United States",
"last_shown": "2026-02-20",
"first_shown": "2026-01-15",
"image_url": "https://...",
"video_url": "https://..."
}python3 skills/google-ad-scraper/scripts/search_google_ads.py \
--domain "competitor.com" --max-ads 100 --output summary# Get IDs first, then scrape in one run
python3 skills/google-ad-scraper/scripts/search_google_ads.py \
--advertiser-id "AR111,AR222,AR333" --max-ads 50# See what ads run in specific regions
python3 skills/google-ad-scraper/scripts/search_google_ads.py \
--domain "shopify.com" --region US --output summary
python3 skills/google-ad-scraper/scripts/search_google_ads.py \
--domain "shopify.com" --region GB --output summary--domain for best results or provide --advertiser-id directly.See references/apify-config.md for detailed API configuration, token setup, and rate limits.
--domain nike.com): Searches adstransparency.google.com/?domain=nike.com. Most reliable method.--company "Nike"): Searches adstransparency.google.com/?text=Nike. May return multiple matches.--advertiser-id AR...): Skips lookup entirely. Use when you already have the ID.Check and improve your brand's visibility across AI search engines (ChatGPT, Perplexity, Gemini, Grok, Claude, DeepSeek). Set up tracking, run visibility analyses, audit your website for AI readability, and get actionable recommendations. Uses the npx goose-aeo@latest CLI.
Extract competitor and customer intelligence from any company's landing page HTML. Discovers tech stack, analytics tools, ad pixels, customer logos, SEO metadata, CTAs, hidden elements, and more. No API keys required.
Discover all customers of a given company by scanning websites, case studies, review sites, press, social media, job postings, and more. Use when you need competitive intelligence on who a company sells to.