![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 returns only 30 ads at a time
Closed
When i run actor for scrap ads i have passed "count" as 100 but i am getting only 30 ads at a time, i don't know why? can anyone please help me (I am in trial mode of apify)
Here is the Url: https://api.apify.com/v2/acts/curious_coder~facebook-ads-library-scraper/run-sync-get-dataset-items?token=MY_TOKEN
Full Curl Reqest:
curl --location 'https://api.apify.com/v2/acts/curious_coder~facebook-ads-library-scraper/run-sync-get-dataset-items?token=MY_TOKEN'
--header 'Content-Type: application/json'
--data '{
"action": "scrapePageAds",
"count": 100,
"proxy": {
"useApifyProxy": true,
"apifyProxyGroups": [
"RESIDENTIAL"
]
},
"scrapeAdDetails": true,
"urls": [
"https://www.facebook.com/icc"
]
}'
Thank you
![curious_coder avatar](https://apify-image-uploads-prod.s3.amazonaws.com/jodA8dKTGDWyAvdT4/fZ7gCoyjDwPpEcjrm-myAvatar.png)
Because it only scrapes 1st page of ads for each page, will have to update the actor to accept input for how many ads to scrape per page.
nishant_amcodr
Thank you for your response,
May i know how to pass param in above curl request for get all ads in one request ?
![curious_coder avatar](https://apify-image-uploads-prod.s3.amazonaws.com/jodA8dKTGDWyAvdT4/fZ7gCoyjDwPpEcjrm-myAvatar.png)
There is no way to scrape more than 30 ads per page now when page urls are used to scrape instead of ads search url, But added this to my todo list. Will let you know once done.
- 209 monthly users
- 18 stars
- 100.0% runs succeeded
- 17 hours response time
- Created in Aug 2023
- Modified 14 days ago