# Build a language-filtered ad corpus

**Use case:** 

Build a corpus of ads written in one language so teams can study copy, creative patterns, and landing-page themes.

## Input

```json
{
  "searchQuery": "travel deals",
  "searchQueries": [],
  "countries": [
    "US",
    "GB"
  ],
  "adStatus": "ALL",
  "adType": "ALL",
  "mediaType": "ALL",
  "maxResults": 25,
  "sortBy": "most_recent",
  "enrichAds": true,
  "providerFallbackEnabled": true,
  "onlyCount": false,
  "advertiserPageIds": [],
  "startUrls": [],
  "contentLanguages": [
    "es"
  ],
  "publisherPlatforms": [
    "facebook",
    "instagram"
  ],
  "searchType": "KEYWORD_UNORDERED",
  "metaAccessTokens": [],
  "proxyUrls": []
}
```

## Output

```json
{
  "page_name": {
    "label": "Page Name (Advertiser)",
    "format": "string"
  },
  "ad_creative_body": {
    "label": "Ad Body Text",
    "format": "string"
  },
  "ad_creative_link_title": {
    "label": "Headline",
    "format": "string"
  },
  "landing_page_domain": {
    "label": "Landing Page Domain",
    "format": "string"
  },
  "cta_type": {
    "label": "CTA Type (from Facebook)",
    "format": "string"
  },
  "detected_cta": {
    "label": "Detected CTA",
    "format": "string"
  },
  "ad_category": {
    "label": "Ad Category",
    "format": "string"
  },
  "image_urls": {
    "label": "Image URLs",
    "format": "array"
  },
  "video_urls": {
    "label": "Video URLs",
    "format": "array"
  },
  "is_active": {
    "label": "Is Active",
    "format": "boolean"
  },
  "running_days": {
    "label": "Running Days",
    "format": "integer"
  },
  "spend_lower": {
    "label": "Spend Lower Bound",
    "format": "integer"
  },
  "spend_upper": {
    "label": "Spend Upper Bound",
    "format": "integer"
  },
  "currency": {
    "label": "Currency",
    "format": "string"
  },
  "impressions_lower": {
    "label": "Impressions Lower Bound",
    "format": "integer"
  },
  "impressions_upper": {
    "label": "Impressions Upper Bound",
    "format": "integer"
  },
  "ad_summary": {
    "label": "Ad Summary (LLM-ready)",
    "format": "string"
  },
  "data_mode": {
    "label": "Data Mode",
    "format": "string"
  }
}
```

## About this Actor

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