Agent skill

Google Ad Scraper

by gooseworks-ai in gooseworks-ai/goose-skills

Scrape competitor ads from Google Ads by domain. An agent skill from gooseworks-ai/goose-skills.

MITAuto-check passedMarketing & SEO

Install Google Ad Scraper

skills CLI
$ npx skills add gooseworks-ai/goose-skills --skill google-ad-scraper -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install gooseworks-ai/goose-skills google-ad-scraper --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/gooseworks-ai/goose-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/ads/capabilities/google-ad-scraper .claude/skills/google-ad-scraper && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
google-ad-scraper
GitHub stars
1.2k
Used in
1 other repo
Token cost
~1.1k tokens
SKILL.md length
343 words
Files
5 (incl. scripts)
Skills in repo
273
Repo updated
First seen
Licence
MIT

At a glance

Scrape competitor ads from Google Ads by domain. An agent skill from gooseworks-ai/goose-skills.

  • Works in 2 steps: Competitor Ad Research → Compare Multiple Competitors
  • Competitive ad research and messaging analysis
  • SKILL.md covers Quick Start, How It Works, CLI Reference and Output Fields, plus 3 more sections
  • Runs Python scripts from its folder; calls python3; reaches nike.com; needs APIFY_API_TOKEN

What it does

Google Ad Scraper is an agent skill from gooseworks-ai/goose-skills. Scrape competitor ads from Google Ads by domain. Returns ad creatives, formats, and campaign details. Use for competitive ad research and messaging analysis.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts (for example `scripts/search_google_ads.py`, `skill.meta.json` and `tests/actor-input-contract.json`).

It sits in Marketing & SEO, covering Web scraping and Paid advertising. It works with Google Ads and Apify. The repository describes itself as: Library of Growth & GTM skills + data APIs for Claude Code, Codex, Cursor to run ads, social, content, lead gen, seo and data scraping. The licence is MIT.

When your agent uses it

  • Competitive ad research and messaging analysis
  • Tasks that involve Web scraping
  • Tasks that involve Paid advertising

Example prompts

  • “/google-ad-scraper”

Requirements

  • Python 3
  • A credential in APIFY_API_TOKEN

Workflow steps

2 steps, taken from the step headings in SKILL.md.

  1. Competitor Ad Research
  2. Compare Multiple Competitors

What it can do on your machine

Read from SKILL.md and the folder at commit 4bbe1ef. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • nike.com

    Also links to:

    • apify.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • APIFY_API_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Google Ad Scraper loads about 1.1k tokens when it runs. Until then it costs about 44 tokens; SKILL.md has 343 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~44
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from gooseworks-ai/goose-skills at commit 4bbe1ef, republished under its MIT licence (© gooseworks-ai). 343 words, ~1,065 tokens.

Download SKILL.mdSave it as .claude/skills/google-ad-scraper/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
google-ad-scraper
description
Scrape competitor ads from Google Ads by domain. Returns ad creatives, formats, and campaign details. Use for competitive ad research and messaging analysis.

Google Ads Scraper

Scrape ads from Google Ads using the Apify burbn/google-ads-search actor. Search by domain to get ad creatives, formats, and campaign details.

Quick Start

Requires APIFY_API_TOKEN env var (or --token flag).

bash
# Search by domain (recommended)
python3 skills/google-ad-scraper/scripts/search_google_ads.py \
  --domain "hubspot.com"

# Search by company name (resolves to domain via transparency center)
python3 skills/google-ad-scraper/scripts/search_google_ads.py \
  --company "Nike"

# 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 \
  --domain "stripe.com" --output summary

How It Works

  1. Domain Input: Pass the target company's domain directly via --domain
  2. Company Name Resolution (optional): If only --company is provided, the script searches Google Ads Transparency Center using Apify's web-scraper (Puppeteer) to resolve the company name to advertiser info
  3. Ad Scraping: Calls the Apify burbn/google-ads-search actor with {"domain": "...", "maxResults": N}
  4. Output: Returns ads as JSON or human-readable summary

Input contract: maxResults is the actor’s documented limit field (official schema). This fallback remains temporary research; it does not create a saved GooseWorks ad-library source. Prefer the confirmed durable Google workflow in competitor-ad-intelligence when saving is requested.

CLI Reference

FlagDefaultDescription
--domainnoneCompany domain (e.g. hubspot.com) — recommended
--companynoneCompany name (resolved to domain via transparency center)
--max-ads50Maximum number of ads to return
--outputjsonOutput format: json or summary
--tokenenv varApify token (prefer APIFY_API_TOKEN env var)
--timeout300Max seconds to wait for Apify run

At least one of --company or --domain is required.

Output Fields

Each ad in the output contains:

