# Track a Competitor's Facebook & Instagram Ads

**Use case:** 

Extract every active ad a brand is running on Facebook and Instagram from the Ad Library  creatives, platforms, and full targeting detail.

## Input

```json
{
  "URLAds": [
    {
      "url": "https://www.facebook.com/ads/library/?active_status=active&ad_type=all&content_languages[0]=en&country=ALL&is_targeted_country=false&media_type=video&publisher_platforms[0]=facebook&q=pokemon&search_type=keyword_unordered&sort_data[mode]=relevancy_monthly_grouped&sort_data[direction]=desc&source=fb-logo&start_date[min]=2026-01-27&start_date[max]=2026-01-28"
    },
    {
      "url": "https://www.facebook.com/ads/library/?id=907653308384731"
    }
  ],
  "searchQueries": [
    "apify"
  ],
  "searchAdvertisers": [
    "Nike"
  ],
  "maxResultsPerQuery": 50,
  "enrichWithAdDetails": true,
  "sortBy": "SORT_BY_TOTAL_IMPRESSIONS",
  "countries": "US",
  "publisherPlatforms": [
    "FACEBOOK",
    "INSTAGRAM"
  ],
  "activeStatus": "ACTIVE",
  "adType": "ALL",
  "mediaType": "ALL"
}
```

## Output

```json
{
  "id": {
    "label": "🆔 Ad ID",
    "format": "text"
  },
  "page_name": {
    "label": "📄 Page Name",
    "format": "text"
  },
  "ad_details.advertiser.page.id": {
    "label": "🆔 Advertiser Page ID",
    "format": "text"
  },
  "ad_details.advertiser.page.about.text": {
    "label": "ℹ️ Advertiser About",
    "format": "object"
  },
  "ad_details.aaa_info.targets_eu": {
    "label": "🇪🇺 Targets EU",
    "format": "boolean"
  },
  "ad_details.aaa_info.gender_audience": {
    "label": "⚧️ Gender Audience",
    "format": "text"
  },
  "ad_details.aaa_info.age_audience.min": {
    "label": "🎂 Min Age",
    "format": "number"
  },
  "ad_details.aaa_info.age_audience.max": {
    "label": "🎂 Max Age",
    "format": "number"
  },
  "ad_details.aaa_info.eu_total_reach": {
    "label": "📡 EU Total Reach",
    "format": "number"
  },
  "ad_details.aaa_info.location_audience": {
    "label": "🌍 Targeted Countries",
    "format": "array"
  },
  "ad_details.aaa_info.age_country_gender_reach_breakdown": {
    "label": "📊 Reach Breakdown by Country & Age",
    "format": "object"
  },
  "ad_details.aaa_info.payer_beneficiary_data": {
    "label": "💳 Payer / Beneficiary",
    "format": "array"
  },
  "ad_details.aaa_info.has_violating_payer_beneficiary": {
    "label": "⚠️ Violating Payer/Beneficiary",
    "format": "boolean"
  },
  "ad_details.aaa_info.is_ad_taken_down": {
    "label": "🚫 Ad Taken Down",
    "format": "boolean"
  },
  "ad_details.violation_types": {
    "label": "🚨 Violation Types",
    "format": "array"
  },
  "ad_details.verified_voice_context.types": {
    "label": "🎙️ Verified Voice Types",
    "format": "array"
  },
  "ad_details.verified_voice_context.ad_library_all_geo_fin_serv_info.finserv_data": {
    "label": "🏦 Financial Services Info",
    "format": "object"
  }
}
```

## About this Actor

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