Facebook ad library scraper avatar
Facebook ad library scraper

Pricing

$0.75 / 1,000 ads

Go to Store
Facebook ad library scraper

Facebook ad library scraper

curious_coder/facebook-ads-library-scraper

Developed by

Curious Coder

Maintained by Community

Scrape facebook ads search and ads run by facebook pages - Fast and lightweight

2.2 (10)

Pricing

$0.75 / 1,000 ads

140

Monthly users

815

Runs succeeded

>99%

Response time

51 days

Last modified

2 months ago

RE

Duplicates & Limited Retrieval

Closed
rebeccacordioli opened this issue
9 months ago

Hello, there might be an issue with duplicates. When I run the scraper, most ads are recorded twice, resulting in two rows with the same adArchiveID. For example, in this run https://console.apify.com/view/runs/CdPFgTYxD12XpvHGO the only page without duplicates is Burger King UK (can it be because it's the only page with very few ads?) and a couple of ads of Burger King France.

Another issue that I have is that even if I remove the "count = 30" option, the scraper still returns a maximum of 30 ads for each Facebook page (see here https://console.apify.com/view/runs/LugB0ABslfZoWfwN8). Thank you.

curious_coder avatar

Thanks for opening the issue, Let me check and get back to you

curious_coder avatar

You scraped ads from same company's different region pages, so there might be some common ads in all pages ? Also, 30 ads per page limit is because it is only scraping 1st page of ads when scraping by page url. Will let you know once adding support to scrape all pages is added.

Until then you can generate ads search url for each page and scrape them separately. Let me know if you need an example

RE

rebeccacordioli

9 months ago

No, even if it's the same company these pages don't have ads in common, so this is not the reason for the duplicates. In general I am confused because every time I run the scraper I have a different number of results (see the screenshot), even if some runs are just a few minutes apart and the input is exactly the same. Thanks for the suggestion of scraping search urls for each page, let me know when it will be possible to scrape more than 30 ads through the page url.

curious_coder avatar

Thanks for the clarification, will continue investigating further.

curious_coder avatar

Fixed in latest update

Pricing

Pricing model

Pay per result 

This 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

$0.75