json
{
  "advertiserId": "AR13129532367502835713",
  "advertiserName": "Nike, Inc.",
  "creativeId": "CR12345678901234567890",
  "originalUrl": "https://www.nike.com/",
  "imageUrl": "https://...",
  "variantFormat": "TEXT",
  "variantContent": "Shop the latest Nike shoes...",
  "variants": [...],
  "variantCount": 3,
  "startDate": "2026-01-15"
}

Output fields:

FieldDescription
advertiserIdGoogle Ads advertiser ID
advertiserNameCompany/advertiser display name
creativeIdUnique ID for the ad creative
originalUrlDestination URL the ad links to
imageUrlURL of the ad image (if applicable)
variantFormatAd format (TEXT, IMAGE, VIDEO, etc.)
variantContentAd copy/text content
variantsArray of ad variants
variantCountNumber of variants for this creative
startDateDate the ad first appeared

Cost

  • Ad scraping: Varies by actor pricing, typically a few cents per domain
  • Company name resolution (optional): ~$0.05 (one web-scraper page)

Common Workflows

1. Competitor Ad Research
bash
python3 skills/google-ad-scraper/scripts/search_google_ads.py \
  --domain "competitor.com" --max-ads 100 --output summary
2. Compare Multiple Competitors
bash
# Run for each competitor domain
for domain in "competitor1.com" "competitor2.com" "competitor3.com"; do
  python3 skills/google-ad-scraper/scripts/search_google_ads.py \
    --domain "$domain" --max-ads 50
done

Limitations

  • Company name resolution uses Puppeteer-based web scraping of Google's SPA. It may occasionally fail — use --domain for best results.
  • Ad coverage: Google only shows ads from verified advertisers. Some smaller advertisers may not appear.
  • Historical data: Primarily shows recently active ads.

© gooseworks-ai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (scripts) in skills/ads/capabilities/google-ad-scraper of gooseworks-ai/goose-skills.

  • SKILL.md
  • scripts/search_google_ads.py
  • skill.meta.json
  • tests/actor-input-contract.json
  • tests/test_search_contract.py

Open the folder on GitHubat commit 4bbe1ef

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in gooseworks-ai/goose-skills, which our catalogue first saw on October 9, 2026.

Compare with similar skills

Google Ad Scraper next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Google Ad Scraper compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Google Ad Scraper this skillgooseworks-ai/goose-skills1.2k1 repos~1.1kAutomated safety check: PassMIT
Apify Ads Intelligenceapify/awesome-skills266—~4.2kAutomated safety check: NotesApache-2.0
Yandex DirectVKirill/claude-lane-stack122—~5.8kAutomated safety check: NotesMIT
Apify Influencer Discoverysickn33/agentic-awesome-skills47k2 repos~1.3kAutomated safety check: NotesMIT
Apify Lead Generationsickn33/agentic-awesome-skills47k2 repos~1.2kAutomated safety check: NotesMIT
Apify Market Researchsickn33/agentic-awesome-skills47k2 repos~1.2kAutomated safety check: NotesMIT

Similar skills

  • Apify Ads Intelligence

    apify/awesome-skills

    Official

    Research, spy on, and analyze ads across Meta (Facebook & Instagram), Google (Ads Transparency Center + paid search results), TikTok (Ads Library + Creative Center), LinkedIn Ad Library, and X…

    266 GitHub stars~4.2k tokensUpdated 18 days ago
    Marketing & SEOAuto-check: notes
  • Yandex Direct

    VKirill/claude-lane-stack

    [RU: интеграция Яндекс.Директ API v5 — кампании, ставки, отчёты, автостратегии, песочница] Yandex.Direct API v5 — JSON over HTTPS, OAuth Bearer + Client-Login for agencies…

    122 GitHub stars~5.8k tokensUpdated 2 days ago
    Marketing & SEOAuto-check: notes
  • Apify Influencer Discovery

    sickn33/agentic-awesome-skills

    Find and evaluate influencers for brand partnerships, verify authenticity, and track collaboration performance across Instagram, Facebook, YouTube, and TikTok.

    47k GitHub starsUsed in 2 repos~1.3k tokens
    Marketing & SEOAuto-check: notes
  • Apify Lead Generation

    sickn33/agentic-awesome-skills

    Scrape leads from multiple platforms using Apify Actors. An agent skill from sickn33/agentic-awesome-skills.

    47k GitHub starsUsed in 2 repos~1.2k tokens
    Marketing & SEOAuto-check: notes
  • Apify Market Research

    sickn33/agentic-awesome-skills

    Analyze market conditions, geographic opportunities, pricing, consumer behavior, and product validation across Google Maps, Facebook, Instagram, Booking.com, and TripAdvisor.

    47k GitHub starsUsed in 2 repos~1.2k tokens
    Marketing & SEOAuto-check: notes
  • Apify Influencer Brand Collabs

    apify/awesome-skills

    Official

    Discover Instagram brand–creator partnerships by chaining Apify Actors.

    266 GitHub stars~1.8k tokensUpdated 18 days ago
    Marketing & SEOAuto-check passed

