Meta Ads Library
Guide for searching the Meta Ads Library and producing structured competitor ad intelligence.
The skill's job is to turn raw scraped ads into useful summaries: top advertisers, common CTAs, recurring hooks, recently launched creatives, and (optionally) enriched lead lists. All output is presented inline in chat — there is no database or persistence layer.
Out of scope — defer to other skills
| Request | Send them to |
|---|
| Multi-source competitor research (site, social, search rank, etc., not just ads) | |
| Generating new ad creative based on what you found | |
Requirements
- Hyper MCP installed and connected. https://app.hyperfx.ai/mcp
- Apify integration connected at https://app.hyperfx.ai/apps — the Meta Ads Library tools run via Apify under the hood.
If
is not in the tool list, stop and tell the user to enable Hyper MCP and connect Apify.
Tool surface
| Tool | Purpose |
|---|
| Search the Meta Ads Library by keyword. Returns compact results (title, body, CTA, link, page name, dates, platforms). Max 40 per call. |
| Get full details for a specific ad. Requires both and — both come from results. |
search_facebook_ads_enriched
| Search + enrich each result with page contact info (email, phone, website). Slower (multiple API calls per result). Max 20 per call. |
| Search Facebook pages by category + location (not by keyword). Useful for building a lead list from a vertical. |
| Scrape detailed data from specific Facebook page URLs. |
Critical rules
- Public-only data. The Meta Ads Library is public. Don't attempt to bypass any access control or scrape private content.
- Count limits differ between tools. allows up to 40.
search_facebook_ads_enriched
caps at 20 — exceeding this returns an error.
- needs two IDs. Both and are required. Both are returned in every result row — pass them through together.
- Enriched search is slow. It makes a Facebook page scrape per ad and optionally a website scrape. Only use it when contact info matters (lead-gen workflows). For pure ad intelligence, use the regular .
- Apify-backed tools fail intermittently. Expect occasional responses. Retry once after a short delay before reporting the source as missing.
- Don't over-interpret a single ad. "Brand X is running a discount" is noise. "5 of the top 10 advertisers in this query are running discounts" is signal. Always aggregate before drawing conclusions.
Workflow
Phase 1 — Define the query
Before running anything, agree on:
- The search query — keyword(s) competitors would target. Examples: , ,
"skincare for sensitive skin"
.
- Country — ISO code (e.g. , , ). Default to only if the user explicitly wants global.
- Active vs all — is usually what you want. Inactive ads are historical and noisier.
- Time window — accepts , , , , or . Match the window to the user's intent (weekly digest → , trend research → ).
- The job — what is this for?
- Creative trend report → use , summarize patterns across hooks, CTAs, formats.
- Top advertiser snapshot → use , group by .
- Lead list → use
search_facebook_ads_enriched
, filter for rows with or .
Phase 2 — Pull the ads
search_facebook_ads(
query="meal kit delivery",
country="US",
active_status="active",
count=40, # max for this tool
period="last30d"
)
Each result row includes:
,
,
,
,
,
,
,
,
,
,
,
,
,
.
For more than 40 ads, paginate by re-calling with
,
, etc.
For lead-gen with contact info:
search_facebook_ads_enriched(
query="meal kit delivery",
country="US",
active_status="active",
count=20, # max for the enriched tool
scrape_websites=True,
filter_spam=False
)
Enriched rows add:
,
,
,
,
, address, business hours.
Phase 3 — Get full creative for the most interesting ads (optional)
returns truncated bodies for some ads. To get the complete creative — including video URLs and images — call
on the specific ads worth a deeper look:
get_facebook_ad_details(
ad_archive_id="559220927273823", # from search results
page_id="328127803978438" # from search results
)
Both args come from the same row in
. Do this for the top 3–5 ads, not all 40 — each detail call is a separate Apify run.
Phase 4 — Surface the intelligence
Present the findings inline in chat. Pick the format that matches the user's job from Phase 1.
Top advertisers (group by page):
| Page | Active ads | Categories | Notable angle |
|---|
| Brand A | 12 | Restaurant, Meal Kit | "Skip the grocery store" hook in 8/12 ads |
| Brand B | 7 | Software, Subscription | Heavy on UGC video, "$1 first week" offer |
Common CTAs and hooks:
| Pattern | Count | Examples |
|---|
| CTA | 18 | … |
| CTA | 12 | … |
| Price-anchor opener ("From $X/week") | 9 | … |
| Founder-story opener | 4 | … |
Recently launched ads (last 7 days):
| Page | Started | CTA | Hook | Library URL |
|---|
| Brand A | 2026-04-28 | Sign up | "Skip the grocery run this week" | <ad_library_url> |
Lead list (enriched only):
| Page | Email | Website | Followers | Active ads |
|---|
| Brand A | hello@a.com | a.com | 12K | 7 |
Phase 5 — Recurring monitoring (optional)
If the user wants ongoing tracking:
- Save the query, country, and settings.
- Re-run weekly with .
- Brief becomes a delta report — new ads since the last run, advertisers that changed posting cadence, CTA / offer shifts.
This is when
becomes the better skill — it handles multi-source diffing across many surfaces, not just Meta ads.
Output standards
- Always cite the for any specific ad referenced in the brief — the user can click through to verify.
- Aggregate before quoting. Don't paste raw ad bodies; extract the pattern and quote 1–2 representative examples.
- Mark interpretation explicitly. "Observation: 8 of 10 top advertisers use a 'first week free' offer. Possible interpretation: …".
- Note the time window. Every brief should state the search query, country, and date range it was generated from.