# Facebook Ads Library Scraper | Ad Creatives (`datascraperes/facebook-ads-library-scraper`) Actor

Collect public Facebook-placement ads from Meta's Ad Library by keyword, Facebook Page ID, or page URL/alias. Export deduplicated ad copy, creatives, media, links, placements, and optional advertiser details to an Apify Dataset.

- **URL**: https://apify.com/datascraperes/facebook-ads-library-scraper.md
- **Developed by:** [DataScraperES](https://apify.com/datascraperes) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.30 / 1,000 ad results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

Collect public Facebook-placement ads from Meta's Ad Library by keyword, Facebook Page ID, page URL, or page alias. **Each Dataset row keeps Meta's original ad snapshot and adds practical creative, media, placement, advertiser-page, pagination, and optional transparency data.**

### What this Actor does

The Actor searches Meta Ads Library results and follows pagination until it reaches your ad limit, the page budget, or the end of the available results. Every delivered ad must include Facebook in Meta's placement list. Ads may also appear on other Meta platforms; the original placement list remains complete.

Every ad row preserves the fields returned by Meta, including the ad archive ID, advertiser page, active state, dates, categories, spend and impression ranges when available, countries, placements, delivery restrictions, and the complete `snapshot`. The added `creative` object provides direct access to copy, headline, CTA, destination URL, image and video URLs, carousel cards, and page information without forcing you to traverse the raw snapshot. Optional detail enrichment adds advertiser transparency, payer and beneficiary data, page profile data, and EU/UK/Brazil audience information when Meta publishes it.

### Use cases

- Monitor competitor ads, messaging, formats, landing pages, and placements by market.
- Build creative libraries containing copy, carousel variants, images, videos, dates, and CTAs.
- Research political, housing, employment, financial, or other Meta ad categories where the selected market exposes the corresponding data.
- Compare advertiser-page audience and verification signals with optional detail enrichment.

### How to use

1. Open the Actor in Apify Console.
2. Enter a keyword, or use a numeric Page ID or Facebook page URL/alias, then choose the country and result limit.
3. Enable **Enrich ad details** only when transparency and page-profile fields are needed.
4. Click **Start** and open the Dataset when the run finishes.

Use this small starting input:

```json
{
  "query": "ikea",
  "country": "ES",
  "activeStatus": "ACTIVE",
  "maxAds": 1,
  "maxPages": 1,
  "includeDetails": false
}
```

### Input

At least one search target is required. Enter a keyword, a numeric Facebook Page ID, or a Facebook page URL/alias. These are alternative ways to choose the target; leave the other target fields empty. All other inputs are optional and use the defaults shown below.

#### Required search target

- `query`: use a brand, advertiser, product, or exact phrase, such as `ikea`, `nike`, `seguros de hogar`, or `"black friday"`. Leave it empty when using a specific Page ID or Facebook page.
- `pageId`: use the numeric Facebook Page ID, such as `244033170035`, instead of a keyword. Do not paste a URL here.
- `pageUrl`: use a public Facebook page URL or alias, such as `https://www.facebook.com/IKEASpain` or `IKEASpain`, instead of a keyword. Use a Facebook page, not an Instagram profile URL.

The input form cannot mark these three alternatives as individually required, so the Actor validates the rule at run time and rejects an input where all three are empty.

#### Optional filters and limits

| Input | Default | What to enter |
| --- | --- | --- |
| `country` | `ES` | A two-letter Meta market code such as `ES`, `US`, `GB`, or `FR`; use `ALL` for every available country. Do not enter a full country name. |
| `activeStatus` | `ACTIVE` | `ACTIVE` for currently running ads, `INACTIVE` for stopped ads, or `ALL` for both. |
| `mediaType` | `ALL` | `IMAGE`, `VIDEO`, `NONE` for ads without image/video media, or `ALL` for every format. |
| `adType` | `ALL` | `EMPLOYMENT_ADS`, `FINANCIAL_PRODUCTS_AND_SERVICES_ADS`, `HOUSING_ADS`, or `POLITICAL_AND_ISSUE_ADS`; availability depends on the market. The legacy `CREDIT_ADS` name is not a separate option. |
| `contentLanguages` | empty | Select language codes from the dropdown, for example `es`, `en`, `ca`, or `pt`. Empty includes every language; the list also contains `cmn` and `yue`. |
| `startDate` / `endDate` | empty | Optional date boundaries in `YYYY-MM-DD`, such as `2026-08-01` and `2026-09-30`. Use either boundary or both; filtering is based on the ad's reported start date. |
| `maxAds` | `100` | Number of unique ads to save, from `1` to `5,000`. Each delivered ad triggers the `ad` and `creative_details` events. Use `1` for a quick test or `100` for a normal search. |
| `maxPages` | `100` | Pagination safety limit, from one to five hundred pages. Use `1-2` for a quick test or `100+` for a broad search; the run can stop at this limit before reaching `maxAds`. |
| `includeDetails` | `false` | Set `true` to request advertiser transparency, payer/beneficiary, audience, and page-profile details. Each successfully returned detail payload also triggers the `advertiser_details` event; unavailable, failed, or skipped details do not. |
| `detailsLimit` | `25` | Maximum ads whose details are requested, from `1` to `5,000`; unavailable or failed details count toward this limit. Used only when `includeDetails` is `true`. Use `1` to test enrichment. |

`contentLanguages` is a multi-select field. The platform is fixed to Facebook; supplying `publisherPlatforms` is rejected. The returned `publisher_platform` field can still contain every placement reported by Meta, even when a placement filter is used.

```json
{
  "query": "ikea",
  "country": "ES",
  "pageId": "",
  "pageUrl": "",
  "activeStatus": "ACTIVE",
  "mediaType": "ALL",
  "adType": "ALL",
  "contentLanguages": [],
  "startDate": "",
  "endDate": "",
  "maxAds": 1,
  "maxPages": 1,
  "includeDetails": false,
  "detailsLimit": 25
}
```

### Output

The Dataset contains one row per deduplicated `ad_archive_id`. The raw Meta response remains under `snapshot`; use `creative` for common fields such as `allTexts`, `format`, `linkUrl`, `ctaType`, `imageUrls`, `videoUrls`, `cardData`, and the advertiser page. Optional `details` contains the extra transparency response, while `enrichment` records whether that ad was enriched, skipped, unavailable, or failed individually. `collection` records the filters and the page's delivery state; use `RUN_SUMMARY` for final pagination and completion.

Ads are saved as each page is processed. The default Key-value Store contains `RUN_SUMMARY` with the final status, saved counts, and pagination result. `collectionComplete` is true only when the requested ad limit or the end of the available results is reached. `enrichmentComplete` indicates whether the requested optional details completed without individual failures or spending restrictions. A `partial` status preserves useful ads while identifying unfinished work; it ends the Actor run without a successful completion status. A valid search with no matching ads can still succeed.

This is the complete Dataset item from a real successful run:

```json
{
  "ad_archive_id": "3675117995977459",
  "collation_count": 1,
  "collation_id": "978783121590475",
  "is_active": true,
  "page_id": "244033170035",
  "page_is_deleted": false,
  "snapshot": {
    "branded_content": null,
    "page_id": "244033170035",
    "page_is_deleted": false,
    "page_profile_uri": "https://facebook.com/IKEASpain",
    "root_reshared_post": null,
    "byline": null,
    "disclaimer_label": null,
    "page_name": "IKEA",
    "page_profile_picture_url": "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/749354944_2546076145814487_2635229585472851442_n.jpg?stp=dst-jpg_s60x60_tt6&_nc_cat=106&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=4cZlmNzQvisQ7kNvwHzPZ3T&_nc_oc=AdoQe-k2viuGP-veu3SMvcDq_1uWPuwEzUjvvp-a4JOkNd6nHSKjzNGQd885VK1X8Qg&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQOoqJqM8ME7YfOwwCOUqu6L18nAskx6rwITK-lM1cY9Qg&oe=6AC5A7AD",
    "event": null,
    "caption": "secondhand.ikea.com",
    "cta_text": "See details",
    "cards": [
      {
        "body": " ",
        "cta_type": "LEARN_MORE",
        "caption": "secondhand.ikea.com",
        "link_description": " ",
        "link_url": "https://secondhand.ikea.com/es/es/?utm_source=meta&utm_medium=paid-social&utm_campaign=es_secondhand",
        "title": "Vende tus muebles IKEA",
        "cta_text": "Learn More",
        "video_hd_url": null,
        "video_preview_image_url": null,
        "video_sd_url": null,
        "watermarked_video_hd_url": null,
        "watermarked_video_sd_url": null,
        "image_crops": [],
        "original_image_url": "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/748639694_1513615413285278_7506716285237968204_n.jpg?_nc_cat=108&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=tijZC8FsUJwQ7kNvwHXqY5h&_nc_oc=AdoJnQghVshX30tBUlzRNssxppF0mxhy9GDFQ8mZpD76njdaTDIXLMaowUqbnOQHNC4&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQM9LcR_XtMVHC-iIAe4r37IqZyQT0UwcIb-aqWCd6QcaA&oe=6AC5ABA0",
        "resized_image_url": "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/748175945_1541562927439084_5391425525326154526_n.jpg?stp=dst-jpg_s600x600_tt6&_nc_cat=105&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=vDOKZstn5MEQ7kNvwGzMPJo&_nc_oc=AdqDMHRXA-Q22w2qCh826OwmMkbTC6RLQJROTPCyaAOpO4TjG-kideai8_L4iLbObno&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQOm2AxYbcBwf2Dq1bDckKLxjJciYD9JZl_pg3DMTLm7oA&oe=6AC5BF7E",
        "watermarked_resized_image_url": ""
      },
      {
        "body": " ",
        "cta_type": "LEARN_MORE",
        "caption": "secondhand.ikea.com",
        "link_description": " ",
        "link_url": "https://secondhand.ikea.com/es/es/?utm_source=meta&utm_medium=paid-social&utm_campaign=es_secondhand",
        "title": "Lo que no usas,",
        "cta_text": "Learn More",
        "video_hd_url": null,
        "video_preview_image_url": null,
        "video_sd_url": null,
        "watermarked_video_hd_url": null,
        "watermarked_video_sd_url": null,
        "image_crops": [],
        "original_image_url": "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/747778473_4646946178960680_5340153375200847868_n.jpg?_nc_cat=107&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=o5ISmKNUZHoQ7kNvwEZMLTh&_nc_oc=AdqDAefi0FHiYw5TJ0OTLzKEpPtp-9OqWFfcYvXlN2HrKRFRA4sMTmJxsd4FgaCWsB4&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQMHlT9NwlyuP6LlH90oHgZsc-rsn4m6F5ULcFZtmQprNQ&oe=6AC5A2DE",
        "resized_image_url": "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/748763690_2311751682985592_900871541201393898_n.jpg?stp=dst-jpg_s600x600_tt6&_nc_cat=100&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=U0w52Ee9YX4Q7kNvwHSlJt6&_nc_oc=AdqPFERzrLTI0M4L9mvYdKv5ORTgW77z0lC1fcmYAxLA1qVhtRD6XIWnqQE-UhLyuo0&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQOeejEZV8aozKi6urhRTvSt2MvhmKhNdZwZz4ry6J4gvg&oe=6AC597FA",
        "watermarked_resized_image_url": ""
      },
      {
        "body": " ",
        "cta_type": "LEARN_MORE",
        "caption": "secondhand.ikea.com",
        "link_description": " ",
        "link_url": "https://secondhand.ikea.com/es/es/?utm_source=meta&utm_medium=paid-social&utm_campaign=es_secondhand",
        "title": "otro está buscando.",
        "cta_text": "Learn More",
        "video_hd_url": null,
        "video_preview_image_url": null,
        "video_sd_url": null,
        "watermarked_video_hd_url": null,
        "watermarked_video_sd_url": null,
        "image_crops": [],
        "original_image_url": "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/749542618_2077637133632734_6323762743254944306_n.jpg?_nc_cat=101&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=ACmKMCFuXToQ7kNvwFsNG6O&_nc_oc=AdpLZGByt2PeaLO_Mqh0u-q6fKXpkcizOb6EjEYeIYy-bMw3pwXYmyioRy9cuUb3Q5s&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQPTGy6iu2BV8IIWKoD-0lSjE9fIADnJ0sd80Df9EXmQTQ&oe=6AC5A129",
        "resized_image_url": "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/748776988_3363851090489976_6910940254957300776_n.jpg?stp=dst-jpg_s600x600_tt6&_nc_cat=102&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=Rs8NcX2sp44Q7kNvwGC0Ds2&_nc_oc=AdrG3ZOCKDKliCctAXyPYifcyUfnCCS8XzYsBhe0Y3hgalDTfWZUF9NcZsQieN9cwWs&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQN1fBYDkVN883T8bEHXLmJXV_D6v5obNuQKzkQ5RYq30g&oe=6AC5BDDB",
        "watermarked_resized_image_url": ""
      },
      {
        "body": " ",
        "cta_type": "LEARN_MORE",
        "caption": "secondhand.ikea.com",
        "link_description": " ",
        "link_url": "https://secondhand.ikea.com/es/es/?utm_source=meta&utm_medium=paid-social&utm_campaign=es_secondhand",
        "title": "Publícalo en IKEA",
        "cta_text": "Learn More",
        "video_hd_url": null,
        "video_preview_image_url": null,
        "video_sd_url": null,
        "watermarked_video_hd_url": null,
        "watermarked_video_sd_url": null,
        "image_crops": [],
        "original_image_url": "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/748986512_1361705579491831_4479545227365192461_n.jpg?_nc_cat=101&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=fOFJk59t1EEQ7kNvwHRUlCn&_nc_oc=AdoOzC09osj2lnX01B5UVfIde_VgiNluyIWnfnq3DmvSTJmgk_lqigNRbSzJGuCLBX4&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQOkmqj6TmlWTzhYwd_5EX-sUkAfxxsDHptfQsQf9Bqf7A&oe=6AC58BAB",
        "resized_image_url": "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/748931103_1887286762229296_9179652081722272344_n.jpg?stp=dst-jpg_s600x600_tt6&_nc_cat=108&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=nJrhb6jvU4wQ7kNvwFHBUMy&_nc_oc=Ado21iO8J3vDGSDYRyQHdPDj6O3XEfOf5eiOtsfsOl4Au8-qD6kdEWO-AQE9wlEyBuU&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQOagxwV8T4i-dZVHlzVT0oh-Q9s2ryWbLJbQLe9IrD6Cg&oe=6AC5C097",
        "watermarked_resized_image_url": ""
      },
      {
        "body": " ",
        "cta_type": "LEARN_MORE",
        "caption": "secondhand.ikea.com",
        "link_description": " ",
        "link_url": "https://secondhand.ikea.com/es/es/?utm_source=meta&utm_medium=paid-social&utm_campaign=es_secondhand",
        "title": "y dale otra vida",
        "cta_text": "Learn More",
        "video_hd_url": null,
        "video_preview_image_url": null,
        "video_sd_url": null,
        "watermarked_video_hd_url": null,
        "watermarked_video_sd_url": null,
        "image_crops": [],
        "original_image_url": "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/748134318_1571542294384625_4003168513433461238_n.jpg?_nc_cat=104&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=MeBQ8kJRv6sQ7kNvwGpEmX3&_nc_oc=AdpSG0GJzuO48yBRbTRyPRK048wmnOgvFvj1mqeZPxmyGw_i2TlsAuqih4lM5hA6Z_M&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQNVtdlCOl2NQWh_W22ErbAaHeC8tIy2EJOFCyUUOpkOLw&oe=6AC5BEE0",
        "resized_image_url": "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/748845257_1495702135643670_2883663608085993581_n.jpg?stp=dst-jpg_s600x600_tt6&_nc_cat=101&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=twV1wN6U5D4Q7kNvwHzMCuo&_nc_oc=AdoEJlfXyRSPdkab7Q7v7fYhxNBwG-dt2X5xBdKl0oSMHaYkFY1wmNgwPUzBsnQNHV8&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQM7unjV9vmJFb5cDHTyI1qW0Ly4TYz1yW27xDlArjdVWA&oe=6AC5A1E0",
        "watermarked_resized_image_url": ""
      },
      {
        "body": " ",
        "cta_type": "LEARN_MORE",
        "caption": "secondhand.ikea.com",
        "link_description": " ",
        "link_url": "https://secondhand.ikea.com/es/es/?utm_source=meta&utm_medium=paid-social&utm_campaign=es_secondhand",
        "title": "Descubre el mercado online de segunda mano IKEA",
        "cta_text": "Learn More",
        "video_hd_url": null,
        "video_preview_image_url": null,
        "video_sd_url": null,
        "watermarked_video_hd_url": null,
        "watermarked_video_sd_url": null,
        "image_crops": [],
        "original_image_url": "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/749355058_1542183364272722_3019182491958359543_n.jpg?_nc_cat=102&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=KEgIR2Z5QjwQ7kNvwF09Cd1&_nc_oc=Adoh3q6gXKJwYB5f0pORPI27LiCVl08MYtlmEUSwXmv3BRSJN-_At506io2MeniYGrk&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQNLbbI29yqF20TbU78ijQgK70OBr9E33p-08ebX217pAw&oe=6AC59189",
        "resized_image_url": "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/748592739_2573880196449086_6053508969777171909_n.jpg?stp=dst-jpg_s600x600_tt6&_nc_cat=102&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=jmSSs8-6PhUQ7kNvwEplJ0t&_nc_oc=AdpvAzJpG45iGFEa3JmGEM4w5BtGKlu5KdwX6pUf5HEFtHSft2wwrohBXWw41wsIqFY&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQPvT3_kb6RVNbYs201Zc6mdeij9G7e67MC27oEJOmLNkw&oe=6AC5AD65",
        "watermarked_resized_image_url": ""
      }
    ],
    "body": {
      "text": "Encuentra un nuevo dueño para tus muebles\nDescubre cómo"
    },
    "cta_type": "SEE_DETAILS",
    "display_format": "CAROUSEL",
    "link_description": null,
    "link_url": "https://secondhand.ikea.com/es/es/?utm_source=meta&utm_medium=paid-social&utm_campaign=es_secondhand",
    "images": [],
    "page_categories": [
      "Furniture"
    ],
    "page_like_count": 34260786,
    "title": "IKEA",
    "videos": [],
    "is_reshared": false,
    "extra_links": [],
    "extra_texts": [],
    "extra_images": [],
    "extra_videos": [],
    "country_iso_code": null,
    "brazil_tax_id": null,
    "additional_info": null,
    "ec_certificates": []
  },
  "has_user_reported": false,
  "report_count": null,
  "menu_items": [],
  "state_media_run_label": null,
  "page_name": "IKEA",
  "impressions_with_index": {
    "impressions_text": null,
    "impressions_index": -1
  },
  "gated_type": "ELIGIBLE",
  "categories": [
    "UNKNOWN"
  ],
  "is_aaa_eligible": true,
  "contains_digital_created_media": false,
  "reach_estimate": null,
  "currency": "",
  "spend": null,
  "end_date": 1790924400,
  "publisher_platform": [
    "FACEBOOK",
    "INSTAGRAM",
    "THREADS"
  ],
  "start_date": 1784185200,
  "contains_sensitive_content": false,
  "total_active_time": null,
  "regional_regulation_data": {
    "finserv": {
      "is_deemed_finserv": false,
      "is_limited_delivery": false
    },
    "tw_anti_scam": {
      "is_limited_delivery": false
    }
  },
  "hide_data_status": "NONE",
  "fev_info": null,
  "ad_id": null,
  "targeted_or_reached_countries": [],
  "creative": {
    "texts": [
      "Encuentra un nuevo dueño para tus muebles\nDescubre cómo",
      " "
    ],
    "allTexts": [
      "Encuentra un nuevo dueño para tus muebles\nDescubre cómo",
      "IKEA",
      "secondhand.ikea.com",
      "See details",
      " ",
      "Vende tus muebles IKEA",
      "Learn More",
      "Lo que no usas,",
      "otro está buscando.",
      "Publícalo en IKEA",
      "y dale otra vida",
      "Descubre el mercado online de segunda mano IKEA"
    ],
    "media": [
      "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/748639694_1513615413285278_7506716285237968204_n.jpg?_nc_cat=108&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=tijZC8FsUJwQ7kNvwHXqY5h&_nc_oc=AdoJnQghVshX30tBUlzRNssxppF0mxhy9GDFQ8mZpD76njdaTDIXLMaowUqbnOQHNC4&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQM9LcR_XtMVHC-iIAe4r37IqZyQT0UwcIb-aqWCd6QcaA&oe=6AC5ABA0",
      "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/748175945_1541562927439084_5391425525326154526_n.jpg?stp=dst-jpg_s600x600_tt6&_nc_cat=105&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=vDOKZstn5MEQ7kNvwGzMPJo&_nc_oc=AdqDMHRXA-Q22w2qCh826OwmMkbTC6RLQJROTPCyaAOpO4TjG-kideai8_L4iLbObno&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQOm2AxYbcBwf2Dq1bDckKLxjJciYD9JZl_pg3DMTLm7oA&oe=6AC5BF7E",
      "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/747778473_4646946178960680_5340153375200847868_n.jpg?_nc_cat=107&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=o5ISmKNUZHoQ7kNvwEZMLTh&_nc_oc=AdqDAefi0FHiYw5TJ0OTLzKEpPtp-9OqWFfcYvXlN2HrKRFRA4sMTmJxsd4FgaCWsB4&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQMHlT9NwlyuP6LlH90oHgZsc-rsn4m6F5ULcFZtmQprNQ&oe=6AC5A2DE",
      "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/748763690_2311751682985592_900871541201393898_n.jpg?stp=dst-jpg_s600x600_tt6&_nc_cat=100&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=U0w52Ee9YX4Q7kNvwHSlJt6&_nc_oc=AdqPFERzrLTI0M4L9mvYdKv5ORTgW77z0lC1fcmYAxLA1qVhtRD6XIWnqQE-UhLyuo0&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQOeejEZV8aozKi6urhRTvSt2MvhmKhNdZwZz4ry6J4gvg&oe=6AC597FA",
      "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/749542618_2077637133632734_6323762743254944306_n.jpg?_nc_cat=101&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=ACmKMCFuXToQ7kNvwFsNG6O&_nc_oc=AdpLZGByt2PeaLO_Mqh0u-q6fKXpkcizOb6EjEYeIYy-bMw3pwXYmyioRy9cuUb3Q5s&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQPTGy6iu2BV8IIWKoD-0lSjE9fIADnJ0sd80Df9EXmQTQ&oe=6AC5A129",
      "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/748776988_3363851090489976_6910940254957300776_n.jpg?stp=dst-jpg_s600x600_tt6&_nc_cat=102&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=Rs8NcX2sp44Q7kNvwGC0Ds2&_nc_oc=AdrG3ZOCKDKliCctAXyPYifcyUfnCCS8XzYsBhe0Y3hgalDTfWZUF9NcZsQieN9cwWs&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQN1fBYDkVN883T8bEHXLmJXV_D6v5obNuQKzkQ5RYq30g&oe=6AC5BDDB",
      "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/748986512_1361705579491831_4479545227365192461_n.jpg?_nc_cat=101&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=fOFJk59t1EEQ7kNvwHRUlCn&_nc_oc=AdoOzC09osj2lnX01B5UVfIde_VgiNluyIWnfnq3DmvSTJmgk_lqigNRbSzJGuCLBX4&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQOkmqj6TmlWTzhYwd_5EX-sUkAfxxsDHptfQsQf9Bqf7A&oe=6AC58BAB",
      "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/748931103_1887286762229296_9179652081722272344_n.jpg?stp=dst-jpg_s600x600_tt6&_nc_cat=108&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=nJrhb6jvU4wQ7kNvwFHBUMy&_nc_oc=Ado21iO8J3vDGSDYRyQHdPDj6O3XEfOf5eiOtsfsOl4Au8-qD6kdEWO-AQE9wlEyBuU&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQOagxwV8T4i-dZVHlzVT0oh-Q9s2ryWbLJbQLe9IrD6Cg&oe=6AC5C097",
      "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/748134318_1571542294384625_4003168513433461238_n.jpg?_nc_cat=104&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=MeBQ8kJRv6sQ7kNvwGpEmX3&_nc_oc=AdpSG0GJzuO48yBRbTRyPRK048wmnOgvFvj1mqeZPxmyGw_i2TlsAuqih4lM5hA6Z_M&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQNVtdlCOl2NQWh_W22ErbAaHeC8tIy2EJOFCyUUOpkOLw&oe=6AC5BEE0",
      "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/748845257_1495702135643670_2883663608085993581_n.jpg?stp=dst-jpg_s600x600_tt6&_nc_cat=101&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=twV1wN6U5D4Q7kNvwHzMCuo&_nc_oc=AdoEJlfXyRSPdkab7Q7v7fYhxNBwG-dt2X5xBdKl0oSMHaYkFY1wmNgwPUzBsnQNHV8&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQM7unjV9vmJFb5cDHTyI1qW0Ly4TYz1yW27xDlArjdVWA&oe=6AC5A1E0",
      "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/749355058_1542183364272722_3019182491958359543_n.jpg?_nc_cat=102&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=KEgIR2Z5QjwQ7kNvwF09Cd1&_nc_oc=Adoh3q6gXKJwYB5f0pORPI27LiCVl08MYtlmEUSwXmv3BRSJN-_At506io2MeniYGrk&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQNLbbI29yqF20TbU78ijQgK70OBr9E33p-08ebX217pAw&oe=6AC59189",
      "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/748592739_2573880196449086_6053508969777171909_n.jpg?stp=dst-jpg_s600x600_tt6&_nc_cat=102&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=jmSSs8-6PhUQ7kNvwEplJ0t&_nc_oc=AdpvAzJpG45iGFEa3JmGEM4w5BtGKlu5KdwX6pUf5HEFtHSft2wwrohBXWw41wsIqFY&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQPvT3_kb6RVNbYs201Zc6mdeij9G7e67MC27oEJOmLNkw&oe=6AC5AD65"
    ],
    "cards": 6,
    "cardData": [
      {
        "body": " ",
        "cta_type": "LEARN_MORE",
        "caption": "secondhand.ikea.com",
        "link_description": " ",
        "link_url": "https://secondhand.ikea.com/es/es/?utm_source=meta&utm_medium=paid-social&utm_campaign=es_secondhand",
        "title": "Vende tus muebles IKEA",
        "cta_text": "Learn More",
        "video_hd_url": null,
        "video_preview_image_url": null,
        "video_sd_url": null,
        "watermarked_video_hd_url": null,
        "watermarked_video_sd_url": null,
        "image_crops": [],
        "original_image_url": "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/748639694_1513615413285278_7506716285237968204_n.jpg?_nc_cat=108&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=tijZC8FsUJwQ7kNvwHXqY5h&_nc_oc=AdoJnQghVshX30tBUlzRNssxppF0mxhy9GDFQ8mZpD76njdaTDIXLMaowUqbnOQHNC4&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQM9LcR_XtMVHC-iIAe4r37IqZyQT0UwcIb-aqWCd6QcaA&oe=6AC5ABA0",
        "resized_image_url": "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/748175945_1541562927439084_5391425525326154526_n.jpg?stp=dst-jpg_s600x600_tt6&_nc_cat=105&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=vDOKZstn5MEQ7kNvwGzMPJo&_nc_oc=AdqDMHRXA-Q22w2qCh826OwmMkbTC6RLQJROTPCyaAOpO4TjG-kideai8_L4iLbObno&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQOm2AxYbcBwf2Dq1bDckKLxjJciYD9JZl_pg3DMTLm7oA&oe=6AC5BF7E",
        "watermarked_resized_image_url": ""
      },
      {
        "body": " ",
        "cta_type": "LEARN_MORE",
        "caption": "secondhand.ikea.com",
        "link_description": " ",
        "link_url": "https://secondhand.ikea.com/es/es/?utm_source=meta&utm_medium=paid-social&utm_campaign=es_secondhand",
        "title": "Lo que no usas,",
        "cta_text": "Learn More",
        "video_hd_url": null,
        "video_preview_image_url": null,
        "video_sd_url": null,
        "watermarked_video_hd_url": null,
        "watermarked_video_sd_url": null,
        "image_crops": [],
        "original_image_url": "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/747778473_4646946178960680_5340153375200847868_n.jpg?_nc_cat=107&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=o5ISmKNUZHoQ7kNvwEZMLTh&_nc_oc=AdqDAefi0FHiYw5TJ0OTLzKEpPtp-9OqWFfcYvXlN2HrKRFRA4sMTmJxsd4FgaCWsB4&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQMHlT9NwlyuP6LlH90oHgZsc-rsn4m6F5ULcFZtmQprNQ&oe=6AC5A2DE",
        "resized_image_url": "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/748763690_2311751682985592_900871541201393898_n.jpg?stp=dst-jpg_s600x600_tt6&_nc_cat=100&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=U0w52Ee9YX4Q7kNvwHSlJt6&_nc_oc=AdqPFERzrLTI0M4L9mvYdKv5ORTgW77z0lC1fcmYAxLA1qVhtRD6XIWnqQE-UhLyuo0&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQOeejEZV8aozKi6urhRTvSt2MvhmKhNdZwZz4ry6J4gvg&oe=6AC597FA",
        "watermarked_resized_image_url": ""
      },
      {
        "body": " ",
        "cta_type": "LEARN_MORE",
        "caption": "secondhand.ikea.com",
        "link_description": " ",
        "link_url": "https://secondhand.ikea.com/es/es/?utm_source=meta&utm_medium=paid-social&utm_campaign=es_secondhand",
        "title": "otro está buscando.",
        "cta_text": "Learn More",
        "video_hd_url": null,
        "video_preview_image_url": null,
        "video_sd_url": null,
        "watermarked_video_hd_url": null,
        "watermarked_video_sd_url": null,
        "image_crops": [],
        "original_image_url": "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/749542618_2077637133632734_6323762743254944306_n.jpg?_nc_cat=101&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=ACmKMCFuXToQ7kNvwFsNG6O&_nc_oc=AdpLZGByt2PeaLO_Mqh0u-q6fKXpkcizOb6EjEYeIYy-bMw3pwXYmyioRy9cuUb3Q5s&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQPTGy6iu2BV8IIWKoD-0lSjE9fIADnJ0sd80Df9EXmQTQ&oe=6AC5A129",
        "resized_image_url": "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/748776988_3363851090489976_6910940254957300776_n.jpg?stp=dst-jpg_s600x600_tt6&_nc_cat=102&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=Rs8NcX2sp44Q7kNvwGC0Ds2&_nc_oc=AdrG3ZOCKDKliCctAXyPYifcyUfnCCS8XzYsBhe0Y3hgalDTfWZUF9NcZsQieN9cwWs&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQN1fBYDkVN883T8bEHXLmJXV_D6v5obNuQKzkQ5RYq30g&oe=6AC5BDDB",
        "watermarked_resized_image_url": ""
      },
      {
        "body": " ",
        "cta_type": "LEARN_MORE",
        "caption": "secondhand.ikea.com",
        "link_description": " ",
        "link_url": "https://secondhand.ikea.com/es/es/?utm_source=meta&utm_medium=paid-social&utm_campaign=es_secondhand",
        "title": "Publícalo en IKEA",
        "cta_text": "Learn More",
        "video_hd_url": null,
        "video_preview_image_url": null,
        "video_sd_url": null,
        "watermarked_video_hd_url": null,
        "watermarked_video_sd_url": null,
        "image_crops": [],
        "original_image_url": "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/748986512_1361705579491831_4479545227365192461_n.jpg?_nc_cat=101&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=fOFJk59t1EEQ7kNvwHRUlCn&_nc_oc=AdoOzC09osj2lnX01B5UVfIde_VgiNluyIWnfnq3DmvSTJmgk_lqigNRbSzJGuCLBX4&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQOkmqj6TmlWTzhYwd_5EX-sUkAfxxsDHptfQsQf9Bqf7A&oe=6AC58BAB",
        "resized_image_url": "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/748931103_1887286762229296_9179652081722272344_n.jpg?stp=dst-jpg_s600x600_tt6&_nc_cat=108&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=nJrhb6jvU4wQ7kNvwFHBUMy&_nc_oc=Ado21iO8J3vDGSDYRyQHdPDj6O3XEfOf5eiOtsfsOl4Au8-qD6kdEWO-AQE9wlEyBuU&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQOagxwV8T4i-dZVHlzVT0oh-Q9s2ryWbLJbQLe9IrD6Cg&oe=6AC5C097",
        "watermarked_resized_image_url": ""
      },
      {
        "body": " ",
        "cta_type": "LEARN_MORE",
        "caption": "secondhand.ikea.com",
        "link_description": " ",
        "link_url": "https://secondhand.ikea.com/es/es/?utm_source=meta&utm_medium=paid-social&utm_campaign=es_secondhand",
        "title": "y dale otra vida",
        "cta_text": "Learn More",
        "video_hd_url": null,
        "video_preview_image_url": null,
        "video_sd_url": null,
        "watermarked_video_hd_url": null,
        "watermarked_video_sd_url": null,
        "image_crops": [],
        "original_image_url": "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/748134318_1571542294384625_4003168513433461238_n.jpg?_nc_cat=104&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=MeBQ8kJRv6sQ7kNvwGpEmX3&_nc_oc=AdpSG0GJzuO48yBRbTRyPRK048wmnOgvFvj1mqeZPxmyGw_i2TlsAuqih4lM5hA6Z_M&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQNVtdlCOl2NQWh_W22ErbAaHeC8tIy2EJOFCyUUOpkOLw&oe=6AC5BEE0",
        "resized_image_url": "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/748845257_1495702135643670_2883663608085993581_n.jpg?stp=dst-jpg_s600x600_tt6&_nc_cat=101&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=twV1wN6U5D4Q7kNvwHzMCuo&_nc_oc=AdoEJlfXyRSPdkab7Q7v7fYhxNBwG-dt2X5xBdKl0oSMHaYkFY1wmNgwPUzBsnQNHV8&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQM7unjV9vmJFb5cDHTyI1qW0Ly4TYz1yW27xDlArjdVWA&oe=6AC5A1E0",
        "watermarked_resized_image_url": ""
      },
      {
        "body": " ",
        "cta_type": "LEARN_MORE",
        "caption": "secondhand.ikea.com",
        "link_description": " ",
        "link_url": "https://secondhand.ikea.com/es/es/?utm_source=meta&utm_medium=paid-social&utm_campaign=es_secondhand",
        "title": "Descubre el mercado online de segunda mano IKEA",
        "cta_text": "Learn More",
        "video_hd_url": null,
        "video_preview_image_url": null,
        "video_sd_url": null,
        "watermarked_video_hd_url": null,
        "watermarked_video_sd_url": null,
        "image_crops": [],
        "original_image_url": "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/749355058_1542183364272722_3019182491958359543_n.jpg?_nc_cat=102&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=KEgIR2Z5QjwQ7kNvwF09Cd1&_nc_oc=Adoh3q6gXKJwYB5f0pORPI27LiCVl08MYtlmEUSwXmv3BRSJN-_At506io2MeniYGrk&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQNLbbI29yqF20TbU78ijQgK70OBr9E33p-08ebX217pAw&oe=6AC59189",
        "resized_image_url": "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/748592739_2573880196449086_6053508969777171909_n.jpg?stp=dst-jpg_s600x600_tt6&_nc_cat=102&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=jmSSs8-6PhUQ7kNvwEplJ0t&_nc_oc=AdpvAzJpG45iGFEa3JmGEM4w5BtGKlu5KdwX6pUf5HEFtHSft2wwrohBXWw41wsIqFY&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQPvT3_kb6RVNbYs201Zc6mdeij9G7e67MC27oEJOmLNkw&oe=6AC5AD65",
        "watermarked_resized_image_url": ""
      }
    ],
    "format": "CAROUSEL",
    "body": {
      "text": "Encuentra un nuevo dueño para tus muebles\nDescubre cómo"
    },
    "title": "IKEA",
    "caption": "secondhand.ikea.com",
    "linkDescription": null,
    "linkUrl": "https://secondhand.ikea.com/es/es/?utm_source=meta&utm_medium=paid-social&utm_campaign=es_secondhand",
    "ctaText": "See details",
    "ctaType": "SEE_DETAILS",
    "imageUrls": [
      "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/748639694_1513615413285278_7506716285237968204_n.jpg?_nc_cat=108&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=tijZC8FsUJwQ7kNvwHXqY5h&_nc_oc=AdoJnQghVshX30tBUlzRNssxppF0mxhy9GDFQ8mZpD76njdaTDIXLMaowUqbnOQHNC4&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQM9LcR_XtMVHC-iIAe4r37IqZyQT0UwcIb-aqWCd6QcaA&oe=6AC5ABA0",
      "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/748175945_1541562927439084_5391425525326154526_n.jpg?stp=dst-jpg_s600x600_tt6&_nc_cat=105&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=vDOKZstn5MEQ7kNvwGzMPJo&_nc_oc=AdqDMHRXA-Q22w2qCh826OwmMkbTC6RLQJROTPCyaAOpO4TjG-kideai8_L4iLbObno&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQOm2AxYbcBwf2Dq1bDckKLxjJciYD9JZl_pg3DMTLm7oA&oe=6AC5BF7E",
      "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/747778473_4646946178960680_5340153375200847868_n.jpg?_nc_cat=107&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=o5ISmKNUZHoQ7kNvwEZMLTh&_nc_oc=AdqDAefi0FHiYw5TJ0OTLzKEpPtp-9OqWFfcYvXlN2HrKRFRA4sMTmJxsd4FgaCWsB4&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQMHlT9NwlyuP6LlH90oHgZsc-rsn4m6F5ULcFZtmQprNQ&oe=6AC5A2DE",
      "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/748763690_2311751682985592_900871541201393898_n.jpg?stp=dst-jpg_s600x600_tt6&_nc_cat=100&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=U0w52Ee9YX4Q7kNvwHSlJt6&_nc_oc=AdqPFERzrLTI0M4L9mvYdKv5ORTgW77z0lC1fcmYAxLA1qVhtRD6XIWnqQE-UhLyuo0&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQOeejEZV8aozKi6urhRTvSt2MvhmKhNdZwZz4ry6J4gvg&oe=6AC597FA",
      "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/749542618_2077637133632734_6323762743254944306_n.jpg?_nc_cat=101&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=ACmKMCFuXToQ7kNvwFsNG6O&_nc_oc=AdpLZGByt2PeaLO_Mqh0u-q6fKXpkcizOb6EjEYeIYy-bMw3pwXYmyioRy9cuUb3Q5s&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQPTGy6iu2BV8IIWKoD-0lSjE9fIADnJ0sd80Df9EXmQTQ&oe=6AC5A129",
      "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/748776988_3363851090489976_6910940254957300776_n.jpg?stp=dst-jpg_s600x600_tt6&_nc_cat=102&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=Rs8NcX2sp44Q7kNvwGC0Ds2&_nc_oc=AdrG3ZOCKDKliCctAXyPYifcyUfnCCS8XzYsBhe0Y3hgalDTfWZUF9NcZsQieN9cwWs&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQN1fBYDkVN883T8bEHXLmJXV_D6v5obNuQKzkQ5RYq30g&oe=6AC5BDDB",
      "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/748986512_1361705579491831_4479545227365192461_n.jpg?_nc_cat=101&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=fOFJk59t1EEQ7kNvwHRUlCn&_nc_oc=AdoOzC09osj2lnX01B5UVfIde_VgiNluyIWnfnq3DmvSTJmgk_lqigNRbSzJGuCLBX4&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQOkmqj6TmlWTzhYwd_5EX-sUkAfxxsDHptfQsQf9Bqf7A&oe=6AC58BAB",
      "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/748931103_1887286762229296_9179652081722272344_n.jpg?stp=dst-jpg_s600x600_tt6&_nc_cat=108&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=nJrhb6jvU4wQ7kNvwFHBUMy&_nc_oc=Ado21iO8J3vDGSDYRyQHdPDj6O3XEfOf5eiOtsfsOl4Au8-qD6kdEWO-AQE9wlEyBuU&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQOagxwV8T4i-dZVHlzVT0oh-Q9s2ryWbLJbQLe9IrD6Cg&oe=6AC5C097",
      "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/748134318_1571542294384625_4003168513433461238_n.jpg?_nc_cat=104&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=MeBQ8kJRv6sQ7kNvwGpEmX3&_nc_oc=AdpSG0GJzuO48yBRbTRyPRK048wmnOgvFvj1mqeZPxmyGw_i2TlsAuqih4lM5hA6Z_M&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQNVtdlCOl2NQWh_W22ErbAaHeC8tIy2EJOFCyUUOpkOLw&oe=6AC5BEE0",
      "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/748845257_1495702135643670_2883663608085993581_n.jpg?stp=dst-jpg_s600x600_tt6&_nc_cat=101&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=twV1wN6U5D4Q7kNvwHzMCuo&_nc_oc=AdoEJlfXyRSPdkab7Q7v7fYhxNBwG-dt2X5xBdKl0oSMHaYkFY1wmNgwPUzBsnQNHV8&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQM7unjV9vmJFb5cDHTyI1qW0Ly4TYz1yW27xDlArjdVWA&oe=6AC5A1E0",
      "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/749355058_1542183364272722_3019182491958359543_n.jpg?_nc_cat=102&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=KEgIR2Z5QjwQ7kNvwF09Cd1&_nc_oc=Adoh3q6gXKJwYB5f0pORPI27LiCVl08MYtlmEUSwXmv3BRSJN-_At506io2MeniYGrk&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQNLbbI29yqF20TbU78ijQgK70OBr9E33p-08ebX217pAw&oe=6AC59189",
      "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/748592739_2573880196449086_6053508969777171909_n.jpg?stp=dst-jpg_s600x600_tt6&_nc_cat=102&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=jmSSs8-6PhUQ7kNvwEplJ0t&_nc_oc=AdpvAzJpG45iGFEa3JmGEM4w5BtGKlu5KdwX6pUf5HEFtHSft2wwrohBXWw41wsIqFY&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQPvT3_kb6RVNbYs201Zc6mdeij9G7e67MC27oEJOmLNkw&oe=6AC5AD65"
    ],
    "videoUrls": [],
    "images": [],
    "videos": [],
    "page": {
      "id": "244033170035",
      "name": "IKEA",
      "profileUri": "https://facebook.com/IKEASpain",
      "profilePictureUrl": "https://scontent.ftfn1-1.fna.fbcdn.net/v/t39.35426-6/749354944_2546076145814487_2635229585472851442_n.jpg?stp=dst-jpg_s60x60_tt6&_nc_cat=106&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=c53f8f&_nc_ohc=4cZlmNzQvisQ7kNvwHzPZ3T&_nc_oc=AdoQe-k2viuGP-veu3SMvcDq_1uWPuwEzUjvvp-a4JOkNd6nHSKjzNGQd885VK1X8Qg&_nc_zt=14&_nc_ht=scontent.ftfn1-1.fna&_nc_gid=ne8pLI_ZwFRpk47K4iBKjA&_nc_ss=70289&oh=00_AQOoqJqM8ME7YfOwwCOUqu6L18nAskx6rwITK-lM1cY9Qg&oe=6AC5A7AD",
      "categories": [
        "Furniture"
      ],
      "likeCount": 34260786
    }
  },
  "collection": {
    "query": "ikea",
    "country": "ES",
    "startDate": null,
    "endDate": null,
    "activeStatus": "ACTIVE",
    "mediaType": "ALL",
    "adType": "ALL",
    "publisherPlatforms": [
      "FACEBOOK"
    ],
    "contentLanguages": [],
    "maxAds": 1,
    "maxPages": 1,
    "pageId": null,
    "pagesFetched": 1,
    "termination": "page_delivered",
    "uniqueAds": 1,
    "budgetLimited": false
  },
  "sourceUrl": "https://www.facebook.com/ads/library/?id=3675117995977459",
  "scrapedAt": "2026-10-02T15:47:37.016114+00:00"
}
```

### Pricing

Pricing is pay per event. Each unique ad delivered to the Dataset triggers both `ad` and `creative_details`. When optional advertiser enrichment returns data successfully, that ad also triggers `advertiser_details`. Each event is charged separately at the price for the customer's Apify plan; there is no minimum purchase of 1,000 events.

| Apify plan | `ad` price per event | `ad` equivalent per 1,000 events | `creative_details` price per event | `creative_details` equivalent per 1,000 events | `advertiser_details` price per event | `advertiser_details` equivalent per 1,000 events |
|---|---:|---:|---:|---:|---:|---:|
| FREE | $0.0004 | $0.40 | $0.0001 | $0.10 | $0.0004 | $0.40 |
| BRONZE | $0.00036 | $0.36 | $0.00009 | $0.09 | $0.00036 | $0.36 |
| SILVER | $0.00032 | $0.32 | $0.00008 | $0.08 | $0.00032 | $0.32 |
| GOLD | $0.0003 | $0.30 | $0.000075 | $0.075 | $0.0003 | $0.30 |
| PLATINUM | $0.0003 | $0.30 | $0.000075 | $0.075 | $0.0003 | $0.30 |
| DIAMOND | $0.0003 | $0.30 | $0.000075 | $0.075 | $0.0003 | $0.30 |

The base charge for one delivered ad is the sum of its `ad` and `creative_details` events: $0.0005 on FREE, equivalent to $0.50 per 1,000 delivered ads. If advertiser details are also returned, the FREE total is $0.0009 for that ad, equivalent to $0.90 per 1,000 fully enriched ads. For example, 25 base results cost $0.0125 on FREE; 25 results with successful advertiser enrichment cost $0.0225. These are comparison totals; billing still occurs event by event.

Empty searches, failed requests, discarded records, and unavailable, failed, or skipped optional details do not trigger their respective events. A run respects the maximum charge selected in Apify and may stop before reaching the requested ad or detail limit when the remaining budget cannot cover another event. Check the Pricing tab and maximum charge before starting.

### Related Actors

| Actor | Best for |
|---|---|
| [Meta Ads Library Scraper | All Meta Platforms](https://apify.com/datascraperes/meta-ads-library-scraper) | Searching ads across several Meta platforms with selectable placements. |
| [Google Ads Transparency Center Creative Scraper](https://apify.com/datascraperes/google-ads-transparency-scraper) | Comparing Facebook creatives with public Google advertiser creatives. |
| [TikTok Commercial Content Library Ads Scraper](https://apify.com/datascraperes/tiktok-ads-commercial-library) | Extending ad research to public TikTok commercial content. |

### Limits and data quality

The Actor can return only fields Meta publishes for the selected country, ad type, advertiser, and ad state. Spend, impressions, reach, demographic transparency, payer information, and profile metrics are conditional; `null` means the source did not provide that value. Estimated audience fields must be treated as estimates, not measured campaign performance.

Media URLs are supplied by Meta and can expire. The raw `snapshot` is kept so downstream users can inspect fields that are not yet represented in `creative`. Results are deduplicated by `ad_archive_id`. Each row's `collection` describes the page at delivery; use `RUN_SUMMARY` for final totals and completion. A `page_budget` termination means collection is partial because more matching ads may remain; `exhausted` means the source reported no next page. Content-language and special ad-type semantics remain Meta-defined and should not be interpreted as an independent language classifier or visual classifier.

Results depend on the availability of Meta's public library. If a search cannot be completed, the Actor reports a failed run instead of presenting it as a search with zero matching ads. Check the run status and `RUN_SUMMARY` before using the output. A successful run reaches `maxAds` or the end of the available results. Reaching `maxPages` while more results remain is reported as incomplete.

The Apify run log shows stage updates, saved ad and page counts, enrichment counts, and elapsed time. The status message provides a shorter progress summary.

### Frequently asked questions

#### What is the difference between `snapshot` and `creative`?

`snapshot` is the complete source object returned for the ad. `creative` is a normalized convenience layer for copy, CTA, destination, media URLs, cards, and page information. Use `snapshot` when you need a field not listed in the convenience layer.

#### Why is an ad row present without `details`?

Details are optional and limited by `detailsLimit`, which counts ads whose details are requested, including unavailable or failed details. Meta may not publish detail data for every ad. Base ads remain saved when a detail fails; inspect `enrichment.status` for `enriched`, `no_data`, `failed`, or `skipped`, and check `RUN_SUMMARY` for incomplete optional work.

### Responsible use

Use this Actor only for lawful research and respect Meta's terms, applicable privacy and intellectual-property rules, advertising regulations, and the rights of advertisers and audiences. Do not use collected data to harass people, evade access controls, or make unlawful decisions about individuals.

### Support

Open an issue in the Actor's **Issues** tab with a reproducible input and the Apify run ID when a run behaves unexpectedly.

# Actor input Schema

## `query` (type: `string`):

Required unless you provide Page ID or Facebook page URL/alias. Enter a brand, advertiser, product, or exact phrase to search in Meta Ad Library. Examples: ikea, nike, seguros de hogar, or "black friday". Leave empty when targeting a specific Facebook page.

## `country` (type: `string`):

Optional Meta market code; defaults to ES (Spain). Enter a two-letter code such as ES, US, GB, or FR, or enter ALL to search every available country. Do not enter a full country name such as Spain.

## `pageId` (type: `string`):

Optional alternative to Keyword and page URL. Enter only the numeric Facebook Page ID to collect ads from one advertiser page. Example: 244033170035. Do not paste a URL here; use Facebook page URL or alias instead.

## `pageUrl` (type: `string`):

Optional alternative to Keyword and Page ID. Enter a public Facebook page URL or exact page alias so the Actor can resolve that advertiser before collecting ads. Examples: https://www.facebook.com/IKEASpain or IKEASpain. Use a Facebook page, not an Instagram profile URL.

## `activeStatus` (type: `string`):

Optional delivery-status filter; defaults to ACTIVE. Choose ACTIVE for ads currently running, INACTIVE for ads that have stopped, or ALL for both active and inactive ads. Example: choose ACTIVE to monitor current competitor campaigns or ALL to research historical results.

## `mediaType` (type: `string`):

Optional creative-format filter; defaults to ALL. Choose IMAGE for image ads, VIDEO for video ads, NONE for ads without image or video media, or ALL for every format. Example: choose VIDEO to build a video-creative library.

## `adType` (type: `string`):

Optional Meta special-category filter; defaults to ALL. Choose ALL for every topic, EMPLOYMENT for job ads, FINANCIAL PRODUCTS AND SERVICES for financial-related ads, HOUSING for real-estate ads, or POLITICAL AND ISSUE for social issues, elections, and politics. Availability depends on the selected market. Meta's legacy CREDIT_ADS name is not a separate option; use Financial products and services. Example: choose HOUSING_ADS to focus on real-estate ads.

## `contentLanguages` (type: `array`):

Optional multi-select of Meta Ad Library language codes; choose from the dropdown instead of typing. Examples: es (Spanish), en (English), ca (Catalan), pt (Portuguese), cmn (Mandarin Chinese), or yue (Cantonese). Leave empty to include every language.

## `startDate` (type: `string`):

Optional earliest ad start date, in YYYY-MM-DD format. Enter one boundary or use it with End date for a range. Examples: 2026-01-01 or 2026-08-01. Only ads whose reported start_date is on or after this date are kept.

## `endDate` (type: `string`):

Optional latest ad start date, in YYYY-MM-DD format. Enter one boundary or use it with Start date for a range. Example: 2026-12-31. Only ads whose reported start_date is on or before this date are kept.

## `maxAds` (type: `integer`):

Optional result limit; defaults to 100 unique ads and accepts 1–5,000. The Actor deduplicates by Meta ad archive ID. See Pricing for the configured charge events applied to each delivered ad. Use 1 for a quick test, 100 for a normal search, or a higher value for a larger dataset. Example: set 1 to verify the input and output before a larger run.

## `maxPages` (type: `integer`):

Optional pagination safety limit; defaults to 100 and accepts 1–500 pages. If this limit is reached before the ad limit or source end, saved ads remain available and RUN_SUMMARY reports partial collection. Example: set 2 to limit a test to the first two source pages.

## `includeDetails` (type: `boolean`):

Optional enrichment switch; defaults to false. Set true when you need advertiser transparency, payer/beneficiary, EU audience, or page-profile details. Example: true. Each successfully returned detail payload triggers the optional advertiser_details charge event; unavailable, failed, or skipped details do not trigger that event.

## `detailsLimit` (type: `integer`):

Optional cap on ads whose details are requested; defaults to 25 and accepts 1–5,000. Unavailable or failed detail results count toward this limit. Used only when Enrich ad details is enabled. Example: set includeDetails=true and detailsLimit=1 to request details for the first eligible ad.

## Actor input object example

```json
{
  "query": "ikea",
  "country": "ES",
  "activeStatus": "ACTIVE",
  "mediaType": "ALL",
  "adType": "ALL",
  "contentLanguages": [],
  "maxAds": 1,
  "maxPages": 1,
  "includeDetails": false,
  "detailsLimit": 25
}
```

# Actor output Schema

## `results` (type: `string`):

One Dataset item per deduplicated Meta ad, including the original snapshot, normalized creative fields, collection filters, source URL, and timestamp.

## `summary` (type: `string`):

Final run status, filters, pagination termination, delivered and enrichment counts, spending-limit state, and billing counts for the active pricing model.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "query": "ikea",
    "country": "ES",
    "activeStatus": "ACTIVE",
    "maxAds": 1,
    "maxPages": 1,
    "includeDetails": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("datascraperes/facebook-ads-library-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "query": "ikea",
    "country": "ES",
    "activeStatus": "ACTIVE",
    "maxAds": 1,
    "maxPages": 1,
    "includeDetails": False,
}

# Run the Actor and wait for it to finish
run = client.actor("datascraperes/facebook-ads-library-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "query": "ikea",
  "country": "ES",
  "activeStatus": "ACTIVE",
  "maxAds": 1,
  "maxPages": 1,
  "includeDetails": false
}' |
apify call datascraperes/facebook-ads-library-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datascraperes/facebook-ads-library-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/rNY8JJHq1nPXU38AY/builds/eeuZqHRLL7CGCDMCF/openapi.json
