How to Track a Competitor’s Facebook Ads Over Time
Find an advertiser’s live ads in Meta Ad Library, then compare dated Facebook and Instagram ad samples using Page IDs and creative IDs.

If you want to see a brand’s ads today, open Meta’s public Ad Library, choose a country and search for the advertiser. For example, these links open active US keyword results for two eyewear brands. Select the advertiser’s Page to narrow a keyword search to the right business. EyeBuyDirect in Meta · Zenni Optical in Meta
To track changes over time, save a dated sample with the same filters on each run. The Facebook Ad Library Scraper returns a record per search term. Each record has the number of matches reported by Meta and the creatives the scraper retrieved. These counts can differ.
Capture a comparable sample
Use this input for one brand. The default ad status includes inactive ads, so set adActiveStatus to active for active-only snapshots. Save the dataset as JSON and keep its capture time. Repeat the same input on your next monitoring date. Deployed input schema
{
"brands": ["Zenni Optical"],
"country": "US",
"adActiveStatus": "active",
"maxCreatives": 10
}| Field | How to use it |
|---|---|
adCount and adCountIsLowerBound |
Read the match count for the whole search. When the flag is true, treat the count as a minimum. |
creativeCount |
Record how many creatives were captured under the chosen cap. |
creatives[].page_id |
Check which advertiser supplied a creative. A keyword can match other advertisers too. |
creatives[].library_id and ad_url |
Match creatives across captures and open the original ad to inspect its status. |
scrapedAt |
Use this timestamp for the observation date. An ad’s reported start date is a different field. |
Compare two snapshots from the same advertiser
First inspect a creative’s page_name and page_id to confirm the advertiser. Save two single-brand JSON exports as before.json and after.json. Run the following script with the advertiser’s Page ID as its argument.
import json
import sys
from pathlib import Path
def snapshot(path):
rows = json.loads(Path(path).read_text(encoding="utf-8"))
if len(rows) != 1 or rows[0].get("error"):
raise ValueError(f"Review {path}: expected one successful brand record")
return rows[0]
def library_ids(row, page_id):
return {
str(ad["library_id"]) for ad in row["creatives"]
if ad.get("library_id") and str(ad.get("page_id")) == page_id
}
before = snapshot("before.json")
after = snapshot("after.json")
for key in ("brand", "country", "adType", "activeStatus", "mediaType"):
if before[key] != after[key]:
raise ValueError(f"Inputs differ for {key}")
page_id = sys.argv[1]
older = library_ids(before, page_id)
newer = library_ids(after, page_id)
print("First seen in this comparison:", sorted(newer - older))
print("Missing from the later sample:", sorted(older - newer))A creative first seen on Friday may have started earlier. For a missing ID, open its Meta link and check the reported status before calling it retired. Ad counts or longevity alone cannot establish spend, conversions or campaign performance.
Use Meta for an individual lookup. For repeated exports, set a small creative cap first and review the per-result price and run-start charge on the Actor listing. Facebook Actor pricing · Working with creative exports
Frequently asked questions
Where can I see an advertiser’s active Facebook ads today?
Open Meta Ad Library, choose the country and All ads, search for the advertiser, and check the Page behind the results. Use Active status to narrow the results.
Does a missing creative mean the advertiser stopped running it?
A capped snapshot can omit a creative that is still active. Use its library ID to check the ad and any reported end date in Meta.
How does the scraper charge for a snapshot?
It returns one dataset record for each successful brand or keyword search. One record can contain multiple creatives. Apify lists the per-result rates and any run-start charge.