Facebook ad library scraper avatar
Facebook ad library scraper
Try for free

3 days trial then $30.00/month - No credit card required now

View all Actors
Facebook ad library scraper

Facebook ad library scraper

curious_coder/facebook-ads-library-scraper
Try for free

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

NA

It returns only 30 ads at a time

Closed

nishant_amcodr opened this issue
2 months ago

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

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.

NA

nishant_amcodr

2 months ago

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

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.

Developer
Maintained by Community
Actor metrics
  • 209 monthly users
  • 18 stars
  • 100.0% runs succeeded
  • 17 hours response time
  • Created in Aug 2023
  • Modified 14 days ago