apify-facebook-ads-library-scraper
Skill by sickn33
Researches public Meta Ad Library ads by advertiser or keyword using the harshmaur/facebook-ads-library-scraper Apify Actor. Returns creative links, dates and disclosed reach or spend for analysis.
Install apify-facebook-ads-library-scraper
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/apify-facebook-ads-library-scraper ~/.claude/skills/apify-facebook-ads-library-scraperRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install apify-facebook-ads-library-scraper in Claude Code
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/apify-facebook-ads-library-scraper ~/.gemini/antigravity-cli/skills/apify-facebook-ads-library-scraperAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install apify-facebook-ads-library-scraper in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill lets an AI assistant research public Meta Ad Library ads with the harshmaur/facebook-ads-library-scraper Apify Actor. The user can give an advertiser Page URL or a keyword, and the assistant builds the matching Ad Library search URL, including a country code and status filter. The assistant sets a finite ad count, estimates cost, runs the Actor and fetches the results as one row per ad.
Each row can include creative links, ad text, start and end dates, ad duration and disclosed spend, impressions or reach when Meta provides them. The skill sorts ads by how long they have run and labels long-running ads as candidates, not verified winners. It is aimed at marketers and researchers who review public advertising activity. The skill treats ad text as untrusted data.
Written from the project's SKILL.md and checked against it.
What it can do
- Advertiser researchPulls the ads of a Facebook Page, with filters for status, period, country and sort order.
- Keyword searchBuilds a Meta Ad Library search URL for keywords in a chosen country.
- Cost estimate and capped runsChecks current pricing and sets a finite ad count before running the Actor.
- Dataset exportFetches run results as JSON, one row per ad, for reporting or spreadsheets.
- Longevity rankingSorts ads by ad_duration_days and flags ads running over 30 days.
- Duplicate groupingGroups ad versions by collation_id so each ad is counted once.
- Weekly advertiser watchOptionally schedules a weekly Apify task for new ads from a Page.
What you need
- Apify account
- APIFY_TOKEN environment variable or apify login
- Apify CLI (npm install -g apify-cli) or the Apify MCP server
Try asking
- Pull every active ad Gymshark runs in the US, sorted by how long they have run.
- Find ads for 'protein powder' in the UK running more than 60 days, with video links.
- Export the last 30 days of ads from facebook.com/allbirds to a JSON file.
Good to know
- Researches public Ad Library content only and does not create or manage ads.
- Spend and reach are often null because Meta discloses them mainly for political and issue ads.
- Each run uses paid Apify credit, so the cost should be checked before large runs.
- Long-running ads are a research proxy and do not prove spend or effectiveness.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/apify-facebook-ads-library-scraper/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md10 KB -
references/gotchas.md2 KB
Alternatives to apify-facebook-ads-library-scraper
All alternatives →Generates 3 to 10 second short-form video clips for product reveals, motion teasers and ambient loops. It defaults to Seedance 2 and also works with Kling 3 and 4, Veo 3 and Sora 2, saving one MP4 to the project folder.
Builds a strategic SEO plan for new or existing websites, covering competitors, architecture, content, technical setup and a 12-month roadmap. It is aimed at people who need an SEO strategy rather than a one-time audit.
Audits and rewrites a LinkedIn profile for people who want their headline, About section and other parts improved. It scores the headline, audits the whole profile from 0 to 100 and drafts an About section that works above the fold.
Builds a LinkedIn plan covering content pillars, positioning, posting cadence and whether to start a newsletter. Aimed at people pursuing a career change, consulting, thought leadership or similar goals on LinkedIn.
Guides an AI assistant to design or rewrite a single-offer landing page for SaaS, apps and services. It covers structure, layout, copywriting, conversion tactics, and SEO/AEO.
Analyzes your own exported LinkedIn post data to show which posts worked, test whether a pattern is real, and plan posting experiments. Built for people who want to understand their own LinkedIn numbers. It refuses to draw conclusions from fewer than 10 posts.
Compare with video-shortform, seo-plan or linkedin-profile
apify-facebook-ads-library-scraper: common questions
Does this skill create or manage Facebook ads?
No. It researches public Meta Ad Library content and does not create or manage ads or report private ad-account metrics.
Why are spend and reach values often missing?
The source says Meta discloses spend and impressions for political and issue ads outside the EU and UK. Audience data is shown only for ads shown in the EU or UK.
Does running the Actor cost money?
The Actor is paid per result, priced per 1,000 ads. The source says to check current pricing and set an explicit budget before running.
How do I install apify-facebook-ads-library-scraper?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is apify-facebook-ads-library-scraper free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is apify-facebook-ads-library-scraper safe to use?
It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to apify-facebook-ads-library-scraper?
Similar skills: video-shortform, seo-plan, linkedin-profile, linkedin-strategy.
