---
title: "Find Winning Facebook Ads for Dropshipping | ScrapeAdLibrary"
description: "Use ad longevity to find winning Facebook ads for dropshipping: days_active, a 0-100 winning_score, and code that ranks the ads of any product niche."
url: https://scrapeadlibrary.com/blog/find-winning-facebook-ads
markdown: https://scrapeadlibrary.com/blog/find-winning-facebook-ads.md
---

# How to Find Winning Facebook Ads for Dropshipping

Use case · Published November 25, 2026 · 7 min read

Dropshippers and e-commerce brands look for the same thing in the Ad Library: products and creatives that are already making money for someone else. Nobody publishes their ROAS, but one signal is public and surprisingly reliable: how long an ad keeps running. This guide explains why, how the winning_score of the API turns it into a number, and how to rank the ads of a niche with a few lines of code.

## What a "winning ad" really means

A winning ad is one that pays for itself: the advertiser earns more from it than they spend. From the outside you cannot see the spend of a commercial ad (Meta only publishes spend for political and issue ads, see [what you can know about competitor spend](https://scrapeadlibrary.com/blog/competitor-facebook-ad-spend.md)), and you certainly cannot see the revenue. What you can see is behaviour.

Advertisers switch off ads that lose money, usually within days. Media buyers testing products kill most creatives after a short test, keep the few that convert, and then scale them: they duplicate them into new ad sets, test new versions of the same video, and leave them running for weeks or months. So the public traces of a winner are:

- **Longevity**: the ad has been active for a long time. An ad still running after 60 days has survived many budget reviews.
- **Variants**: the same creative appears in many ads (the Ad Library groups them, and the API returns the count as `variants_count`). Duplicating a creative is what you do when it works.
- **Reach**: for ads delivered in the EU, the library publishes how many people saw the ad. A large reach means a large budget behind it.

Spy tools sell the same idea under different names ("engagement", "hot", "trending"). The advantage of computing it from the Ad Library yourself is that you know exactly what the number means.

## days_active and winning_score

Every ad returned by the [Winning Facebook Ads API](https://scrapeadlibrary.com/winning-facebook-ads-api.md) and the other ad endpoints carries two derived fields, at no extra cost:

- `days_active`: whole days from `started_at` to `ended_at`, or to today (UTC) while the ad is still active. It is `null` when the start date is unknown, or for an inactive ad without an end date.
- `winning_score`: a number from 0 to 100, `null` when `days_active` is `null`. It is a documented formula, not a black box.

### The formula

Longevity weighs most, because it is the strongest of the three signals:

| Part | Formula | Maximum |
| --- | --- | --- |
| Longevity L | 70 × min(days_active, 90) / 90 | 70 points at 90 days or more |
| Variants V | 15 × min(variants_count − 1, 9) / 9 | 15 points at 10 versions or more (1 version = 0) |
| EU reach R | 15 × min(log10(1 + reach) / 6, 1) | 15 points at 1,000,000 people reached |

The score is `L + V + R` when the EU reach is known. The reach comes from `transparency.eu.reach`, so it is only available on the [ad details endpoint](https://scrapeadlibrary.com/facebook-ad-details-api.md) and only for ads delivered in the EU; when it is missing the score is `(L + V) × 100 / 85`, so a missing reach never lowers it. The result is rounded to the nearest integer. A few examples: an ad running 90 days or more with 10 or more versions scores 100; 90 days with a single version and no reach scores 82; 30 days with 4 versions scores 33. The same ad can score slightly differently in a list (no reach) and in its detail (with reach).

## Find winners in a niche, step by step

You need an API key ([create a free account](https://scrapeadlibrary.com/auth/sign-up), 65 free calls a month) in the `SCRAPEADLIBRARY_API_KEY` environment variable. Each call returns up to 30 ads and costs one credit.

### 1. Search the product keyword with the winning filters

Search the words a store would use in the ad text: the product ("posture corrector", "pet hair remover"), the problem it solves, or the offer ("free shipping", "50% off"). Pick the country you sell to. Then add `min_days_active=30` to drop the ads younger than a month and `sort=longevity` to put the oldest first:

cURL:

```bash
curl -s "https://api.scrapeadlibrary.com/v1/ads/search?q=posture%20corrector&country=US&status=active&min_days_active=30&sort=longevity" \
  -H "X-API-Key: $SCRAPEADLIBRARY_API_KEY"
```

Python:

```python
import os
import requests

response = requests.get(
    "https://api.scrapeadlibrary.com/v1/ads/search",
    params={"q": "posture corrector", "country": "US", "status": "active",
            "min_days_active": 30, "sort": "longevity"},
    headers={"X-API-Key": os.environ["SCRAPEADLIBRARY_API_KEY"]},
    timeout=60,
)
response.raise_for_status()
for ad in response.json()["data"]:
    print(ad["winning_score"], ad["days_active"], ad["variants_count"], ad["page"]["name"], ad["url"])
```

JavaScript:

```javascript
const params = new URLSearchParams({
  q: "posture corrector", country: "US", status: "active", min_days_active: "30", sort: "longevity",
});
const response = await fetch("https://api.scrapeadlibrary.com/v1/ads/search?" + params, {
  headers: { "X-API-Key": process.env.SCRAPEADLIBRARY_API_KEY },
});
const { data } = await response.json();
for (const ad of data) console.log(ad.winning_score, ad.days_active, ad.variants_count, ad.page.name, ad.url);
```

> Important detail: the Ad Library itself can neither filter nor sort by age. `min_days_active` and `sort=longevity` are applied to the page of results that comes back, so a filtered call can return fewer ads than `limit`, even none, while `has_more` and `next_cursor` still point to the next page. It costs one credit like any call. To cover a niche properly, read several pages.

### 2. Read a few pages and rank them

This script reads up to five pages of a keyword, keeps the ads running for 30 days or more and prints the top 15 by score, one line per advertiser so a single brand does not fill the list:

Python:

```python
import os
import requests

API = "https://api.scrapeadlibrary.com"
HEADERS = {"X-API-Key": os.environ["SCRAPEADLIBRARY_API_KEY"]}
params = {"q": "posture corrector", "country": "US", "status": "active", "min_days_active": 30}

ads, cursor = [], None
for _ in range(5):  # 5 pages = 5 credits
    page_params = {**params, "cursor": cursor} if cursor else params
    page = requests.get(API + "/v1/ads/search", params=page_params, headers=HEADERS, timeout=60).json()
    ads.extend(page["data"])
    if not page["has_more"]:
        break
    cursor = page["next_cursor"]

best = {}
for ad in ads:
    advertiser = ad["page"]["id"]
    if advertiser not in best or ad["winning_score"] > best[advertiser]["winning_score"]:
        best[advertiser] = ad

for ad in sorted(best.values(), key=lambda a: a["winning_score"], reverse=True)[:15]:
    print(f'{ad["winning_score"]:>3}  {ad["days_active"]:>4}d  x{ad["variants_count"]:<3} {ad["page"]["name"]}  {ad["link_url"]}')
```

JavaScript:

```javascript
const API = "https://api.scrapeadlibrary.com";
const headers = { "X-API-Key": process.env.SCRAPEADLIBRARY_API_KEY };
const base = { q: "posture corrector", country: "US", status: "active", min_days_active: "30" };

const ads = [];
let cursor = null;
for (let i = 0; i < 5; i++) { // 5 pages = 5 credits
  const params = new URLSearchParams(cursor ? { ...base, cursor } : base);
  const page = await (await fetch(API + "/v1/ads/search?" + params, { headers })).json();
  ads.push(...page.data);
  if (!page.has_more) break;
  cursor = page.next_cursor;
}

const best = new Map();
for (const ad of ads) {
  const current = best.get(ad.page.id);
  if (!current || ad.winning_score > current.winning_score) best.set(ad.page.id, ad);
}
[...best.values()]
  .sort((a, b) => b.winning_score - a.winning_score)
  .slice(0, 15)
  .forEach((ad) => console.log(ad.winning_score, ad.days_active + "d", "x" + ad.variants_count, ad.page.name, ad.link_url));
```

### 3. Open the best ones in full

For the handful of ads that look promising, one more call each to `GET /v1/ads/{ad_id}` returns the advertiser page, the payer and, for ads delivered in the EU, the reach and its breakdown by country, age and gender. The score then includes the reach part. The [EU transparency data guide](https://scrapeadlibrary.com/blog/facebook-ad-library-eu-transparency-data.md) explains how to read the breakdown, which is often the best clue to who is actually buying the product.

```json
{
  "data": {
    "id": "1550534860016399",
    "days_active": 112,
    "variants_count": 7,
    "winning_score": 92,
    "transparency": { "eu": { "reach": 48210, "age_min": 25, "age_max": 65, "gender": "all" } }
  },
  "credits_used": 1,
  "cached": false
}
```

## What to look at once you have the list

A ranked list is a starting point, not a verdict. For each ad near the top, check:

1. **The landing page** (`link_url`): is it a one-product store, a general store or a big brand? One-product stores with long-running ads are the classic dropshipping signal.
2. **The other ads of the same advertiser**: list them with `GET /v1/pages/{page_id}/ads` ([page ads API](https://scrapeadlibrary.com/facebook-page-ads-api.md)). A store that has run dozens of creatives for the same product is scaling it.
3. **The creative itself**: the hook in the first three seconds, the format (UGC, demo, before and after), the offer in `title` and `body`. Save the files: the [creatives guide](https://scrapeadlibrary.com/blog/download-facebook-ad-creatives.md) has a downloader.
4. **Other countries**: run the same search with another `country`. A product that wins in the US and has just started in Germany is a different opportunity from one that is everywhere.

## Caveats: when longevity lies

Longevity is the best public signal, but it can mislead. Keep these cases in mind:

- **Brand and retargeting ads.** Big brands leave always-on ads running for months with small budgets. They score high and tell you little about a product. Filter them out by advertiser, or focus on smaller stores.
- **Forgotten ads.** An ad with a tiny budget can run for a long time simply because nobody switched it off. A single version with no EU reach is the typical profile; that is why variants and reach are part of the score.
- **Seasonality.** An ad that ran from October to December is a Christmas product. Use `active_from` and `active_to` to see when ads ran, and compare with the same window a year earlier.
- **New winners score low.** A product launched two weeks ago cannot have a high score yet. To catch trends early, search without `min_days_active`, sort by `started_at` yourself and watch which new ads quickly gain variants: the [competitor tracking guide](https://scrapeadlibrary.com/blog/track-competitor-facebook-ads.md) shows how to monitor that every day.
- **Running is not profit.** Some advertisers keep losing ads alive for brand reasons or by mistake. Treat the score as a way to decide what to look at first.

At one credit per call, scanning 20 product keywords five pages deep costs 100 calls a week: a tenth of what $5 buys (1,000 calls), with errors never billed. If you would rather explore by hand first, the [free Ad Library search](https://scrapeadlibrary.com/facebook-ad-library-search.md) shows the same ads with their start dates.

## Frequently asked questions

### What is a good winning_score?

Above 80 usually means an ad running for close to three months or more; above 90 adds many versions or a large EU reach. Compare scores within the same niche and country rather than against a fixed threshold.

### Why do I get fewer ads than the limit with min_days_active?

The Ad Library cannot filter by age, so the filter is applied to the page of results that comes back. Ads younger than your threshold are dropped, and ads with an unknown days_active too. Follow next_cursor to read more pages.

### Does the score cost extra?

No. days_active and winning_score are computed for every ad in every list and detail, at the normal price of one credit per call.

### Can I see how much a winning ad spends?

Not for commercial ads: Meta publishes spend ranges only for political and issue ads. For ads delivered in the EU, the reach is the closest public proxy of the budget.

### Does this work for Instagram ads?

Yes. Add platforms=instagram to keep only the ads that run on Instagram; the score is computed the same way.

## Related guides

- [How to Spy on Competitor Facebook Ads (Legally, with Data)](https://scrapeadlibrary.com/blog/spy-on-competitor-facebook-ads.md): Find every competitor running Facebook and Instagram ads, list their creatives, hooks, offers and landing pages, and turn the Ad Library into a daily feed.
- [How to Download Facebook Ad Creatives (Images and Videos)](https://scrapeadlibrary.com/blog/download-facebook-ad-creatives.md): Save the images and videos of any Facebook or Instagram ad from the Ad Library: by hand for one ad, or in bulk with a script before the links expire.
- [How to Track Competitor Facebook Ads Automatically](https://scrapeadlibrary.com/blog/track-competitor-facebook-ads.md): Build a daily job that snapshots competitors' Facebook ads, detects new launches and stopped ads by ad id, and measures how long each ad runs.

[All guides](https://scrapeadlibrary.com/blog.md)

## Try it on your own competitors

Create a free account and get 65 free calls every month, no credit card. One API key works on every endpoint.

[Create a free account](https://scrapeadlibrary.com/auth/sign-up) · [Read the docs](https://scrapeadlibrary.com/docs.md)
