Facebook Ad Scraper / saved task 02
Facebook Ad identity library ID handoff
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 identity library id handoff 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": 2,
"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