Facebook Ad Scraper / saved task 08

Facebook Ad library ID identity index

Study Facebook ads across brands and campaigns. This task keeps library ID, page name, ad body text, and active status for matching and shortlist work. Use source URLs; the identity view keeps the library id identity index result together.

01

Input

{
  "startUrls": [
    "https://www.facebook.com/ads/library/?active_status=active&ad_type=all&country=US&q=nasa&search_type=keyword_unordered"
  ],
  "maxItems": 96,
  "maxSeconds": 240
}
02

Dataset view

identity
  • libraryId
  • pageName
  • adBodyText
  • activeStatus
03

Run

POST /v2/acts/b0AIUcIEkrg9CKczE/runs$1 per 1,000 ads on the Free plan. Other Apify plans use the rates shown in the Pricing tab.API reference