Facebook Ads Data Scraper | Scrape Facebook Advertising Data

 


RealdataAPI / facebook-ads-scraper

Easily Scrape advertising data from one or multiple Facebook Pages with the Facebook Ads Data Scraper. Obtain page details, reach estimates, publisher platforms, report count, number of impressions, ad IDs, timestamps, and other helpful information. The data can be downloaded in JSON, CSV, and Excel formats for use in various applications, spreadsheets, and reports. This tool is available in several countries, including Australia, Canada, Germany, France, Singapore, the USA, the UK, the UAE, and India.


 Customize me!  Report an issue Business E-commerce Social Media

Readme

API

Input

Related actors

What is Facebook Ads Data Extractor?

It Is A Powerful And Straightforward Actor That Allows You To Extract Facebook Ads Data Like Reach Estimates, Page Information, Publisher Platform, Report Analytics, And More. To Collect That Data, Place The Page Link And Click On The Save And Start Option.


Why extract Facebook ads data?

It Will Help You In Market Research, Trend Monitoring, Competitor Intelligence, Social Media Study, Brand Sentiment, Etc.


How to use Facebook Ads Scraper?

We've Designed This Scraper To Collect Facebook Ads Data To Quickly Start The Process Even If You Are Beginning To Scrape The Data. Here Is The Process To Scrape Information Using This API.


Create a free Real Data API account with your email.

Open Facebook ads data scraper on our platform.

Place multiple URLs of Facebook pages to scrape ad data.

Click the Start button and allow some time for the scraper to get you the required data.

Export the data in any usable format of your choice.

Note That This Actor Shows The Scraped Outputs Only At The End Of Execution. While Running, The Scraper Won't Update Outputs. You Can Allow The Scraper To Finish The Execution To See The Output.


Input

It Would Help If You Fed The Input To This Scraper As Below.


URL of the page like https://www.facebook.com/drive4quantix/

Or the URL of the advertisement, like https://www.facebook.com/ads/library/?active_status=all&ad_type=all&coun try=ALL&q=%7B%7D&sort_data[direction]=desc&sort_data[mode]=relevan cy_monthly_grouped&start_date[min]=2022-10- 12&start_date[max]=&search_type=keyword_unordered&media_type=vid You can get a longer URL in the ads library of Facebook. Before pasting the link, mention filters, settings, and amounts per page.

Keep in mind that zero scrolls reflect the first few ad sets. Every scroll can deliver 30 advertisements. Facebook restricted the maximum number of ads shown per page, so you may not see all the ads.

Open The Input Tab To See The JSON Example.


{

  "StartUrls": [

    { "Url": "Https://Www.Facebook.Com/AndrejBabis" }

  ],

  "ScrollsAmount": 4

}

Output

This Mini-Actor Will Give You Dataset Outputs. You Can Select Any Format To Download Them, Like Excel, CSV, HTML, JSON, Etc. To Get A JSON Dataset, Follow The Above Input Parameters.


