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.

Do you want to learn more about this Actor?

Get a demo
MO

API Error Outside of APIFY Error Return Standard

Closed

Moscatelli opened this issue
4 months ago

Hello, could you explain why sometimes this error occurs and why it does not return an error status according to the standard of Apify actors?

Thank you in advance!

[ { "inputUrl": "https://www.facebook.com/ads/library/?active_status=all&ad_type=all&country=BR&view_all_page_id=100869851297591&sort_data[direction]=desc&sort_data[mode]=relevancy_monthly_grouped&search_type=page&media_type=all&start_date[min]=2024-04-19&start_date[max]=2024-05-17",

"error": "Private, restricted for logged Facebook users or incorrect URL" } ]

alexey avatar

Hi! Just misunderstanding, at the moment of writing https://www.facebook.com/ads/library/?active_status=all&ad_type=all&country=BR&view_all_page_id=100869851297591&start_date[min]=2024-04-19&start_date[max]=2024-05-17&search_type=page&media_type=all have no public ads (see attached screenshot). Its does not mean that there is no ads at all, we know that ad can be stand-alone or "boosted post" with limited audience, so actor saving general error with explanation that there is no public data for this exact case.

I´m going to close the issue now, but if there would be anything else we could help with, please let us know.

Developer
Maintained by Apify
Actor metrics
  • 302 monthly users
  • 40 stars
  • 100.0% runs succeeded
  • 5 days response time
  • Created in Apr 2023
  • Modified 1 day ago