![Facebook ad library scraper avatar](https://images.apifyusercontent.com/T2bTOZfzeSw-LQg79D1q5IhrugqFgVEiZTLJGGNlwRc/rs:fill:250:250/cb:1/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9YdGFXRmhidGZ4eXpxckZtZC9aaEcyTXJNdThMTXBTNktrcS1mYWNlYm9vay5qcGVn.webp)
Facebook ad library scraper
Pay $0.75 for 1,000 ads
![Facebook ad library scraper](https://images.apifyusercontent.com/T2bTOZfzeSw-LQg79D1q5IhrugqFgVEiZTLJGGNlwRc/rs:fill:250:250/cb:1/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9YdGFXRmhidGZ4eXpxckZtZC9aaEcyTXJNdThMTXBTNktrcS1mYWNlYm9vay5qcGVn.webp)
Facebook ad library scraper
Pay $0.75 for 1,000 ads
Scrape facebook ads search and ads run by facebook pages - Fast and lightweight
Error: Cannot read properties of undefined (reading 'ad_library_main')
When trying to scrape data from ads library url (not the profile url) i get 0 results and get log: All retries failed for request: undefined Error: Cannot read properties of undefined (reading 'ad_library_main')
If i try to open url in the browser of course it gives me new and active results. its not the api issue, i get the same errors in the GUI.
![curious_coder avatar](https://apify-image-uploads-prod.s3.amazonaws.com/jodA8dKTGDWyAvdT4/fZ7gCoyjDwPpEcjrm-myAvatar.png)
Hi, Thanks for opening the issue and helping me to make this actor better. I've just fixed the issue
Actor Metrics
884 monthly users
-
88 stars
>99% runs succeeded
4.6 days response time
Created in Aug 2023
Modified 19 days ago