# Scrape Facebook Ads — Lead Generation Campaigns

**Use case:** 

Run Scrape Facebook Ads — Lead Generation Campaigns on Apify in one click. Pre-configured task ready to use.

## Input

```json
{
  "urls": [
    "https://www.facebook.com/ads/library/?active_status=all&ad_type=all&country=ALL&media_type=all&search_type=keyword_unordered&q=fitness"
  ],
  "searchTerms": "free quote insurance",
  "country": "US",
  "activeStatus": "active",
  "mediaType": "image",
  "sortMode": "relevance",
  "sortDirection": "desc",
  "maxResults": 15,
  "enrichAds": true,
  "useResidentialProxy": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "page_name": {
    "label": "Page",
    "format": "text"
  },
  "ad_text": {
    "label": "Ad Copy",
    "format": "text"
  },
  "cta_type": {
    "label": "CTA",
    "format": "text"
  },
  "link_url": {
    "label": "Link",
    "format": "text"
  },
  "platforms": {
    "label": "Platforms",
    "format": "text"
  },
  "media_type": {
    "label": "Media",
    "format": "text"
  },
  "start_date": {
    "label": "Started",
    "format": "text"
  },
  "is_active": {
    "label": "Active",
    "format": "text"
  },
  "ad_category": {
    "label": "Category",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Facebook Ads Library Scraper — Meta Ad Spy Tool](https://apify.com/dltik/facebook-ads-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/dltik/facebook-ads-scraper) to learn more, explore other use cases, and run it yourself.