![Facebook ad library scraper avatar](https://images.apifyusercontent.com/P0g3oK3LUlMd_3jWnM4KBXWNQC6EfaaWeDHLiIakX6I/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9YdGFXRmhidGZ4eXpxckZtZC9aaEcyTXJNdThMTXBTNktrcS1mYWNlYm9vay5qcGVn.webp)
3 days trial then $30.00/month - No credit card required now
![Facebook ad library scraper](https://images.apifyusercontent.com/P0g3oK3LUlMd_3jWnM4KBXWNQC6EfaaWeDHLiIakX6I/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9YdGFXRmhidGZ4eXpxckZtZC9aaEcyTXJNdThMTXBTNktrcS1mYWNlYm9vay5qcGVn.webp)
Facebook ad library scraper
3 days trial then $30.00/month - No credit card required now
Scrape facebook ads search and ads run by facebook pages - Fast and lightweight
it always fail when i run it, can you help
Closed
2024-07-17T19:17:53.386Z ACTOR: Pulling Docker image of build ZIqkDfqF25WRcxqsj from repository. 2024-07-17T19:17:53.513Z ACTOR: Creating Docker container. 2024-07-17T19:17:53.999Z ACTOR: Starting Docker container. 2024-07-17T19:17:59.028Z INFO System info {"apifyVersion":"3.1.7","apifyClientVersion":"2.7.1","crawleeVersion":"3.11.0","osType":"Linux","nodeVersion":"v16.20.2"} 2024-07-17T19:17:59.976Z INFO BasicCrawler: Starting the crawler. 2024-07-17T19:18:00.669Z WARN BasicCrawler: Reclaiming failed request back to the list or queue. Blocked 2024-07-17T19:18:00.672Z at FacebookApi.getAdsSearchResults (file:///usr/src/app/src/client.js:109:34) {"id":"o3P9ASQM8hvOLcA","url":"https://www.facebook.com/ads/library/?active_status=all&ad_type=all&country=IN&q=linkedin&search_type=keyword_unordered&media_type=all","retryCount":1} 2024-07-17T19:18:01.437Z WARN BasicCrawler: Reclaiming failed request back to the list or queue. Blocked 2024-07-17T19:18:01.440Z at FacebookApi.getAdsSearchResults (file:///usr/src/app/src/client.js:109:34) {"id":"o3P9ASQM8hvOLcA","url":"https://www.facebook.com/ads/library/?active_status=all&ad_type=all&country=IN&q=linkedin&search_type=keyword_unordered&media_type=all","retryCount":2} 2024-07-17T19:18:02.085Z WARN BasicCrawler: Reclaiming failed request back to the list or queue. Blocked 2024-07-17T19:18:02.087Z at FacebookApi.getAdsSearchResults (file:///usr/src/app/src/client.js:109:34) {"id":"o3P9ASQM8hvOLcA","url":"https://www.facebook.com/ads/library/?active_status=all&ad_type=all&country=IN&q=linkedin&search_type=keyword_unordered&media_type=all","retryCount":3} 2024-07-17T19:18:02.751Z ERROR BasicCrawler: Request failed and reached maximum retries. Error: Blocked 2024-07-17T19:18:02.753Z at FacebookApi.getAdsSearchResults (file:///usr/src/app/src/client.js:109:34) 2024-07-17T19:18:02.756Z at processTicksAndRejections (node:internal/process/task_queues:96:5) 2024-07-17T19:18:02.758Z at async BasicCrawler.requestHandler (file:///usr/src/app/src/main.js:86:26) 2024-07-17T19:18:02.760Z at async BasicCrawler._runRequestHandler (/usr/src/app/node_modules/@crawlee/basic/internals/basic-crawler.js:694:9) 2024-07-17T19:18:02.763Z at async wrap (/usr/src/app/node_modules/@apify/timeout/cjs/index.cjs:54:21) {"id":"o3P9ASQM8hvOLcA","url":"https://www.facebook.com/ads/library/?active_status=all&ad_type=all&country=IN&q=linkedin&search_type=keyword_unordered&media_type=all","method":"GET","uniqueKey":"https://www.facebook.com/ads/library?active_status=all&ad_type=all&country=IN&media_type=all&q=linkedin&search_type=keyword_unordered"} 2024-07-17T19:18:02.803Z INFO BasicCrawler: All requests from the queue have been processed, the crawler will shut down. 2024-07-17T19:18:03.019Z INFO BasicCrawler: Final request statistics: {"requestsFinished":0,"requestsFailed":1,"retryHistogram":[null,null,null,1],"requestAvgFailedDurationMillis":358,"requestAvgFinishedDurationMillis":null,"requestsFinishedPerMinute":0,"requestsFailedPerMinute":18,"requestTotalDurationMillis":358,"requestsTotal":1,"crawlerRuntimeMillis":3283} 2024-07-17T19:18:03.021Z INFO BasicCrawler: Error analysis: {"totalErrors":1,"uniqueErrors":1,"mostCommonErrors":["1x: Blocked (file:///usr/src/app/src/client.js:109:34)"]} 2024-07-17T19:18:03.025Z INFO BasicCrawler: Finished! Total 1 requests: 0 succeeded, 1 failed. {"terminal":true}
![curious_coder avatar](https://apify-image-uploads-prod.s3.amazonaws.com/jodA8dKTGDWyAvdT4/fZ7gCoyjDwPpEcjrm-myAvatar.png)
In order to quickly identify the reason of your issue, I need to inspect your run.
Please share the URL of the run where you faced this issue. You can find your runs on this page: https://console.apify.com/actors/runs
amineben
amineben
i suspect proxies issue maybe I'm not sure
amineben
Oh yeah proxy issue, is it required to use residential over datacenter option?
- 209 monthly users
- 18 stars
- 100.0% runs succeeded
- 17 hours response time
- Created in Aug 2023
- Modified 14 days ago