[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [Google ad details](https://spiral.ai/integrations/claude-code/google-ad-details)

# How to Use Google ad details in Claude Code

Google ad details returns one public creative’s format, reported dates, available ad text, images, regions, and impression ranges. Use it to inspect a known ad or compare its reported details over time.

|  |  |
| --- | --- |
| Model | Google ad details |
| Available through | ScrapeCreators |
| Category | Social Media |
| Price | $0.0013 per run. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Google ad details in Claude Code

- Use Google ad details for https://adstransparency.google.com/advertiser/AR01614014350098432001/creative/CR12592137366413508609 and add its available text, format, and image links to our project's creative review table.
- Use Google ad details for https://adstransparency.google.com/advertiser/AR01614014350098432001/creative/CR05939968563828752385 and create a JSON fixture containing the returned advertiser ID, creative ID, and reported dates.
- Use Google ad details for https://adstransparency.google.com/advertiser/AR01614014350098432001/creative/CR17970554950748471297 and display any returned impression bounds as an interval in our report component.
- Use Google ad details for https://adstransparency.google.com/advertiser/AR01614014350098432001/creative/CR18446650898689032193 and add its returned regional statistics to our project's country comparison table.
- Use Google ad details for https://adstransparency.google.com/advertiser/AR01614014350098432001/creative/CR12592137366413508609 and update our review screen to show the available OCR text beside its image.

## How to set up Google ad details in Claude Code

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the hosted server**: This adds Spiral to the current project. Add `--scope user` to use it in every project.

```bash
claude mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `claude`, type `/mcp`, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

### Use the Spiral skill

1. **Send Claude Code this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Google ad details**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "scrapecreators",
    "model": "scrapecreators/google-ad",
    "input": {
      "url": "https://adstransparency.google.com/advertiser/AR07541154843046445057/creative/CR17778900238552006657"
    }
  }'
```

Then paste one of the prompts above: Claude Code finds Google ad details on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/claude-code

## Google ad details tools and prices

- [Google Ad Library · Ad Details](https://spiral.ai/tools/scrapecreators/scrapecreators/google-ad) (ScrapeCreators): Up to $0.0013 per run.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| cache_max_age | 1d, 3d, 7d, 14d, 30d | — | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching) |

## What can you do with Google ad details in Claude Code?

Build a creative review table from known Google ads, with available text, images, dates, and regional details. A coding agent can add these records to your project and preserve impression bounds as separate values.

### Prepare a creative review

Turn a known public ad's available text, format, and images into a brief for a marketing review.

### Compare reported ad dates

Arrange selected creatives by their available first-shown and last-shown dates to examine observed timing.

### Review regional disclosures

Compare the regions and regional statistics returned for selected ads to understand their disclosed geographic distribution.

### Report impression ranges

Present available lower and upper impression bounds for selected creatives in a competitor research report.

### Inspect creative destinations

Review the destination URLs returned with creative variations and group selected ads by the displayed destination.

### Monitor known creatives

Recheck selected public ads and compare their reported dates, regions, and impression bounds with earlier responses.

## Overview

- [ScrapeCreators](https://spiral.ai/providers/scrapecreators)
- [All Claude Code guides](https://spiral.ai/integrations/claude-code)

## Google ad details in other agents

- [Amp](https://spiral.ai/integrations/amp/google-ad-details)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/google-ad-details)
- [Claude](https://spiral.ai/integrations/claude-desktop/google-ad-details)
- [Cline](https://spiral.ai/integrations/cline/google-ad-details)
- [Codex](https://spiral.ai/integrations/codex/google-ad-details)
- [Cursor](https://spiral.ai/integrations/cursor/google-ad-details)
- [Devin](https://spiral.ai/integrations/devin/google-ad-details)
- [dots](https://spiral.ai/integrations/dots/google-ad-details)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/google-ad-details)
- [Gemini](https://spiral.ai/integrations/gemini/google-ad-details)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/google-ad-details)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/google-ad-details)
- [goose](https://spiral.ai/integrations/goose/google-ad-details)
- [Grok](https://spiral.ai/integrations/grok/google-ad-details)
- [Grok Build](https://spiral.ai/integrations/grok-build/google-ad-details)
- [Hermes](https://spiral.ai/integrations/hermes/google-ad-details)
- [Instinct](https://spiral.ai/integrations/instinct/google-ad-details)
- [Manus](https://spiral.ai/integrations/manus/google-ad-details)
- [Muse](https://spiral.ai/integrations/muse/google-ad-details)
- [Muse Code](https://spiral.ai/integrations/muse-code/google-ad-details)
- [n8n](https://spiral.ai/integrations/n8n/google-ad-details)
- [Notion](https://spiral.ai/integrations/notion/google-ad-details)
- [OpenClaw](https://spiral.ai/integrations/openclaw/google-ad-details)
- [opencode](https://spiral.ai/integrations/opencode/google-ad-details)
- [Perplexity](https://spiral.ai/integrations/perplexity/google-ad-details)
- [Raycast](https://spiral.ai/integrations/raycast/google-ad-details)
- [VS Code](https://spiral.ai/integrations/vscode/google-ad-details)
- [Windsurf](https://spiral.ai/integrations/windsurf/google-ad-details)
- [Zapier](https://spiral.ai/integrations/zapier/google-ad-details)

## More Claude Code guides

- [Google Ads advertiser search](https://spiral.ai/integrations/claude-code/google-ads-advertiser-search)
- [Influencers.club Enrich TikTok creator](https://spiral.ai/integrations/claude-code/influencers-club-enrich-tiktok-creator)
- [Google Ad Library Company Ads](https://spiral.ai/integrations/claude-code/google-ad-library-company-ads)
- [Influencers.club TikTok creator posts](https://spiral.ai/integrations/claude-code/influencers-club-tiktok-creator-posts)
- [Facebook video transcript](https://spiral.ai/integrations/claude-code/facebook-video-transcript)
- [Influencers.club Twitch game filters](https://spiral.ai/integrations/claude-code/influencers-club-twitch-game-filters)

## Questions about Google ad details in Claude Code

**Can Claude Code use Google ad details?**

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Google ad details like any built-in tool.

**How much does Google ad details cost in Claude Code?**

$0.0013 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.

**Do I need a ScrapeCreators account to use Google ad details in Claude Code?**

No. Spiral runs Google ad details on its own ScrapeCreators account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Google ad details in Claude Code?**

About two minutes: add the hosted server, then sign in.

**Does Claude Code wait while Google ad details runs?**

Google ad details runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.

**Which Google services does the source cover?**

Google describes the Ads Transparency Center as a repository covering Search, Display, Gmail, and YouTube. ScrapeCreators retrieves public ads and excludes ads that require signing in.

**How fresh are the ad details?**

ScrapeCreators says live requests fetch the latest information available from Google Ad Library. First-shown and last-shown dates describe reported observations; they do not prove uninterrupted delivery between those dates.

**Can I trust the returned ad copy word for word?**

ScrapeCreators uses OCR to extract Google ad text and explicitly warns that it can contain errors. Check wording against the returned image before quoting an ad.

**Why is the first-shown date missing?**

The detail response can return a null first-shown date even when Google's company listing has one for the same creative. ScrapeCreators recommends keeping the company-list date when that happens.

**Are impressions exact, and is targeting available everywhere?**

The documented impression response uses minimum and maximum bounds. Google limits additional targeting and recipient disclosures to certain countries or regions, so those details are not equally available across markets.

