# Inactive ads only Facebook Ads Library

**Use case:** 

Extract Facebook Ads Library data filtered by Inactive ads only. Export structured results ready for analysis, lead generation, or research.

## Input

```json
{
  "searchQuery": "coca cola",
  "adReachedCountries": [
    "US"
  ],
  "adActiveStatus": "inactive",
  "adType": "ALL",
  "searchType": "KEYWORD_UNORDERED",
  "sortBy": "impressions_desc",
  "maxItems": 5,
  "requestDelayMs": 500,
  "proxyConfiguration": {}
}
```

## Output

```json
{
  "imageUrl": {
    "label": "Ad Image",
    "format": "image"
  },
  "pageProfilePictureUrl": {
    "label": "Page Picture",
    "format": "image"
  },
  "pageName": {
    "label": "Page Name",
    "format": "text"
  },
  "isActive": {
    "label": "Active",
    "format": "text"
  },
  "adArchiveID": {
    "label": "Ad Archive ID",
    "format": "text"
  },
  "pageID": {
    "label": "Page ID",
    "format": "text"
  },
  "publisherPlatform": {
    "label": "Platforms",
    "format": "text"
  },
  "categories": {
    "label": "Categories",
    "format": "text"
  },
  "startDateFormatted": {
    "label": "Start Date",
    "format": "text"
  },
  "endDateFormatted": {
    "label": "End Date",
    "format": "text"
  },
  "currency": {
    "label": "Currency",
    "format": "text"
  },
  "spend": {
    "label": "Spend",
    "format": "text"
  },
  "impressionsWithIndex": {
    "label": "Impressions",
    "format": "text"
  },
  "reachEstimate": {
    "label": "Reach Estimate",
    "format": "text"
  },
  "targetedOrReachedCountries": {
    "label": "Target Countries",
    "format": "text"
  },
  "inputUrl": {
    "label": "Search URL",
    "format": "link"
  },
  "runTag": {
    "label": "Run Tag",
    "format": "text"
  },
  "error": {
    "label": "Error",
    "format": "text"
  }
}
```

## About this Actor

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