Facebook Ad Scraper / saved task 20

Facebook Ad name and ID match

Study Facebook ads across brands and campaigns. This task keeps library ID, page name, ad body text, and queries for matching and shortlist work. Use source URLs; the identity view keeps the name and id match 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
  • query
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