
Facebook Ads Scraper
Pricing
$5.00 / 1,000 Campaigns

Facebook Ads Scraper
Extract advertising data from one or multiple Facebook Pages. Get page details, reach estimates, publisher platforms, report count, number of impressions, ad IDs, timestamps, and more. Download Facebook ads data in JSON, CSV, and Excel and use it in apps, spreadsheets, and reports.
4.5 (11)
Pricing
$5.00 / 1,000 Campaigns
108
Monthly users
603
Runs succeeded
>99%
Response time
3.7 days
Last modified
3 days ago
Not able to get text of an ad
According to the README, the response is supposed to include: Ad text Ad type Ad URL Ad title However, the ad text is missing in the API response.

Hi!
Bug confirmed, for right now, please do not use direct ad URLs, scrape ads per page i.e. https://console.apify.com/view/runs/Bn9nAkKVTp23TZFTk - it works as expected.
Scraping single ads per direct URLs no longer gets snapshot text and the rest of the missed properties because of internal format changes in Facebook.
Will keep you informed about the progress.
widened_hero
Hello, Thank you for fast response Is it possible to get exact ad using page? For my app I am trying to get information about 1 ad.
Thank you again

Hi!
Access to your ad is somehow limited, see https://console.apify.com/view/runs/CuX1dwjjxOI3FQi1k Opening https://www.facebook.com/ads/library/?id=2324322494627392 or https://www.facebook.com/ads/library/?id=1123039336210884 work in an incognito browser, click on "Ad details" will show the ad without login.
Your ad https://www.facebook.com/ads/library/?id=513431791314316 on the "Ad details" click will show an empty popup.
So, the usual details for your ad are not available, I will check if it can be resolved by fallback; however, full details might not be available for such cases.
Please try single ads from the other pages, maybe it is a rare case when the page admin for https://www.facebook.com/ads/library/?id=513431791314316 applied extra privacy settings.
widened_hero
Hello, just tried with different URLs, looks like that data gets to snapshot.cards sometimes, and if it gets in cards, text is present. But sometimes it is in snapshot directly. You can see it here: https://console.apify.com/view/runs/KlPgd8mCnCjZ10Jsv https://console.apify.com/actors/JJghSZmShuco4j9gJ/runs/9LCO7kPIJr10xtwVG#output Both for me open proper popup in incognito. Also, when data is in .cards it is not in snapshot.videos. For the url you provided: https://www.facebook.com/ads/library/?id=2324322494627392 And maybe you can clarify why there is a lot of elements in .cards with the same data, where do they come from

Hi!
The "snapshot" forwarded as is from internal Facebook data, it is used by the Facebook web app to display the ads and ad content without "cards" should be also publicly available, I isolated your issue:
150 ads in between 8-9 Feb, from search https://console.apify.com/view/runs/KxfKSgz6ybqWxr4po getting a full snapshot, for direct URL by id getting limited details.
Click on "Ad details" for the ad 513431791314316 displays an empty popup and a permanent "Not Logged In" dialog.
widened_hero
It is weird but for me 513431791314316 is opening proper details. But as I understand cards will in not be present if this problem with popup is blocked. Can you take the text not from card, but the page that is opened without details, as you do right now for video?

Erik Funder Carstensen (weuts)
Hi again 😊
Sorry for the long response time. We have added to our backlog to fix this, and will keep you updated 😊
widened_hero
hello, Thank you for the update
Pricing
Pricing model
Pay per resultThis Actor is paid per result. You are not charged for the Apify platform usage, but only a fixed price for each dataset of 1,000 items in the Actor outputs.
Price per 1,000 items
$5.00