Facebook Ads Scraper avatar
Facebook Ads Scraper
Try for free

Pay $5.00 for 1,000 Campaigns

View all Actors
Facebook Ads Scraper

Facebook Ads Scraper

apify/facebook-ads-scraper
Try for free

Pay $5.00 for 1,000 Campaigns

Extract advertising data from one or multiple Facebook Pages. Get page details, reach estimates, publisher platforms, report count, number of impressions, ad IDs, timestamps, and more. Download Facebook ads data in JSON, CSV, and Excel and use it in apps, spreadsheets, and reports.

User avatar

Getting timeout via API

Closed

khodidas opened this issue
a month ago

Below is the log. Same is working when running from APIFy UI.

2024-04-16T03:52:37.739Z ACTOR: Pulling Docker image of build mQkhixZnNmW0JY4Gm from repository. 2024-04-16T03:52:37.859Z ACTOR: Creating Docker container. 2024-04-16T03:52:37.909Z ACTOR: Starting Docker container. 2024-04-16T03:52:40.484Z INFO System info {"apifyVersion":"3.1.16","apifyClientVersion":"2.9.3","crawleeVersion":"3.8.2","osType":"Linux","nodeVersion":"v18.19.1"} 2024-04-16T03:52:41.146Z INFO CheerioCrawler: Starting the crawler. 2024-04-16T03:52:48.641Z INFO Getting API verification token for https://www.facebook.com/ads/library/?active_status=active&ad_type=all&country=ALL&view_all_page_id=XXXX&search_type=page&media_type=all 2024-04-16T03:53:06.642Z WARN CheerioCrawler: Setting status message timed out after 1s 2024-04-16T03:53:40.545Z ACTOR: The Actor run has reached the timeout of 63 seconds, aborting it. You can increase the timeout in Settings > Run options.

User avatar

Hi! From April its necessary to generate browser token per each initial URL (both search or direct). So actor need more time for getting results. "The Actor run has reached the timeout of 63 seconds, aborting it" means in API run settings you have value for timeout. In the past it was working fine because results was scraped faster. In UI timeout is in "Run options" and you either have longer timeout there or its disabled, so actor works because enough time allowed for it.

Developer
Maintained by Apify
Actor metrics
  • 304 monthly users
  • 100.0% runs succeeded
  • 1.1 days response time
  • Created in Apr 2023
  • Modified 9 days ago