# Track active coffee ads in the Facebook Ads Library

**Use case:** 

Search public Meta Ads Library results for active US coffee ads and export ad copy, creative type, advertiser, platforms, landing links, and snapshot URLs.

## Input

```json
{
  "query": "coffee",
  "country": "US",
  "activeStatus": "active",
  "adType": "all",
  "mediaType": "all",
  "maxItems": 20
}
```

## Output

```json
{
  "advertiserName": {
    "label": "Advertiser",
    "format": "text"
  },
  "libraryId": {
    "label": "Library ID",
    "format": "text"
  },
  "adStatus": {
    "label": "Status",
    "format": "text"
  },
  "startedAt": {
    "label": "Started",
    "format": "date"
  },
  "endedAt": {
    "label": "Ended",
    "format": "date"
  },
  "platforms": {
    "label": "Platforms",
    "format": "array"
  },
  "adText": {
    "label": "Ad text",
    "format": "text"
  },
  "landingUrl": {
    "label": "Landing URL",
    "format": "link"
  },
  "snapshotUrl": {
    "label": "Snapshot URL",
    "format": "link"
  },
  "scrapedAt": {
    "label": "Scraped at",
    "format": "date"
  }
}
```

## About this Actor

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