[{

  "Adid": "0",

  "AdArchiveID": "686299683225424",

  "ArchiveTypes": [

    1

  ],

  "Categories": [

    1

  ],

  "CollationCount": 1,

  "CollationID": 1794991554233513,

  "Currency": "CZK",

  "EndDate": 1673337600,

  "EntityType": "Regular_page",

  "FevInfo": {

    "Authorized_entity_text": "This Information Was Submitted By The Advertiser.",

    "Email": "Prchal@Anobudelip.Cz",

    "Phone": "+420602346701",

    "Website": "Http://Www.Anobudelip.Cz/",

    "Submitted_on": "Submitted May 3, 2019",

    "Address": "Babická 2, Praha 4 14000, CZ",

    "Fec_additional_info": Null,

    "Learn_more_content": {

      "Help_center_text": "Visit The Help Center To Learn About What We Require From Advertisers To Run Ads About Social Issues, Elections Or Politics.",

      "Help_center_url": "Https://Www.Facebook.Com/Help/180607332665293?Ref=Infosheet",

      "Learn_more_text": "Learn More"

    },

    "Free_form_additional_info": {

      "Committee_id": Null,

      "Cnpj_or_cpf": Null,

      "Director_name": Null,

      "Ec_certificates": [],

      "Gst_number": Null,

      "Point_of_contact": Null,

      "Treasurer_name": Null,

      "Agent_name": Null,

      "Corporate_purpose": Null,

      "Promoter_name": Null

    },

    "Page_admin_additional_info": Null,

    "Page_name_additional_info": Null

  },

  "GatedType": "Eligible",

  "HasUserReported": False,

  "HiddenSafetyData": False,

  "HideDataStatus": "NONE",

  "ImpressionsWithIndex": {

    "ImpressionsText": "10K - 15K",

    "ImpressionsIndex": 10

  },

  "IsActive": False,

  "IsProfilePage": False,

  "PageID": "214827221987263",

  "PageInfo": Null,

  "PageIsDeleted": False,

  "PageName": "Andrej Babiš",

  "PoliticalCountries": [

    "CZ"

  ],

  "ReachEstimate": "500K - 1M People",

  "ReportCount": Null,

  "Snapshot": {

    "Ad_creative_id": "23853021782190015",

    "Cards": [],

    "Body_translations": {},

    "Byline": "ANO",

    "Caption": Null,

    "Cta_text": Null,

    "Dynamic_item_flags": {},

    "Dynamic_versions": Null,

    "Edited_snapshots": [],

    "Effective_authorization_category": "POLITICAL",

    "Event": [],

    "Extra_images": [],

    "Extra_links": [],

    "Extra_texts": [],

    "Extra_videos": [],

    "Instagram_shopping_products": [],

    "Display_format": "Text",

    "Title": Null,

    "Link_description": Null,

    "Link_url": Null,

    "Page_welcome_message": Null,

    "Images": [],

    "Videos": [],

    "Creation_time": 1673253887,

    "Page_id": 214827221987263,

    "Page_name": "Andrej Babiš",

    "Page_profile_picture_url": "Https://Scontent-Atl3-2.Xx.Fbcdn.Net/V/T39.35426-6/324236805_550621033654724_1514405251265970155_n.Jpg?Stp=Dst-Jpg_s60x60&_nc_cat=100&Ccb=1-7&_nc_sid=Cf96c8&_nc_ohc=JSU-CXHG9wkAX_A3nLA&_nc_ht=Scontent-Atl3-2.Xx&Oh=00_AfCw2tGNp6ndic-BGa4OBkE8bi1VRqGG1NnzzFJ0_lV2fw&Oe=63C3C8BC",

    "Page_categories": {

      "1700": "Politician"

    },

    "Page_entity_type": "Regular_page",

    "Page_is_profile_page": False,

    "Instagram_actor_name": "",

    "Instagram_profile_pic_url": "",

    "Instagram_url": "",

    "Instagram_handle": "",

    "Is_reshared": False,

    "Version": 3,

    "Body": {

      "Context": {},

      "Markup": {

        "__html": "NEVINEN! Jsem Velmi Rád, Že Máme Nezávislou Justici A Soud Potvrdil, Co Jsem Od Začátku Tvrdil. Že Jsem Nevinný A Nic Nezákonného Jsem Neudělal."

      },

      "CallerHash": "28f7aabaed78ac1e72dad4d68c033c9f"

    },

    "Brazil_tax_id": "",

    "Branded_content": Null,

    "Current_page_name": "Andrej Babiš",

    "Disclaimer_label": 1,

    "Page_like_count": 252691,

    "Page_profile_uri": "Https://Www.Facebook.Com/AndrejBabis/",

    "Page_is_deleted": False,

    "Root_reshared_post": Null,

    "Cta_type": Null,

    "Additional_info": {

      "Treasurer_name": Null,

      "Director_name": Null,

      "Point_of_contact": Null,

      "Committee_id": Null,

      "Phone_number": "+420602346701",

      "Email": "Prchal@Anobudelip.Cz",

      "Website": "Www.Anobudelip.Cz",

      "Street_address_1": "Babická 2",

      "Street_address_2": Null,

      "City": "Praha 4",

      "State": Null,

      "Zipcode": "14000",

      "Corporate_purpose": Null

    },

    "Ec_certificates": Null,

    "Country_iso_code": "CZ",

    "Instagram_branded_content": Null

  },

  "Spend": "CZK900 - CZK999",

  "StartDate": 1673251200,

  "StateMediaRunLabel": Null,

  "PublisherPlatform": [

    "Facebook"

  ],

  "MenuItems": [],

  "EndDateFormatted": "2023-01-10T08:00:00.000Z",

  "StartDateFormatted": "2023-01-09T08:00:00.000Z",

  "TotalCount": 1070

},

...

Note: You'll See The Start And End Dates Below In The ISO Value Format. StartDateFormatted: "2022-10-12T07:00:00.000Z" And EndDateFormatted: "2022- 10-12T07:00:00.000Z".


What is the cost of using a Facebook Ads scraper?

Suppose You Use This Scraper On The Real Data API Platform For Result-Oriented Facebook Data Extraction. In That Case, You Need Residential Proxy Servers In The Monthly Personal Plan Of Real Data API, Which Is Around 50 USD Per Month.


To Know More About How We Offer Pricing, Proxies And Usages, And Platform Credits, Check The Pricing Page On Our Platform.


Do you want to collect Facebook groups or comments data?

If You Want To Collect Detailed Facebook Data, We've Dedicated A Scraper For Them Below.


Facebook Groups Scraper

Facebook Reviews Scraper

Facebook Comments Scraper

Facebook Photos Scraper

Facebook Ads scraper with Integrations

Lastly, You Can Connect This Actor With Any Web Application Or Cloud Service With Real Data API Integrations. You Can Connect With Slack, Zapier, GitHub, Make, Google Drives, Airbyte, Google Drive, Etc.


You Can Also Use Webhooks To Commence The Action At The Time Of The Event, Like Getting An Alert In The Successful Execution Of This API.


Using Facebook Ads Scraper with the Real Data API

The Real Data API Allows You To Access Actors Programmatically. It Also Allows You To Use Datasets, Track API Performances, Generate Results, Update And Develop Versions, Etc. To Use The Actor In Python, Use Our Client PyPl Package, And To Use In Node.Js, Use Our Client NPM Package.


See The Real Data API Actor Reference Document For Details, Or Open The API Tab For Codes.


Can I extract Facebook Ads data legally?

We Follow All The Rules And Regulations To Maintain Ethics And Don't Scrape Any Private Data Like Location, Gender, Or Email Ids Of Personal Accounts. But The Scraped Data May Contain Some Personal Information Unintentionally, So Be Aware And Don't Scrape Any Personal Data Without Genuine Reason.


You Can Consult Advocates If You Are Confused About Whether Your Reason Is Legal

Know more >  https://www.realdataapi.com/facebook-ads-scraper.php


Comments

Popular posts from this blog

How to Scrape Travel Websites Data for Better Analysis and Strategic Planning?

Amazon Best Sellers Data Scraper | Scrape Amazon Best Sellers Categories and Details Data

Scraping Grocery Prices from Blinkit, Instacart, BigBasket for Competitive Analysis