Facebook ad library scraper
Pay $0.75 for 1,000 ads
Facebook ad library scraper
Pay $0.75 for 1,000 ads
Scrape facebook ads search and ads run by facebook pages - Fast and lightweight
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
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.
Thank you for your response,
May i know how to pass param in above curl request for get all ads in one request ?
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.
Now you can filter by recent date range which will limit the number of ads scraper per page, and also it will scrape all ads in that date range even if there are more than 30 ads
Actor Metrics
541 monthly users
-
75 stars
>99% runs succeeded
4.5 days response time
Created in Aug 2023
Modified 23 days ago