Google Ads Results Scraper Skill

See which ads Google shows for any search and where each one sends people. This skill reads the live results page for every search you list, on desktop and mobile, and keeps each text ad with its advertiser, copy, position, sitelinks and real landing page. It delivers one clean file.

By , Co-founder and CEO, Porter Metrics

Install skill

Setup

Pick the app you use. Every route starts by connecting Porter Metrics, because the skill reads all its data through it.

  1. 1
    Connect Porter Metrics to your AI app: add this MCP server and sign in with Google. It is what runs the scraper and returns the data, with no other account or key.
    MCP SERVER URL
    https://mcp.portermetrics.com/mcp
  2. 2
  3. 3
    Open claude.ai or Claude Desktop, go to Customize › Skills, click +, then Upload a skill and pick the zip.
  4. 4
    Ask: Use the Google Ads Results Scraper skill to see which ads show on Google for [searches].

Prompt

Once the skill and Porter Metrics are connected, paste this and replace the company name.

PROMPT
Use the Google Ads Results Scraper skill to see which ads show on Google for [searches].

Example output

The cleaned file the skill hands over, one row per ad per search and device, with the real landing page of each ad. Shown with sample data for a fictional brand, Acme Coffee.

COFFEE-SUBSCRIPTION-ADS.JSONSample data
{
  "location": "Austin, Texas, United States",
  "language": "English",
  "run_date": "2026-12-03",
  "searches": [
    {
      "query": "coffee subscription",
      "device": "desktop",
      "ads": [
        {
          "position": "top 1",
          "advertiser": "Northwind Roasters",
          "headline": "Fresh Coffee Delivered | Roasted the Day It Ships",
          "description": "Pick your roast and your schedule. Skip or cancel anytime. First bag 50% off.",
          "display_url": "northwind.example/subscribe",
          "destination_url": "https://northwind.example/subscribe?plan=starter",
          "sitelinks": [{"text": "Shop beans", "link": "https://northwind.example/beans"}, {"text": "Gift a plan", "link": "https://northwind.example/gift"}]
        },
        {
          "position": "top 2",
          "advertiser": "Acme Coffee",
          "headline": "Acme Coffee Club | Single-Origin Beans Monthly",
          "description": "Two bags a month from $24. Free shipping on every box.",
          "display_url": "acme.example/club",
          "destination_url": "https://acme.example/club",
          "sitelinks": []
        }
      ]
    },
    {
      "query": "coffee subscription",
      "device": "mobile",
      "ads": [
        {
          "position": "top 1",
          "advertiser": "Globex Coffee Co.",
          "headline": "Coffee Subscription | Save 20% on Every Bag",
          "description": "Whole bean or ground. Delivered every 2, 3 or 4 weeks.",
          "display_url": "globex.example/coffee",
          "destination_url": "https://globex.example/coffee/subscribe",
          "sitelinks": [{"text": "Take the roast quiz", "link": "https://globex.example/quiz"}]
        }
      ]
    }
  ]
}
The full skillEverything below is the skill file itself: its summary, its Index and every step. Copy it, download it or read it here.

name: google-ads-results-scraper

  • objective: One file with every text ad Google shows for each search: who runs it, what it says, where it sits and where it sends people.
  • trigger: Ask who bids on a keyword, which ads show for a search, or where competitors’ ads land. To study one company’s whole ad library, use the Google Ads Transparency Center Scraper.
  • parameters: One or more searches. Optional: location, language, device and how many times to repeat each search.
  • output: An ads JSON file and the raw result in a run folder, plus the count in the chat.
  • reference: Every step runs through the Porter Metrics MCP (https://mcp.portermetrics.com/mcp).

Index

Item Part Use it when
Connect Porter Metrics Start Starting any run
Shared rules Start Applying the scope, cost and run folder rules to every step
Ask for the input Setup Listing the searches and the place to search from
Run the scraper Scrape Reading Google’s results page for each search
Clean the output Scrape Turning the raw result into one row per item
Hand over Finish Giving the user the file and the summary
Tools Reference Finding the Porter Metrics action for each job

Connect Porter Metrics

Index ↑

Run this before any other step.

Rule What to do
Check Call the Porter Metrics MCP whoami tool. A reply with an account means the connection works.
Not connected Stop the task and help the user connect: add the MCP server https://mcp.portermetrics.com/mcp to their AI app, sign in with Google, then run the check again.
Resume Continue with Ask for the input once the check passes.
Porter first Every job in the Tools table runs through the Porter Metrics MCP, so no other tool or key is needed.

Shared rules

Index ↑

These rules apply to every step.

Rule What to do
Public data only Read only what anyone sees logged out. Never sign in, never use the user’s cookies or accounts.
Extract, never judge Every field holds what the source shows. Scores, winners and advice stay out; they belong to the skills in Part of these skills on this page.
Start small The first run uses the default limit. Tell the user the count before raising it, because every result is billed.
Dropped call A dropped call may already be billed. Run it again with a smaller input, never the same heavy call twice.
Empty field A field the source does not show stays empty. Never fill it from a guess.
Run folder Save what the action returned, untouched, in google-ads-results-scraper/[date]/[target]/raw/, and the cleaned file next to it.

Ask for the input

Index ↑

Ask only for the searches; take the defaults for the rest.

Input Required Default
Searches Yes none
Location No United States
Language No English
Devices No Desktop and mobile
Repeat No 1

Run the scraper

Index ↑

Read the live results page for each search and keep every text ad on it.

Rule What to do
Count first Each search spends one search per device per repeat from a shared allowance. Tell the user the count before running.
Call Run google_ads_research.run_serp_teardown with queries one per line, location as city, region and country, gl, hl, devices and repeat.
Repeat Ads rotate between loads. A repeat above 1 shows which ads keep appearing.
No ads A search with no ads stays in the file with an empty list, so the gap is visible.

Clean the output

Index ↑

Keep one row per ad per search with these fields, in this order.

Field What it holds
query The search
device desktop or mobile
position Where it sat: top or bottom, and its order
advertiser Who ran it
headline The headline
description The description
display_url The link shown
destination_url The real landing page after redirects
sitelinks Each sitelink’s text and link
Output (JSON)
{"location": "", "language": "", "run_date": "", "searches": [{"query": "", "device": "desktop|mobile", "ads": [{"position": "", "advertiser": "", "headline": "", "description": "", "display_url": "", "destination_url": "", "sitelinks": []}]}]}
Rule What to do
Files Give the user the path of the cleaned file and the raw folder.
Summary Say in the chat how many items came back, the date range they cover and any field that came back empty for every item.
Next step When the user wants analysis, name the full skill that reads this file (Part of these skills on this page).

Porter Metrics MCP actions run through execute_action.

Use Tool Parameters
Connection check whoami none
Read the ads on Google google_ads_research.run_serp_teardown queries one per line · location [city, region, country] · gl · hl · devices · repeat

FAQ

Yes. The skill is free to copy, download and change. It reads data through the Porter Metrics MCP, which you can connect for free.

Yes. Every step reads or publishes data through the Porter Metrics MCP. Without it the skill stops at its first step, Connect Porter Metrics, and walks you through connecting.

Claude (web, desktop and Claude Code), ChatGPT, Codex, Cursor and any app that reads skill files or lets you paste instructions, as long as the Porter Metrics MCP is connected there.

Part of these skills

The skill is free. The Porter connection is free.

Start free