# Research competitor ads in the Meta Ad Library

**Use case:** 

Search the Meta Ad Library by keyword or brand for active Facebook & Instagram ads — creative, copy, dates and advertiser. Built for competitor ad research.

## Input

```json
{
  "search_mode": "keyword",
  "query": "nike",
  "region": "US",
  "active_only": true,
  "media_type": "all",
  "match_type": "broad",
  "max_ads_per_advertiser": 60,
  "follow_pagination": true
}
```

## Output

```json
{
  "ad_archive_id": {
    "label": "Ad archive ID",
    "format": "string"
  },
  "page_name": {
    "label": "Page name",
    "format": "string"
  },
  "is_active": {
    "label": "Is active",
    "format": "boolean"
  },
  "start_date": {
    "label": "Ad start date (UTC)",
    "format": "string"
  },
  "end_date": {
    "label": "Ad end date (UTC)",
    "format": "string"
  },
  "display_format": {
    "label": "Display format",
    "format": "string"
  },
  "title": {
    "label": "Ad title",
    "format": "string"
  },
  "body_text": {
    "label": "Ad body text",
    "format": "string"
  },
  "cta_text": {
    "label": "CTA display text",
    "format": "string"
  },
  "link_url": {
    "label": "Click-through URL",
    "format": "string"
  },
  "matched_via": {
    "label": "Resolution path",
    "format": "string"
  },
  "query": {
    "label": "Original query string",
    "format": "string"
  },
  "_validation_errors": {
    "label": "Validation errors",
    "format": "array"
  }
}
```

## About this Actor

This example demonstrates how to use [Meta (Facebook & Instagram) Ad Library Scraper](https://apify.com/jaybird/meta-ad-library-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/jaybird/meta-ad-library-scraper) to learn more, explore other use cases, and run it yourself.