meta-ad-scraper

Featured

Scrape competitor ads from Meta's Ad Library (Facebook, Instagram, Messenger, Threads, WhatsApp). Search by company name, Facebook Page URL, or keyword. Returns ad creatives, spend estimates, reach, impressions, and campaign details. Use for competitive ad research, messaging analysis, and creative inspiration.

Data & Documents 1,055 stars 194 forks Updated 3 days ago MIT

Install

View on GitHub

Quality Score: 92/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Meta Ad Library Scraper Scrape ads from Meta's Ad Library using the Apify `apify/facebook-ads-scraper` actor. Covers Facebook, Instagram, Messenger, Threads, and WhatsApp. ## Quick Start Requires `APIFY_API_TOKEN` env var (or `--token` flag). Install dependency: `pip install requests`. ```bash # Search ads by company name python3 skills/meta-ad-scraper/scripts/search_meta_ads.py \ --company "Nike" # Search with country filter python3 skills/meta-ad-scraper/scripts/search_meta_ads.py \ --company "Shopify" --country US # Search by keyword (broader than company name) python3 skills/meta-ad-scraper/scripts/search_meta_ads.py \ --company "project management software" # Limit results python3 skills/meta-ad-scraper/scripts/search_meta_ads.py \ --company "HubSpot" --max-ads 20 # Search by Facebook Page URL directly python3 skills/meta-ad-scraper/scripts/search_meta_ads.py \ --page-url "https://www.facebook.com/nike" # Only active ads (default), or all ads python3 skills/meta-ad-scraper/scripts/search_meta_ads.py \ --company "Salesforce" --ad-status all # Human-readable summary python3 skills/meta-ad-scraper/scripts/search_meta_ads.py \ --company "Stripe" --output summary ``` ## How It Works 1. Takes a company name, keyword, or Facebook Page URL 2. Constructs a Meta Ad Library URL with the search query and filters 3. Calls the Apify `apify/facebook-ads-scraper` actor via REST API 4. Polls until the run completes, then fetches the dataset 5. Parses and outpu...

Details

Author
gooseworks-ai
Repository
gooseworks-ai/goose-skills
Created
4 months ago
Last Updated
3 days ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

meta-ads-library

Research competitor Facebook and Instagram ads from the Meta Ads Library via the Hyper MCP — search by keyword, pull full ad creative and metadata, enrich with page contact info for lead generation, and surface structured ad-intelligence summaries in chat. Use when the user wants to scrape the Meta Ads Library, spy on competitor ads, monitor new ads in a category, build a lead list from advertisers, or surface creative trends across an industry.

67 Updated 2 days ago
hyperfx-ai
Data & Documents Featured

facebook-ads-library-search

Searches Meta Ad Library (Facebook/Instagram/WhatsApp ads) by keyword or Facebook page ID and extracts ad details including creatives, copy, CTA, publisher platforms, spend, impressions, reach estimates, and page transparency info. Use when user mentions Meta Ad Library, Facebook ads scraper, Instagram ads data, FB ad library, search Facebook ads, get ads from a Facebook page, scrape Meta ads, Facebook advertising data, ad creative extraction, competitor ads analysis, brand ads monitoring, Meta advertising transparency, political ads Facebook, housing ads Facebook, view all ads from a page, facebook ads search, fb ads library api, facebook ad archive, instagram ad data, get ad creatives.

4,837 Updated 5 days ago
browser-act
AI & Automation Featured

google-ad-scraper

Scrape competitor ads from Google Ads by domain. Returns ad creatives, formats, and campaign details. Use for competitive ad research and messaging analysis.

1,055 Updated 3 days ago
gooseworks-ai