Home / Market / Ad Longevity Scan (winning Facebook ads)

Ad Longevity Scan (winning Facebook ads)

Find which of a brand's Facebook and Instagram ads are working by how long they've been running, what it launched recently, and which messages it keeps testing, from the Meta Ad Library via SocialAPIs. Use when the user asks what ads a competitor runs, which of their ads perform, what offers or hooks they use, or wants ad ideas based on a rival's proven creatives.

skill★ 00 dlclawhubMIT-0Install in CosmosUpstream Source

Documentation & Preview

--- name: ad-longevity-scan description: Find which of a brand's Facebook and Instagram ads are working by how long they've been running, what it launched recently, and which messages it keeps testing, from the Meta Ad Library via SocialAPIs. Use when the user asks what ads a competitor runs, which of their ads perform, what offers or hooks they use, or wants ad ideas based on a rival's proven creatives.

---

Ad longevity scan

Advertisers switch off ads that lose money. An ad that has been live for months is one the brand keeps paying for, which is the best public signal of a winner the Ad Library gives you. This skill ranks a brand's ads by that signal and reads what the long runners have in common.

Needs SOCIALAPIS_API_KEY. Auth, parameters and errors are in the socialapis skill (endpoint reference); with the MCP server connected, use facebook_ads.

Ask first (only what's missing)

Budget

1 credit per call. Typical: 1 to 2 to find the advertiser + 3 to 6 pages of ads + 3 to 8 archive details for the top ads. About 8 to 15 credits.

Steps

  1. Find the advertiser's ad page id.
  1. Optional: /facebook/ads/page-details?page_id=<id> for verification status and total ad count.
  2. Pull active ads. /facebook/ads/search?ad_page_id=<id>&country=<cc>&activeStatus=Active&sort_data=recent, following end_cursor to collect up to about 100 ads (stop early if the advertiser has fewer).
  3. Days live = today minus start_date for each active ad. Bucket them:
  1. Group near-duplicates. Advertisers run the same creative in many variants. Group by the first ~80 characters of ad_creative_body plus cta_type. A group with many variants that has been live a long time is the strongest signal of all; report group size.
  2. Read the top 3 to 8 proven ads in full with /facebook/ads/archive-details?ad_archive_id=…&page_id=<id>&country=<cc>: full text, CTA, platforms, countries, and spend / impression ranges where Meta publishes them (mostly EU and political ads; usually absent elsewhere, say so).
  3. Extract the pattern across proven ads: the hook (first line), the offer (discount, free trial, bundle, guarantee), proof (reviews, numbers, press), CTA type, format (from snapshot), and platforms (Facebook, Instagram, Messenger, Audience Network).

Output

## <Brand> ads in <country>, <date>
Active ads: <n> (<g> creative groups). Proven 60d+: <a> · Promising: <b> · Testing: <c>

### Proven winners
| Days live | Variants | Hook (first line) | Offer | CTA | Platforms | Link |

### What the winners share
- Hook pattern: …
- Offer: …
- Proof used: …

### New this month (what they're testing)
| Started | Hook | What's different from the winners |

### Ideas for you
3 to 5 concrete ad angles adapted (not copied) for the user's product, each tied to a winner above.

Link every ad with its snapshot_url so the user can see the creative.

Limits