# Scrape a Meta Ad Library search

**Use case:** 

Extract public ads from a filtered Meta Ad Library search URL with copy, creatives, and publisher platforms.

## Input

```json
{
  "sourceUrls": [
    "https://www.facebook.com/ads/library/?active_status=active&ad_type=all&content_languages[0]=en&country=ALL&is_targeted_country=false&media_type=image&publisher_platforms[0]=instagram&publisher_platforms[1]=facebook&search_type=page&view_all_page_id=15087023444"
  ],
  "maxAdsPerUrl": 40,
  "countOnly": false,
  "includeAboutInfo": false,
  "includeAdDetails": false,
  "adStatus": "all",
  "sortBy": "default"
}
```

## Output

```json
{
  "pageName": {
    "label": "Page name",
    "format": "string"
  },
  "isActive": {
    "label": "Active",
    "format": "boolean"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "body": {
    "label": "Body",
    "format": "string"
  },
  "ctaLabel": {
    "label": "CTA",
    "format": "string"
  },
  "platforms": {
    "label": "Platforms",
    "format": "array"
  },
  "startedAt": {
    "label": "Started at",
    "format": "string"
  },
  "endedAt": {
    "label": "Ended at",
    "format": "string"
  },
  "landingUrl": {
    "label": "Landing URL",
    "format": "string"
  },
  "pageUrl": {
    "label": "Page URL",
    "format": "string"
  }
}
```

## About this Actor

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