More from gooseworks-ai/goose-skills

All 273 skills in this repo
  • Reddit Post Finder

    gooseworks-ai/goose-skills

    Scrape and search Reddit posts using Apify. An agent skill from gooseworks-ai/goose-skills.

    1.2k GitHub starsUsed in 1 repo~1.2k tokens
    Auto-check passed
  • Create Image Fal

    gooseworks-ai/goose-skills

    Generate or edit an image via any FAL image model (nano-banana edit, gpt-image, flux, ...), ROUTED THROUGH THE fal-proxy so it bills the Ads agent.

    1.2k GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Render Hook Replacement

    gooseworks-ai/goose-skills

    Replace an existing video's opening with a supplied clip or free kinetic text hook while retaining and verifying every original body frame, audio, captions and ending.

    1.2k GitHub stars~2.3k tokensUpdated today
    Auto-check passed
  • Blog Feed Monitor

    gooseworks-ai/goose-skills

    Scrape blog posts via RSS feeds (free, no API key) with Apify fallback for JS-heavy sites.

    1.2k GitHub starsUsed in 1 repo~578 tokens
    Auto-check passed
  • Competitor Post Engagers

    gooseworks-ai/goose-skills

    Find leads by scraping engagers from a competitor's top LinkedIn posts.

    1.2k GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check: notes
  • Render Chatgpt Chat

    gooseworks-ai/goose-skills

    Assemble a ChatGPT chat-reveal video ad from a thread + timeline JSON — one continuous Playwright recording of a ChatGPT mobile chat (user types with the iOS keyboard up → taps send → keyboard…

    1.2k GitHub stars~2.3k tokensUpdated today
    Auto-check passed

Works with

Questions about Google Ad Scraper

What does Google Ad Scraper do?

Scrape competitor ads from Google Ads by domain. An agent skill from gooseworks-ai/goose-skills. Google Ad Scraper is an agent skill from gooseworks-ai/goose-skills. Scrape competitor ads from Google Ads by domain.

When should I use Google Ad Scraper?

Google Ad Scraper fits situations like: competitive ad research and messaging analysis; tasks that involve Web scraping; tasks that involve Paid advertising.

How do I install Google Ad Scraper in Claude Code?

Run `npx skills add gooseworks-ai/goose-skills --skill google-ad-scraper -a claude-code`. Or copy the skill folder (skills/ads/capabilities/google-ad-scraper in gooseworks-ai/goose-skills) into .claude/skills/google-ad-scraper in your project. Claude Code loads it when a task matches its description.

How do I install Google Ad Scraper in Codex?

Run `npx skills add gooseworks-ai/goose-skills --skill google-ad-scraper -a codex`. Or copy the skill folder (skills/ads/capabilities/google-ad-scraper in gooseworks-ai/goose-skills) into .agents/skills/google-ad-scraper in your project. Codex loads it when a task matches its description.

Can I use Google Ad Scraper in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add gooseworks-ai/goose-skills --skill google-ad-scraper -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/google-ad-scraper, .gemini/skills/google-ad-scraper, .github/skills/google-ad-scraper and .opencode/skills/google-ad-scraper in your project.

What does Google Ad Scraper need to run?

Going by SKILL.md and its folder, Google Ad Scraper needs Python for the scripts in its folder, the command-line tools its instructions call (python3) and credentials named APIFY_API_TOKEN. Our summary lists: Python 3; A credential in APIFY_API_TOKEN.

Does Google Ad Scraper access the network?

SKILL.md names 2 domains. In commands or code: nike.com; the agent is likely to contact it when it follows the instructions. As links in the text: apify.com. This is read from the text; nothing was executed.

Is Google Ad Scraper safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Google Ad Scraper use?

Google Ad Scraper is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Google Ad Scraper use?

About 1.1k tokens (SKILL.md is roughly 4.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Google Ad Scraper?

Skills that share tags, products or a category with Google Ad Scraper: Apify Ads Intelligence (apify/awesome-skills, 266 stars), Yandex Direct (VKirill/claude-lane-stack, 122 stars), Apify Influencer Discovery (sickn33/agentic-awesome-skills, 47k stars) and Apify Lead Generation (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Google Ad Scraper?

gooseworks-ai (a GitHub organization) maintains it in gooseworks-ai/goose-skills, which has 1,242 GitHub stars. The repository holds 273 skills in this directory. The repository was last updated on October 10, 2026.

Source: gooseworks-ai/goose-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.