# YouTube Ads Library: Video Ads by Any Advertiser

Pulls the video ads spotify.com runs on Google from the Ads Transparency Center, with each ad's Transparency Center link, preview link, first and last shown dates, days active and reach where published. Swap in any domain or brand to collect a competitor's video creatives.

- Actor: openclawai/google-ads-transparency-scraper (Ads Transparency Scraper), https://datapika.com/actors/google-ads-transparency-scraper
- Run on Apify: https://apify.com/openclawai/google-ads-transparency-scraper
- Tested: 2026-11-26, 20 rows in 13 seconds, $0.01 at free-plan prices

## Input

```json
{
  "queries": [
    "spotify.com"
  ],
  "formats": [
    "VIDEO"
  ],
  "maxAdsPerAdvertiser": 50,
  "fetchAdDetails": true
}
```

## Output fields

- `advertiser_name`: Advertiser
- `format`: Format
- `first_shown`: First Shown
- `last_shown`: Last Shown
- `days_active`: Days Active
- `total_reach_high`: Reach (up to)
- `ad_url`: Ad Link
- `source_query`: Query

## Sample rows (personal data masked)

```json
[
  {
    "advertiser_name": "Spotify USA Inc",
    "format": "VIDEO",
    "first_shown": "2025-03-18",
    "last_shown": "2026-11-26",
    "days_active": 619,
    "total_reach_high": 800000,
    "ad_url": "https://adstransparency.google.com/advertiser/AR04217635482122584065/creative/CR08508353801336389633",
    "source_query": "spotify.com"
  },
  {
    "advertiser_name": "Spotify USA Inc",
    "format": "VIDEO",
    "first_shown": "2026-02-19",
    "last_shown": "2026-11-26",
    "days_active": 281,
    "total_reach_high": null,
    "ad_url": "https://adstransparency.google.com/advertiser/AR04217635482122584065/creative/CR02837548424176336897",
    "source_query": "spotify.com"
  },
  {
    "advertiser_name": "Spotify USA Inc",
    "format": "VIDEO",
    "first_shown": "2026-09-16",
    "last_shown": "2026-11-26",
    "days_active": 72,
    "total_reach_high": null,
    "ad_url": "https://adstransparency.google.com/advertiser/AR04217635482122584065/creative/CR18432964933860720641",
    "source_query": "spotify.com"
  }
]
```

Full sample: https://datapika.com/data/tasks/youtube-video-ads-by-advertiser.json

## How to run it

1. **Open the actor on Apify.** Click Copy input, then Run on Apify to open the Ads Transparency Scraper. Sign in or create a free account, open the JSON tab of the input form and paste the input.
2. **Start the "YouTube Ads Library: Video Ads by Any Advertiser" task.** Press Start. Change any input field first if you need a different topic, account or size; the fields are listed above.
3. **Get the results.** Rows arrive in a dataset while the run works. Our test returned 20 rows in 13 seconds.
4. **Use the data.** Download JSON, CSV or Excel, call the run from the API, schedule it, or let an AI agent run it through MCP.

API (replace the token):

```bash
curl -X POST \
  "https://api.apify.com/v2/acts/openclawai~google-ads-transparency-scraper/run-sync-get-dataset-items?maxTotalChargeUsd=1" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"queries":["spotify.com"],"formats":["VIDEO"],"maxAdsPerAdvertiser":50,"fetchAdDetails":true}'
```

## Change it

- queries takes brand names, website domains or advertiser IDs (AR...), one per line.
- formats takes TEXT, IMAGE or VIDEO; leave it empty for every format.
- maxAdsPerAdvertiser caps the ads per advertiser (1 to 2,000), newest first.
- fetchAdDetails adds per-country reach and first and last shown dates to each ad.

## FAQ

### How do I keep only video ads?

formats set to VIDEO keeps only video creatives, the format Google serves on YouTube. Remove it to get every format, or use IMAGE or TEXT instead.

### Does it show ad spend or targeting?

No. Google's library does not publish spend, clicks or targeting for commercial ads. Rows carry the creative, format, first and last shown dates, days active and, where Google discloses it (mainly in the EU), reach ranges.

### Do I need a Google Ads account or API key?

No. It reads Google's public Ads Transparency Center with no login, cookie or API key. Run it from the Apify Console, the API, or an AI agent through MCP.

### How much does it cost?

You pay per row delivered to your dataset, an ad or an advertiser record; hint and error rows are free. There is no start fee. The current prices are on the Pricing tab.
