YouTube Ad Scraper — Ads by Brand or Keyword
Under maintenancePricing
Pay per usage
YouTube Ad Scraper — Ads by Brand or Keyword
Under maintenanceScrape YouTube ads by brand name, keyword, or brand ID. Video ID, title, thumbnail, spend estimates. Apify AI, MCP, and Cursor ready.
Pricing
Pay per usage
Rating
0.0
(0)
Developer
Shop Intel
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Share
YouTube Ad Scraper — Brand & Keyword Transparency Ads | Shop Intel on Apify
YouTube Ad Scraper (Shop Intel / ScrapeIO on Apify) collects YouTube transparency-style ads by brand name, numeric brand ID, or free-text keyword. Results land in a standard Apify Dataset (JSON, CSV, Excel, or XML) for market research, creative benchmarking, and paid-social intelligence.
Use with Apify AI
Apify AI is live in Apify Console. Describe the job in plain English and it finds this Actor, fills the input form, runs it, and returns the dataset. The same ranking powers Store search and the Apify MCP server search-actors tool used by Cursor, Claude, ChatGPT, and other agents.
Use this Actor to scrape YouTube ads from Google's transparency-style ad index by brand or keyword. Open YouTube Ad Scraper or ask Apify AI with the prompts below.
Prompts that match this Actor
Type these in the Apify Store search bar (long, intent-heavy queries route to Apify AI) or the dashboard Ask Apify AI widget:
- "Get YouTube ads for Nike"
- "Scrape YouTube ad creatives by brand name"
- "Collect YouTube ads for a keyword like running shoes"
- "Pull YouTube transparency ads using a brand ID"
- "Export YouTube ad videos, titles, and spend estimates for a competitor"
How Apify AI fills the input
| You say | This Actor sets |
|---|---|
| brand or keyword | query |
| numeric brand ID from YouTube Brand Finder | brandId |
| how many ads (0 = no cap) | maxResults |
Apify AI always asks for confirmation before it runs. Nothing is charged until you approve.
Cursor, Claude, ChatGPT (Apify MCP)
Pin this Actor as a default Cursor / MCP tool so agents call scrapeio/youtube-ad-scraper instead of a random Store result. Keep actors + docs so Apify AI search still works, and list your suite so Cursor prefers these Actors.
Cursor MCP URL (this Actor first):
https://mcp.apify.com?tools=actors,docs,scrapeio/youtube-ad-scraper,scrapeio/amazon-scraper,scrapeio/google-maps-scraper-advance,scrapeio/meta-facebook-ad-scrapper-using-ad-library-url-premium,scrapeio/instagram-scraper-premium,scrapeio/whatsapp-scraper-premium,scrapeio/facebook-ad-library-suggestions,scrapeio/google-news-scraper
.cursor/mcp.json / Cursor Settings → MCP:
{"mcpServers": {"apify": {"url": "https://mcp.apify.com?tools=actors,docs,scrapeio/youtube-ad-scraper,scrapeio/amazon-scraper,scrapeio/google-maps-scraper-advance,scrapeio/meta-facebook-ad-scrapper-using-ad-library-url-premium,scrapeio/instagram-scraper-premium,scrapeio/whatsapp-scraper-premium,scrapeio/facebook-ad-library-suggestions,scrapeio/google-news-scraper"}}}
Then: search-actors → fetch-actor-details → call-actor with scrapeio/youtube-ad-scraper. Example:
Use scrapeio/youtube-ad-scraper to do this: scrape the data I described. Fill the input from my description and return the dataset.
How to scrape YouTube ads
Use this YouTube ad scraper to collect YouTube ad creatives by brand or keyword. Optional brandId from YouTube Brand Finder.
YouTube ads scraper API for Cursor
Call scrapeio/youtube-ad-scraper from Cursor (Apify MCP), Claude, ChatGPT, the Apify API, Python (apify-client), or JavaScript. Apify AI uses the same ranking as Store search: title, description, README, and input/output schemas. This Actor is documented for that ranker — limited permissions, pay-per-event or compute (not rental), and a filled example input.
What this Actor does
- Accepts a
query(brand name or keyword), optionalbrandId, andmaxResults(use0for unlimited pagination). - If
brandIdis set, it scrapes that brand’s ad library directly (thequeryis ignored). - Otherwise it tries to resolve
queryas an exact brand name; if no exact match, it runs a global keyword search. - Pushes one dataset row per ad with
scope(brandorkeyword),scraped_at,page, and native fields such asytVideoId,title,duration,thumbnail,brandId,brandName,totalSpend,publishedAt, and more.
Input schema (Apify Console & API)
| Field | Type | Required | Description |
|---|---|---|---|
query | string | Conditional | Brand name or keyword. Required unless brandId is set. |
brandId | integer | Optional | If set, used directly; query is ignored. Discover IDs with the YouTube Brand Finder. |
maxResults | integer | Yes | Stop after this many ads. 0 = no cap (paginates until the source ends). |
The live form is defined in .actor/input_schema.json. The Actor owner configures backend credentials via environment variables (YT_EMAIL, YT_PASSWORD, etc.); end users only see the fields above.
Output schema (Dataset)
Each item is a flat JSON object. Core envelope fields:
| Field | Type | Description |
|---|---|---|
scope | string | brand or keyword. |
scraped_at | string | UTC ISO-8601 timestamp. |
page | integer | Source page index. |
Additional keys mirror the upstream API (video id, title, spend, dates, thumbnails, etc.). The Apify Actor manifest lists the main keys under Dataset → fields in .actor/actor.json.
How to run on Apify
- Open YouTube Ad Scraper on Apify (after publish) and click Try for free.
- Enter
queryorbrandId, setmaxResults, start the run. - Export from Storage → Dataset.
CLI example
$apify call scrapeio/youtube-ad-scraper --input='{"query":"Nike","maxResults":100}'
Run locally
cd youtube-ad-scraperpython -m venv .venv && source .venv/bin/activatepip install -r requirements.txtmkdir -p storage/key_value_stores/defaultecho '{"query":"Nike","maxResults":50}' > storage/key_value_stores/default/INPUT.jsonpython -m src
FAQ
How do I scrape YouTube ads for a competitor? Pass query or brandId to scrapeio/youtube-ad-scraper. Pin it in Cursor MCP.
Can I run this Actor with Apify AI? Yes. In Apify Console, type a long request in Store search or the dashboard Ask Apify AI widget. Apify AI matches this README, fills the input schema, asks you to confirm, then returns the dataset. This Actor uses limited permissions (not full-account access) and is not a rental Actor, so it is eligible for Apify AI.
Does this work from Cursor, Claude, or ChatGPT?
Yes. Connect the Apify MCP server. Agents call search-actors, fetch-actor-details, and call-actor. Ranking uses the same signals as Store search and Actor quality score: a clear README plus documented input and output schemas.
Why teams use this YouTube Ad Scraper
Performance marketers, creative strategists, and competitive-intelligence teams use this Actor to scrape YouTube ads, export YouTube ad creatives, and benchmark competitor YouTube advertising without building a custom collector. It is a YouTube ads scraper, YouTube transparency ads extractor, and YouTube brand ad library tool in one Apify Actor.
Typical jobs:
- YouTube competitive intelligence — pull ads for a brand name or keyword and compare hooks, titles, and spend signals.
- Creative research — collect thumbnails, video IDs, and copy for moodboards or LLM tagging.
- Always-on monitoring — schedule Apify runs and webhook new YouTube ads into Slack, Sheets, or a warehouse.
YouTube ads data you can extract
Each Dataset row is one ad. Fields commonly include ytVideoId, title, duration, thumbnail, brandId, brandName, totalSpend, publishedAt, plus scope (brand or keyword), scraped_at, and page. Export JSON, CSV, Excel, or XML from the Apify Dataset.
Pricing
Runs on Apify compute (and any proxy configured by the Actor owner). There is no separate rental subscription, so the Actor stays eligible for Apify AI on-demand runs. You only pay for the run you confirm.
Shop Intel / ScrapeIO actor suite (internal links)
Build an end-to-end YouTube + B2B ads stack with these Apify Actors:
- YouTube Brand Finder — resolve a brand name to one or more
brandIdvalues. - YouTube Ad Scraper — this Actor; pull ads for those brands or keywords.
- YouTube Video Downloader — download a specific video or audio for archival, ML, or review workflows.
- LinkedIn Ad Library Scraper — keyword, advertiser, payer, or pasted Library URL; bulk B2B creative intelligence.
- Facebook Ad Library Scraper — Meta ads by keyword, Page ID, or URL.
- Instagram Ads Scraper — Instagram-only ads.
- Amazon Scraper — search rankings and product data across marketplaces.
- Google Maps Scraper — local business leads.
Compliance: Use public transparency and marketing data responsibly. You are responsible for complying with YouTube’s Terms of Service, applicable copyright law, and your own data policies.
Built by ScrapeIO on Apify.
Powered by AdScrape.