# Pinterest Ads Library Scraper — Creatives & Targeting (`s-r/pinterest-ads-library`) Actor

Search the Pinterest Ads Library by country, dates and advertiser. Export unique ad creatives, images, videos, targeting and reach for the EU, Brazil and Turkey.

- **URL**: https://apify.com/s-r/pinterest-ads-library.md
- **Developed by:** [SR](https://apify.com/s-r) (community)
- **Categories:** Marketing, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.00 / 1,000 ads

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## Pinterest Ads Library Scraper

Search the Pinterest Ads Library and export structured ad creatives with advertiser names, campaign dates, images, videos, audience targeting and reach. Use the results to compare competitors, review a brand's public advertising, or track changes in creative strategy over time.

The Actor covers the 27 European Union countries, Brazil and Turkey. Both Pinterest pin ads and partner-delivered ads use the same output fields. The results describe the public advertising repository; they do not include private account information, campaign budgets, conversions or individual audience members.

### Pinterest Ads Library search input

Start with a country and the number of unique ads you need:

```json
{"country":"NL","limit":10}
```

`country` is required and accepts an uppercase two-letter country code. Supported EU countries are AT, BE, BG, HR, CY, CZ, DK, EE, FI, FR, DE, GR, HU, IE, IT, LV, LT, LU, MT, NL, PL, PT, RO, SK, SI, ES and SE. BR and TR cover Brazil and Turkey. Other countries are rejected before the search starts.

Add `start_date` and `end_date` as inclusive dates in `YYYY-MM-DD` form. When omitted, the end date is today in UTC and the start date is 29 days earlier. Longer ranges are handled automatically. Dates describe your repository query; the returned `first_seen` and `last_seen` values are the delivery dates Pinterest reports and can extend beyond that query window. Recent activity may appear after a delay. Historical availability is approximately one year and depends on the source.

`advertiser_name` accepts a full advertiser name. For example, `Temu Netherlands` is a complete name observed in the repository. A shorter term such as `Temu` is not a substring search and may return no matches. Pinterest handles case and accents. If a search is empty, the error message can suggest up to five matching advertiser names when the source supplies them.

`category` narrows the search using Pinterest's categories, such as BEAUTY, HOME_DECOR, TRAVEL or WOMENS_FASHION. The input form lists every supported category. `ALL` leaves the filter unset.

`gender` accepts ALL, FEMALE, MALE or UNSPECIFIED. `age` accepts ALL or a listed age bucket from AGE_18_24 through AGE_65_PLUS. These are audience inclusion filters. An ad targeting all genders can match FEMALE, and an ad targeting everyone aged 18 or older can match AGE_25_34. They do not require the advertiser to target that group exclusively.

`limit` sets the total unique ads requested, from 1 to 1,000, with a default of 100. Removed ads count toward this delivery limit. Empty detail records are skipped and do not consume the limit. Requests using a non-paying account are capped at ten delivered rows. Smaller limits are useful when checking an unfamiliar advertiser or a narrow category.

Set `include_landing_url` to true to request destination links for pin ads. This option takes longer, and some pins no longer expose a destination. Partner ads always have null destination fields. The partner transparency reference is returned separately as `external_atc_url`.

### Output and field meanings

The dataset contains one row per unique creative identifier. Key fields are `source`, `fetched_at`, `platform`, `creative_id`, `advertiser_name`, `title`, `text`, `format`, `image_url`, `video_url`, `first_seen`, `last_seen`, `days_active` and `region`.

`creative_id` remains a string: pin ads use a numeric identifier, while partner ads use a hash. `ad_kind` distinguishes `pin` from `partner`. `ad_url` opens the public repository record. `format` is derived from the available media and is null when no image or video is available. Original ad copy keeps its source language.

Audience fields include `age_buckets`, `genders`, `interests`, `list_types`, `keywords_used`, `negative_keywords_used`, `targeted_countries` and `targeted_regions`. Additional flags describe excluded locations, local inventory and commercial content. A null value means the source did not supply that field; an empty list means it supplied no entries.

`reach_by_country` maps country names to the original reach ranges. `reach_eu` contains the EU range when available. These remain strings such as `0 - 10000`; the Actor does not invent exact counts or add overlapping ranges together. Country names inside audience data are distinct from the requested ISO code in `region`.

Removed creatives remain useful for monitoring. They have `removed: true`, the source moderation status and any statement of reasons. If Pinterest omits the advertiser name, `advertiser_name` is an empty string. No replacement brand is invented. Missing media and targeting fields remain null.

The run output also reports warnings and whether collection was partial. The Actor follows continuation pages automatically. Large searches or narrow filters may stop before the requested limit when the source is slow or the run budget is exhausted. The default run timeout is 30 minutes. Check the output summary before treating a result set as complete.

### Pinterest Ads Library example output

This is a real row, fetched on 5 November 2026 for `{"country":"NL","limit":1}`. Your first row will differ because the repository changes daily.

```json
{
  "platform": "pinterest",
  "creative_id": "4601693767947549568",
  "advertiser_name": "AliExpress",
  "format": "image",
  "first_seen": "2026-09-03",
  "last_seen": "2026-11-01",
  "days_active": 60,
  "title": "Zijdelingse sierlijsten van droog carbon fiber voor Audi RS3 RS3 8Y 8.5Y 2022-2026 Sedan Sportback,",
  "image_url": "https://i.pinimg.com/474x/1b/b2/a4/1bb2a413cf85f7bc6ca8a1ed4720e77a.jpg",
  "video_url": null,
  "region": "NL",
  "ad_kind": "pin",
  "ad_url": "https://ads.pinterest.com/ads-repository/4601693767947549568/",
  "age_buckets": ["18+"],
  "genders": ["UNSPECIFIED", "FEMALE", "MALE"],
  "list_types": ["USER_LIST"],
  "keywords_used": false,
  "targeted_countries": ["Netherlands"],
  "reach_by_country": {"Netherlands": "0 - 10000"},
  "reach_eu": "0 - 10000",
  "content_commercial": true,
  "removed": false
}
```

### Pricing

The Actor charges per unique delivered ad that has a nonempty advertiser name. There is no Actor start fee. Empty searches have no ad charges, and removed ads without a name are not charged. Optional destination lookup has no separate event. The current price is shown in the Apify pricing panel; account-level Apify costs are separate.

Duplicates across pages and date ranges are removed before delivery and charging. The ten-row limit for non-paying accounts is a delivery cap, not an additional pricing event. A failed detail lookup does not become a fabricated billable row.

### Pinterest Ads Library use cases

- **Agencies:** show a client which creatives, formats and audiences competitors run in each EU market.
- **Competitor analysts:** track how long a creative stays live with `first_seen`, `last_seen` and `days_active`.
- **Brand protection:** search your own advertiser name and review ads, including removed ones, that carry your brand.
- **Regional research:** compare the same advertiser across countries with the per-country reach ranges.

### Pinterest Ads Library scraper compared with other options

The official Pinterest Ads Library website displays a grid of ad tiles. Targeting and reach are opened per ad, and it offers no structured export. Other Pinterest ad scrapers on the Store return a similar list of ads. This Actor returns one row per unique creative, so repeated pages and date ranges never double-count or double-charge, and it continues automatically through long searches. Empty searches are free and there is no start fee.

### Common uses

Create a recurring brand watch by storing daily exports and comparing creative identifiers. Review titles, media and delivery dates to see which public creatives persist. Compare audience categories and reported reach ranges across markets. Keep your query filters alongside each export so a change in country or dates does not look like a change in advertising activity.

### FAQ

#### Why does an advertiser search return nothing?

Use the complete advertiser name, widen the date range and allow for publication delay. Suggested names can help distinguish a brand from a country-specific advertiser account. A valid empty search has no ad charge.

#### Why are some dates outside my requested range?

Pinterest supplies the campaign delivery dates and may return ads whose recorded dates extend outside the query window. Those dates are preserved so you can inspect the source's timeline.

#### Does the Actor include video and partner ads?

Yes. Video URLs are included when Pinterest supplies them. Partner ads share the same row structure and have `ad_kind: partner`. Their separate transparency links are not represented as destination URLs.

#### Can I obtain exact reach or spend?

The repository supplies reach ranges, which are returned unchanged. Spend, conversions and exact audience counts are not supplied and are not estimated.

#### What happens if a destination link is unavailable?

The ad remains in the dataset with null destination fields. A missing destination does not add an extra charge. Check warnings if the optional lookup could not complete.

# Actor input Schema

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

Required country of ad delivery: any EU27 country, Brazil (BR) or Turkey (TR).

## `start_date` (type: `string`):

Inclusive YYYY-MM-DD start date. Defaults to 29 days before end_date. Long ranges are split automatically.

## `end_date` (type: `string`):

Inclusive YYYY-MM-DD end date. Defaults to today in UTC. Newly delivered ads may appear after a delay.

## `advertiser_name` (type: `string`):

Full advertiser name, not a partial match. Case and accents are handled by Pinterest. Empty matches may return suggested names.

## `category` (type: `string`):

Pinterest ad category. ALL leaves this filter unset.

## `gender` (type: `string`):

Audience inclusion filter; ads targeting all genders may match a single gender.

## `age` (type: `string`):

Audience inclusion filter; broadly targeted ads such as 18+ may match a narrower age bucket.

## `limit` (type: `integer`):

Total unique ads to deliver across all continuation requests, including removed ads. Large searches may stop before this limit when the source is slow; collection has a 30-minute run budget on Apify. Check partial and warnings.

## `include_landing_url` (type: `boolean`):

Also retrieve destination links for pin ads where available. Partner ads and unavailable pins have null links. Takes longer without extra per-ad charges.

## `cursor` (type: `string`):

Opaque next_cursor from a previous response. Resend the unchanged original search input. Apify follows continuations automatically.

## Actor input object example

```json
{
  "country": "NL",
  "category": "ALL",
  "gender": "ALL",
  "age": "ALL",
  "limit": 100,
  "include_landing_url": false
}
```

# Actor output Schema

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

One unique creative per dataset row.

## `output` (type: `string`):

Delivered counts and continuation status.

# 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 = {
    "country": "NL"
};

// Run the Actor and wait for it to finish
const run = await client.actor("s-r/pinterest-ads-library").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 = { "country": "NL" }

# Run the Actor and wait for it to finish
run = client.actor("s-r/pinterest-ads-library").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 '{
  "country": "NL"
}' |
apify call s-r/pinterest-ads-library --silent --output-dataset

```

## MCP server setup

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

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/mRvNtFqKCbSMCFOMp/builds/GmqyIOIFWv4Zzeg0p/openapi.json
