# Find Facebook Competitor Ads by Keyword

**Use case:** 

Discover Facebook and Instagram ads by keyword to research competitors, messaging, offers, and creative ideas. Export structured ad data.

## Input

```json
{
  "searchQueries": [
    "project management software"
  ],
  "pageIds": [],
  "startUrls": [],
  "countryCode": "US",
  "activeStatus": "active",
  "mediaType": "all",
  "maxResults": 100,
  "requestDelayMillis": 1200,
  "maxRetries": 3,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "pageName": {
    "label": "Advertiser",
    "format": "string"
  },
  "bodyText": {
    "label": "Ad copy",
    "format": "string"
  },
  "headline": {
    "label": "Headline",
    "format": "string"
  },
  "creativeType": {
    "label": "Creative",
    "format": "string"
  },
  "isActive": {
    "label": "Active",
    "format": "boolean"
  },
  "startDate": {
    "label": "Started",
    "format": "string"
  },
  "publisherPlatforms": {
    "label": "Platforms",
    "format": "array"
  },
  "landingPageUrl": {
    "label": "Landing page",
    "format": "string"
  },
  "imageUrls": {
    "label": "Images",
    "format": "array"
  },
  "videoUrls": {
    "label": "Videos",
    "format": "array"
  },
  "adUrl": {
    "label": "Ad Library",
    "format": "string"
  },
  "sourceValue": {
    "label": "Source",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Meta Ads Library Scraper | 💵$0.5/1K](https://apify.com/webdata_labs/meta-ads-library-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/webdata_labs/meta-ads-library-scraper) to learn more, explore other use cases, and run it yourself.