# Pinterest Ad Library Scraper: Ads, Dates & Reach (`tacps126/pinterest-ad-library-scraper`) Actor

Scrape the Pinterest Ads Repository (ads shown in the EU): ads by advertiser name or website with title, description, image or video, landing page, first and last date shown, reach range and the advertiser's profile. Only-new monitoring.

- **URL**: https://apify.com/tacps126/pinterest-ad-library-scraper.md
- **Developed by:** [Tapaswai Choudhary](https://apify.com/tacps126) (community)
- **Categories:** Marketing, Social media, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.46 / 1,000 pinterest ads

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

## Pinterest Ad Library Scraper: Ads, Dates & Reach

Get the ads shown on Pinterest in EU countries from the Pinterest Ads Repository, by advertiser name or
website: title, description, image or video, landing page, first and last date shown, running or stopped,
days running, reach range, and the advertiser's Pinterest profile, followers and verified badge. No Pinterest
account needed.

### At a glance

- **Find ads by advertiser:** the name as Pinterest shows it (Nike, Zalando, Sephora) or a website domain.
- **Ad creative:** title, description, image links in full size, video links, carousel cards, landing page and
  display domain.
- **Timing and reach:** first and last date shown, running now or stopped, days running, and the range of
  people reached in the EU. Long-running ads (the ones that work) stand out.
- **Who is behind the ad:** advertiser name, Pinterest profile link and picture, followers, verified badge.
- **Filters:** EU country, running now or all, date range, up to a year back.
- **Monitoring:** turn on *Only new ads* and schedule the run to get each new ad once.
- **Price:** $0.50 per 1,000 ads, below the usual Store price. A small start fee per run; lower prices on
  higher Apify plans.

### Input

```json
{
  "advertisers": ["Zalando", "Sephora"],
  "country": "FR",
  "activeStatus": "all",
  "maxAdsPerAdvertiser": 100
}
```

| Field | What it does |
|---|---|
| Advertisers | One per line: the advertiser name as Pinterest shows it, or a website domain |
| Country | An EU country code (`DE`, `FR`, `IT`, `ES`, `NL`...) |
| Ads | Running now (default) or all, from the last year |
| Shown from / until | A date (`2026-10-01`) or a period (`30 days`, `3 months`) |
| Max ads per advertiser / Max results | Limits per advertiser and per run |

### Output

One row per ad.

```json
{
  "source": "pinterest",
  "query": "Nike",
  "advertiserName": "Nike",
  "advertiserId": "516084575957422884",
  "advertiserUrl": "https://www.pinterest.com/nike/",
  "advertiserVerified": true,
  "followers": 1087212,
  "adId": "4604297393728392832",
  "adUrl": "https://www.pinterest.com/pin/4604297393728392832/",
  "format": "image",
  "firstShown": "2026-05-07",
  "lastShown": "2026-11-07",
  "isActive": true,
  "daysRunning": 185,
  "headline": "Nike Indy Sport-BH",
  "text": "In diesem eleganten Sport-BH kannst du dich ungehindert entfalten...",
  "displayUrl": "nike.com",
  "landingUrl": "https://www.nike.com/de/t/indy-sport-bh-...",
  "impressions": "10000-20000",
  "imageUrls": ["https://i.pinimg.com/originals/04/1c/60/041c60e6d94155b617765a657fc5922f.png"],
  "platforms": ["Pinterest"],
  "regions": ["DE"]
}
```

### Questions

**Which countries?** The Pinterest Ads Repository covers ads shown in EU countries, one country per run. Any
other code reads Germany.

**Why did an advertiser find nothing?** The name must be the advertiser's name on Pinterest; upper or lower
case does not matter. When it is not, the run tries the repository's own name suggestions. Some brands run no
Pinterest ads in a given country.

**How far back does it go?** A year. Set *Ads* to *All*, or set *Shown from*. The repository updates its dates
about once a week, so an ad last shown in the past two weeks counts as running.

**Can I search ad text?** No: the repository finds ads by advertiser only.

**Need Google, Meta, LinkedIn or TikTok ads too?** Competitor Ads (tacps126/competitor-ads) reads all five
libraries in one run, in the same row shape.

# Actor input Schema

## `advertisers` (type: `array`):

Advertisers to read, one per line: the advertiser name as Pinterest shows it (Nike, Zalando, Sephora) or a website domain (nike.com, read as the name nike). Upper or lower case does not matter.

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

Where the ads ran: a two-letter code of an EU country (DE, FR, IT, ES, NL...). The Pinterest Ads Repository covers EU countries only; any other code reads Germany.

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

Running now (ads the repository shows for the last few days), or every ad from the last year.

## `dateFrom` (type: `string`):

Only ads shown on or after this date (2026-10-01) or within a period (30 days, 3 months). Up to a year back.

## `dateTo` (type: `string`):

Only ads shown on or before this date (2026-11-14).

## `maxAdsPerAdvertiser` (type: `integer`):

Most ads to return for each advertiser.

## `maxItems` (type: `integer`):

Most ads per run, all advertisers together.

## `onlyNew` (type: `boolean`):

Schedule the Actor and each run returns only ads that earlier runs did not deliver, tracked per advertiser: adding a brand later does not reset the others.

## `monitorName` (type: `string`):

Optional name for the "only new" history, so several monitors can run side by side.

## `proxyConfiguration` (type: `object`):

Apify proxy on by default. Leave it as is unless you want to use your own proxy.

## `tenantId` (type: `string`):

Optional label used to keep separate histories for different clients or teams.

## `debug` (type: `boolean`):

Verbose logs.

## `delivery` (type: `object`):

Webhook: {"webhookUrl": "https://...", "format": "json" | "slack" | "discord", "onlyWhenResults": true, "includeItems": 10}. Google Sheets: {"spreadsheetId": "<id from the sheet URL>", "sheetName": "Sheet1"} plus the service account key below; share the sheet with the service account's e-mail first. Leave empty to only save results in the dataset.

## `googleServiceAccountJson` (type: `string`):

Only for Google Sheets delivery: paste the service account's JSON key. Stored encrypted; the account sees only sheets you share with it.

## Actor input object example

```json
{
  "advertisers": [
    "Nike"
  ],
  "country": "DE",
  "activeStatus": "active",
  "maxAdsPerAdvertiser": 10,
  "maxItems": 200,
  "onlyNew": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "debug": false
}
```

# Actor output Schema

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

One row per ad; the source field says which library it came from.

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

Counts per library, warnings, and whether the run stopped early.

# 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 = {
    "advertisers": [
        "Nike"
    ],
    "country": "DE",
    "maxAdsPerAdvertiser": 10,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("tacps126/pinterest-ad-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 = {
    "advertisers": ["Nike"],
    "country": "DE",
    "maxAdsPerAdvertiser": 10,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("tacps126/pinterest-ad-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 '{
  "advertisers": [
    "Nike"
  ],
  "country": "DE",
  "maxAdsPerAdvertiser": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call tacps126/pinterest-ad-library-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tacps126/pinterest-ad-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/JI2mMdhhio7LyOjyr/builds/W5srj7AN7gAsFDG0j/openapi.json
