What Is a Library ID in Meta Ad Library? Explained

A Library ID in the Meta Ad Library is the number Meta assigns to one ad entry, shown on every ad card as "Library ID" followed by a long string of digits. It identifies that specific ad in the library, not the brand behind it, so you can use it to open, share and reference exactly one ad.
That sounds like a small detail. In practice it is the cleanest way to stop "which ad do you mean?" conversations with your team, your designer or your client.
What is a Library ID in Meta Ad Library, exactly?
Every card in the Meta Ad Library has a short block of metadata near the top. One line reads Library ID, followed by a number. That number is the ad's identifier inside the library.
Think of it as a reference number for one entry. It points to an ad, not to an advertiser. A brand running thirty ads has thirty-odd Library IDs, one per entry.
Our guide on how to read Facebook Ad Library results walks through every field on the card. This post stays on the one field most people skip past, and what you can actually do with it.
Where do you find the Library ID on an ad card?
Open facebook.com/ads/library, pick a country and the "All ads" category, then search a brand or keyword. Each result card shows:
- The status (Active, or Inactive where shown)
- Library ID: [number]
- "Started running on" with a date
- Platform icons for Facebook, Instagram and the rest
The ID sits right there in plain text. You can select it and copy it like any other text on the page.
If you click See ad details, the detail view shows the same ID at the top. That is handy when a card is cramped or the ID wraps across lines.
How do you open a specific ad by its Library ID?
This is the part that makes the ID useful. Every ad entry has its own address:
facebook.com/ads/library/?id= followed by the Library ID.
Paste that into your browser and the library opens straight to that one ad. No search, no scrolling, no picking the right Page out of a list of fan pages with similar names.
If someone sends you a sponsored post link from their feed instead, you will need to track the ad down in the library first. Our post on downloading a Facebook ad from a link covers the three link types and how to get from one to the other.
Library ID vs Page ID vs Ads Manager ad ID: what is the difference?
Three numbers get mixed up constantly in ad research. They identify different things, and only two of them are visible to you for a competitor.
| Identifier | What it identifies | Where you see it | Visible for a competitor? |
|---|---|---|---|
| Library ID | One ad entry in the public Ad Library | On every ad card, and in the ?id= link | Yes |
| Page ID | The Facebook Page running the ads | Page transparency, or view_all_page_id= in the Ad Library URL | Yes |
| Ads Manager ad ID | The ad inside the advertiser's own ad account | Ads Manager, for people with access to that account | No |
The Page ID identifies the advertiser. Use it when you want every ad a brand is running. We cover the four ways to get it in how to find a Facebook Page ID.
The Library ID identifies one ad. Use it when you want to point at a single creative.
The Ads Manager ad ID lives inside the advertiser's account. You can only see it for accounts you have access to. Don't assume it matches the Library ID for the same ad; treat them as separate numbers unless you have checked in your own account.
How do you use the Meta Ad Library ID in briefs, swipe files and reports?
Here is where the ID earns its keep. Anywhere you reference a competitor's ad, put the Library ID next to it.
In creative briefs. "Like that UGC ad from the skincare brand" is ambiguous. "Library ID 1234..., the 0:03 hook" is not. Your editor opens the exact ad and sees the exact moment you mean.
In swipe files. Add a Library ID column to your sheet or database. It acts as a unique key, so you never save the same ad twice under two names, and you can always trace a saved file back to its source.
In client reports. When you show a client what a competitor is doing, a Library ID link lets them check it themselves. It turns a claim into something verifiable. That matters when the report is driving a budget decision.
In team chat. Paste the ?id= link rather than a screenshot. Everyone lands on the same ad, with the start date and platforms right there.
A simple row I use looks like this:
| Brand | Library ID | Started running | Format | Angle | Note |
|---|---|---|---|---|---|
| Brand name | the number | date from the card | UGC video | problem close-up | hook at 0:02 |
Pair it with the "Started running on" date. That date is the closest thing to a free performance signal the library gives you, and our piece on Facebook ad longevity explains how to read it.
What happens to a Library ID link when the ad stops running?
This is the honest limitation, and it catches people out.
Outside the EU, the public Ad Library shows only active ads for normal commercial advertisers. Once a brand pauses or ends an ad, it drops out of the search results. A link to a stopped commercial ad may stop showing the ad. In my experience you might get an empty result or a message that the ad is not available, though exactly what you see can vary.
Inside the EU, the library also shows inactive ads under the Digital Services Act, so links to ads served there tend to last longer. Political and social-issue ads are also kept in the library longer. Neither of those helps much if you research ecommerce competitors in the US, UK, India or Australia.
So the working habit is two parts. Record the Library ID for traceability, and save the video, image or carousel for permanence.
How do you save the ad behind a Library ID?
The Meta Ad Library has no download button and no saved list. You have three realistic options.
- Screen record it. Works for anything, but the file is re-encoded and carousels have to be stepped through card by card.
- Pull the file from browser developer tools. Original quality, but slow and fiddly for more than a few ads.
- Use a browser extension. Our free extension, the Meta Ad Library Downloader, adds a Download button to every ad card, saves videos in original HD and full carousels, and its bulk mode exports a CSV of every ad alongside the files, which gives you a ready record of what you saved.
Whichever you pick, name the file so the Library ID or the brand and date is in it. Six months later you will want to know where it came from.
For the bigger picture on searching, filters and the EU-only fields, see our complete Meta Ad Library guide.
Study the ads you collect for ideas, structure and angles. Don't run another brand's creative as your own. This is general guidance, not legal advice.
FAQ
What is a Library ID in the Meta Ad Library?
It is the number Meta assigns to one ad entry in the public Ad Library, shown on each card as "Library ID". It identifies that ad, not the advertiser. You can use it to open, share or cite that exact ad.
How do I find an ad by its Library ID?
Type facebook.com/ads/library/?id= followed by the Library ID into your browser. The library opens directly to that ad if it is still available in your region.
Is the Library ID the same as the ad ID in Ads Manager?
Treat them as different numbers. The Library ID belongs to the public Ad Library entry, while the Ads Manager ad ID belongs to the advertiser's private account. You can only see Ads Manager IDs for accounts you have access to.
Why does my Ad Library link no longer work?
Most often the ad has stopped running. Outside the EU, commercial ads drop out of the public library when they are paused or ended, so a saved ?id= link may stop showing the ad. Save the creative itself if you need to keep it.
Can I find a Page ID from a Library ID?
Indirectly, yes. Open the ad by its Library ID, click through to the advertiser's ads, and the view_all_page_id= value in the address bar is the Page ID. The Library ID itself does not contain the Page ID.
The Klipio extension adds a download button to every ad in the Meta Ad Library: one click per ad, or bulk-save a whole search as a ZIP with a searchable swipe file inside. Free, no sign-up.
Get the free Ad Library downloaderKlipio reads a competitor's live Meta ads, ranks them by how long they have been running — the honest signal that an ad is profitable — and turns the winning angle into on-brand creative for your own brand. 3-day free trial.
Start free — 3-day trial →

