{
  "data": {
    "id": "wqm5RusmQ8kYHqorz",
    "actId": "jfPu2cZZTbpClAyDA",
    "userId": "tnBVjt3CXmcUrEE3L",
    "startedAt": "2026-11-22T03:11:22.420Z",
    "finishedAt": "2026-11-22T03:11:26.734Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CI"
    },
    "stats": {
      "durationMillis": 4232,
      "runTimeSecs": 4.232,
      "computeUnits": 0.004702222222222222,
      "imageSizeBytes": 358389248
    },
    "options": {
      "useCache": true,
      "betaPackages": false,
      "memoryMbytes": 4096,
      "diskMbytes": 8192
    },
    "createdByOrganizationMemberUserId": "F2Aeb3gE2syjqz9xC",
    "exitCode": 0,
    "inputSchema": "{\n  \"title\": \"Pinterest Ads Repository Exporter (EU DSA) Input\",\n  \"description\": \"Choose markets and dates, then export Pinterest's disclosed ads: first-party promoted Pins plus the third-party ads Pinterest serves for partner networks. Category, gender and age filters are applied by the repository for promoted Pins.\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"mode\": {\n      \"sectionCaption\": \"Mode and ad source\",\n      \"title\": \"Mode\",\n      \"type\": \"string\",\n      \"description\": \"`ads` extracts ad rows. `advertisers` resolves a partial advertiser name to the exact names the repository uses, so you can copy one into `advertiserNames`.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"ads\",\n        \"advertisers\"\n      ],\n      \"enumTitles\": [\n        \"Collect ads\",\n        \"Resolve advertiser names\"\n      ],\n      \"default\": \"ads\",\n      \"prefill\": \"ads\"\n    },\n    \"adSource\": {\n      \"title\": \"Ad source\",\n      \"type\": \"string\",\n      \"description\": \"`all` alternates Pinterest promoted Pins and third-party partner ads. Third-party ads have no Pinterest pin, so they carry an `adId` and a link to the partner's transparency page instead of a pinner, saves or comments.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"all\",\n        \"pinterest\",\n        \"thirdParty\"\n      ],\n      \"enumTitles\": [\n        \"Promoted Pins and third-party ads\",\n        \"Promoted Pins only\",\n        \"Third-party partner ads only\"\n      ],\n      \"default\": \"all\",\n      \"prefill\": \"all\"\n    },\n    \"countries\": {\n      \"sectionCaption\": \"Markets and dates\",\n      \"title\": \"Markets\",\n      \"type\": \"array\",\n      \"description\": \"Repository markets: the 27 EU member states plus Norway, Turkey and Brazil. Every selected country is queried separately; an ad shown in several selected countries is delivered once and lists all its disclosed countries.\",\n      \"editor\": \"select\",\n      \"items\": {\n        \"type\": \"string\",\n        \"enum\": [\n          \"AT\",\n          \"BE\",\n          \"BG\",\n          \"BR\",\n          \"HR\",\n          \"CY\",\n          \"CZ\",\n          \"DK\",\n          \"EE\",\n          \"FI\",\n          \"FR\",\n          \"DE\",\n          \"GR\",\n          \"HU\",\n          \"IE\",\n          \"IT\",\n          \"LV\",\n          \"LT\",\n          \"LU\",\n          \"MT\",\n          \"NL\",\n          \"NO\",\n          \"PL\",\n          \"PT\",\n          \"RO\",\n          \"SK\",\n          \"SI\",\n          \"ES\",\n          \"SE\",\n          \"TR\"\n        ],\n        \"enumTitles\": [\n          \"Austria\",\n          \"Belgium\",\n          \"Bulgaria\",\n          \"Brazil\",\n          \"Croatia\",\n          \"Cyprus\",\n          \"Czech Republic\",\n          \"Denmark\",\n          \"Estonia\",\n          \"Finland\",\n          \"France\",\n          \"Germany\",\n          \"Greece\",\n          \"Hungary\",\n          \"Ireland\",\n          \"Italy\",\n          \"Latvia\",\n          \"Lithuania\",\n          \"Luxembourg\",\n          \"Malta\",\n          \"Netherlands\",\n          \"Norway\",\n          \"Poland\",\n          \"Portugal\",\n          \"Romania\",\n          \"Slovakia\",\n          \"Slovenia\",\n          \"Spain\",\n          \"Sweden\",\n          \"Turkey\"\n        ]\n      },\n      \"default\": [\n        \"DE\"\n      ],\n      \"prefill\": [\n        \"DE\"\n      ]\n    },\n    \"startDate\": {\n      \"title\": \"Start date (inclusive)\",\n      \"type\": \"string\",\n      \"description\": \"First day the ad was shown, `YYYY-MM-DD`. Leave blank for seven days before today. The repository retains about twelve months and currently starts on 2025-11-14.\",\n      \"editor\": \"datepicker\"\n    },\n    \"endDate\": {\n      \"title\": \"End date (inclusive)\",\n      \"type\": \"string\",\n      \"description\": \"Last day the ad was shown, `YYYY-MM-DD`. Leave blank for today. Long ranges are split into 32-day windows for promoted Pins and 1-day windows for third-party ads, then deduplicated.\",\n      \"editor\": \"datepicker\"\n    },\n    \"adCategory\": {\n      \"sectionCaption\": \"Targeting filters\",\n      \"title\": \"Ad category\",\n      \"type\": \"string\",\n      \"description\": \"Repository ad category, applied to promoted Pins. Third-party ads are skipped when a category is selected because the repository does not return their category.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"ALL\",\n        \"ANIMALS\",\n        \"ARCHITECTURE\",\n        \"ART\",\n        \"BEAUTY\",\n        \"CHILDRENS_FASHION\",\n        \"DESIGN\",\n        \"DIY_AND_CRAFTS\",\n        \"EDUCATION\",\n        \"ELECTRONICS\",\n        \"ENTERTAINMENT\",\n        \"EVENT_PLANNING\",\n        \"FINANCE\",\n        \"FOOD_AND_DRINKS\",\n        \"HEALTH\",\n        \"HOME_DECOR\",\n        \"GARDENING\",\n        \"MENS_FASHION\",\n        \"PARENTING\",\n        \"QUOTES\",\n        \"SPORT\",\n        \"TRAVEL\",\n        \"VEHICLES\",\n        \"WEDDING\",\n        \"WOMENS_FASHION\",\n        \"OTHER\"\n      ],\n      \"enumTitles\": [\n        \"All categories\",\n        \"Animals\",\n        \"Architecture\",\n        \"Art\",\n        \"Beauty\",\n        \"Children's fashion\",\n        \"Design\",\n        \"DIY and crafts\",\n        \"Education\",\n        \"Electronics\",\n        \"Entertainment\",\n        \"Event planning\",\n        \"Finance\",\n        \"Food and drinks\",\n        \"Health\",\n        \"Home decor\",\n        \"Gardening\",\n        \"Men's fashion\",\n        \"Parenting\",\n        \"Quotes\",\n        \"Sport\",\n        \"Travel\",\n        \"Vehicles\",\n        \"Wedding\",\n        \"Women's fashion\",\n        \"Other\"\n      ],\n      \"default\": \"ALL\",\n      \"prefill\": \"ALL\"\n    },\n    \"gender\": {\n      \"title\": \"Gender\",\n      \"type\": \"string\",\n      \"description\": \"Gender targeting bucket, applied to promoted Pins. The repository returns only the three disclosed buckets; third-party ads have no disclosed gender.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"ALL\",\n        \"FEMALE\",\n        \"MALE\",\n        \"UNSPECIFIED\"\n      ],\n      \"enumTitles\": [\n        \"All genders\",\n        \"Female\",\n        \"Male\",\n        \"Unspecified\"\n      ],\n      \"default\": \"ALL\",\n      \"prefill\": \"ALL\"\n    },\n    \"ageBucket\": {\n      \"title\": \"Age bucket\",\n      \"type\": \"string\",\n      \"description\": \"Age targeting bucket, applied to promoted Pins. Third-party ads disclose no age bucket.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"ALL\",\n        \"AGE_18_24\",\n        \"AGE_25_34\",\n        \"AGE_35_44\",\n        \"AGE_45_49\",\n        \"AGE_50_54\",\n        \"AGE_55_64\",\n        \"AGE_65_PLUS\"\n      ],\n      \"enumTitles\": [\n        \"All ages\",\n        \"18-24\",\n        \"25-34\",\n        \"35-44\",\n        \"45-49\",\n        \"50-54\",\n        \"55-64\",\n        \"65+\"\n      ],\n      \"default\": \"ALL\",\n      \"prefill\": \"ALL\"\n    },\n    \"advertiserNames\": {\n      \"title\": \"Advertiser names (exact)\",\n      \"type\": \"array\",\n      \"description\": \"Exact repository advertiser names such as `EtsyFR` or `Genesis Group AG`, one per line; matching is case-insensitive. Run `mode=advertisers` first if you only know part of a name. Empty means every advertiser.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": [],\n      \"items\": {\n        \"type\": \"string\"\n      }\n    },\n    \"advertiserSearch\": {\n      \"title\": \"Advertiser name fragment (advertisers mode)\",\n      \"type\": \"string\",\n      \"description\": \"Partial name to resolve in `advertisers` mode, for example `etsy` or `ikea`. The repository returns up to about 100 matching names. Leave blank to list the first names it holds.\",\n      \"editor\": \"textfield\",\n      \"default\": \"\",\n      \"prefill\": \"\"\n    },\n    \"adIds\": {\n      \"sectionCaption\": \"Selection and limits\",\n      \"title\": \"Specific ad ids or links\",\n      \"type\": \"array\",\n      \"description\": \"Optional pin ids, third-party ad ids, or repository links such as `https://ads.pinterest.com/ads-repository/4610700951660680576/`. When non-empty, the actor fetches exactly these ads and ignores market, date, advertiser, category, gender and age filters.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": [],\n      \"items\": {\n        \"type\": \"string\"\n      }\n    },\n    \"searchTerms\": {\n      \"title\": \"Keyword filter\",\n      \"type\": \"array\",\n      \"description\": \"Keep ads whose title, description, advertiser name, landing URL or domain, disclosed country, interest or hashtag contains any of these terms (case-insensitive). Empty disables the filter.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": [],\n      \"items\": {\n        \"type\": \"string\"\n      }\n    },\n    \"minReach\": {\n      \"title\": \"Minimum reach\",\n      \"type\": \"integer\",\n      \"description\": \"Drop ads whose reach lower bound is below this number. The lower bound is the EU reach band when disclosed, otherwise the highest per-country band. 0 disables the filter.\",\n      \"editor\": \"number\",\n      \"default\": 0,\n      \"prefill\": 0,\n      \"minimum\": 0,\n      \"maximum\": 1000000000000\n    },\n    \"maxDaysSinceLastShown\": {\n      \"title\": \"Shown within the last N days\",\n      \"type\": \"integer\",\n      \"description\": \"Keep ads whose last shown date is at most N days before today. 3 keeps ads that are likely still running; 0 disables the filter. The repository's dates lag about two days.\",\n      \"editor\": \"number\",\n      \"default\": 0,\n      \"prefill\": 0,\n      \"minimum\": 0,\n      \"maximum\": 3650\n    },\n    \"maxAdsPerAdvertiser\": {\n      \"title\": \"Maximum ads per advertiser\",\n      \"type\": \"integer\",\n      \"description\": \"Cap rows per advertiser after filters. 0 means no cap.\",\n      \"editor\": \"number\",\n      \"default\": 0,\n      \"prefill\": 0,\n      \"minimum\": 0,\n      \"maximum\": 10000\n    },\n    \"maxItems\": {\n      \"title\": \"Maximum ads\",\n      \"type\": \"integer\",\n      \"description\": \"Hard cap on dataset rows. Reading stops as soon as this many ads pass the filters.\",\n      \"editor\": \"number\",\n      \"default\": 100,\n      \"prefill\": 3,\n      \"minimum\": 1,\n      \"maximum\": 10000\n    },\n    \"includeAdDetails\": {\n      \"sectionCaption\": \"Enrichment and reliability\",\n      \"title\": \"Fetch ad details\",\n      \"type\": \"boolean\",\n      \"description\": \"Fetch each ad's detail record (the advertiser name, full targeting, reach bands, flight dates and moderation fields). Turning it off saves one request per ad but leaves third-party ads without dates or reach and promoted Pins without the official advertiser name.\",\n      \"default\": true,\n      \"prefill\": true\n    },\n    \"includePinDetails\": {\n      \"title\": \"Fetch pin details\",\n      \"type\": \"boolean\",\n      \"description\": \"Fetch the public Pin record for each promoted Pin: advertiser account, landing link and domain, saves, comments, reactions, hashtags, story pages and the reliable MP4/HLS video variants. Pins deleted from Pinterest since the archive are reported and skipped without failing the run.\",\n      \"default\": true,\n      \"prefill\": true\n    },\n    \"onlyNewAds\": {\n      \"title\": \"Only new ads (monitor)\",\n      \"type\": \"boolean\",\n      \"description\": \"Remember the ads delivered under `monitorStoreName` and skip them on later runs. New rows carry `changeType=NEW`, `firstSeenAt`, `lastSeenAt` and `contentHash`.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"monitorStoreName\": {\n      \"title\": \"Monitor store name\",\n      \"type\": \"string\",\n      \"description\": \"Key-value store used by the only-new monitor. Give every scheduled run of the same watch the same name.\",\n      \"editor\": \"textfield\",\n      \"default\": \"pinterest-ads-repository-monitor\",\n      \"prefill\": \"pinterest-ads-repository-monitor\"\n    },\n    \"retries\": {\n      \"title\": \"Retries\",\n      \"type\": \"integer\",\n      \"description\": \"Extra attempts after rate limits (HTTP 429), over-capacity answers and transient errors, with exponential backoff.\",\n      \"editor\": \"number\",\n      \"default\": 5,\n      \"prefill\": 5,\n      \"minimum\": 0,\n      \"maximum\": 10\n    },\n    \"requestDelayMs\": {\n      \"title\": \"Delay between requests (ms)\",\n      \"type\": \"integer\",\n      \"description\": \"Minimum pause between two repository requests. The repository rate-limits bursts; 300 ms is a safe default.\",\n      \"editor\": \"number\",\n      \"default\": 800,\n      \"prefill\": 800,\n      \"minimum\": 0,\n      \"maximum\": 5000\n    },\n    \"proxyConfiguration\": {\n      \"title\": \"Proxy configuration\",\n      \"type\": \"object\",\n      \"description\": \"Optional. The actor works without a proxy; use one only if your own environment requires it.\",\n      \"editor\": \"proxy\",\n      \"default\": {\n        \"useApifyProxy\": false\n      },\n      \"prefill\": {\n        \"useApifyProxy\": false\n      }\n    },\n    \"maxPages\": {\n      \"title\": \"Maximum list pages\",\n      \"type\": \"integer\",\n      \"description\": \"Safety budget for repository list pages across all markets and sources. 0 means no limit. Raise it for exhaustive scans of a large window; lower it to bound a heavily filtered run.\",\n      \"editor\": \"number\",\n      \"default\": 50,\n      \"prefill\": 50,\n      \"minimum\": 0,\n      \"maximum\": 100000\n    }\n  }\n}",
    "readme": "# Pinterest Ads Repository Exporter (EU DSA)\n\nPinterest publishes the ads it serves in the European Union, Norway, Turkey and Brazil through its public Digital Services Act Ads Repository at `ads.pinterest.com/ads-repository`. This actor turns that repository into a clean dataset: one row per disclosed ad, with the advertiser, the creative, the flight dates, the reach band per country, the targeting Pinterest discloses and the moderation fields it publishes.\n\nIt reads the repository the same way the public page does — an anonymous session, the page's own `ApiResource` endpoints and the public Pin resource — so there is no Pinterest login, developer app, cookie, API key or paid proxy to set up.\n\nTwo ad sources are included:\n\n- **Promoted Pins** (`adSource=pinterest`): Pinterest's own ads, with a pin id, the advertiser's Pinterest account, saves, comments and the landing link.\n- **Third-party partner ads** (`adSource=thirdParty`): ads Pinterest serves for other ad networks. They have a hashed `adId`, a link to the partner's transparency page and no Pinterest pinner or engagement counts.\n\n`adSource=all` alternates pages from both sources, so one run can deliver a mixed sample. Norway is covered through the third-party source; the promoted-Pin source has no Norwegian rows.\n\n## Quick start\n\n1. Keep the prefill: Germany, last 7 days, three ads. It is the smallest run that still returns full records.\n2. Raise `maxItems`, add markets from the 30-market list and choose a date window. Long ranges are split into 32-day slices for promoted Pins and 1-day slices for third-party ads, then deduplicated.\n3. Optional: set `advertiserNames` to exact repository names (run `mode=advertisers` first if you only know part of a name), pick a category, gender or age bucket, add a keyword filter, or paste specific ad ids/links into `adIds`.\n4. For a recurring watch, turn on `onlyNewAds` and keep the same `monitorStoreName`; later runs return only ads they have not delivered before.\n\n## What you get\n\nEach ad row has `recordType=ad` and `adSource` telling you which source it came from. Advertiser suggestions from `mode=advertisers` have `recordType=advertiserSuggestion`.\n\n| Field group | Fields | What it means |\n|---|---|---|\n| Identity | `adKey`, `adSource`, `pinId` or `adId`, `adUrl`, `pinUrl` | Stable key (`pin:<id>` or `ad:<id>`), repository detail page, and the public Pin page for promoted Pins. |\n| Advertiser | `advertiserName`, `advertiserNames`, `advertiserNameSource` | The repository's own advertiser name from the ad detail; falls back to the Pin account for deleted pins. |\n| Pinterest account | `pinnerUsername`, `pinnerFullName`, `pinnerId`, `pinnerUrl`, `pinnerImageUrl`, `pinnerFollowerCount`, `pinnerVerified`, `pinnerVerifiedMerchant`, `pinnerDomainUrl`, `pinnerDomainVerified`, `pinnerAdsOnlyProfile` | The advertiser's public Pinterest account, when the Pin still exists. |\n| Creative | `title`, `description`, `imageUrl`, `imageWidth`, `imageHeight`, `imageOriginalUrl`, `hashtags`, `storyPinPages` | Pin text, highest-resolution image and story-page blocks. |\n| Video | `videoUrl`, `videoHlsUrl`, `videoThumbnailUrl`, `videoVariants` | Reliable MP4 and HLS variants from the Pin record; the raw `mc/720p` link Pinterest returns in the ad detail is often hotlink-blocked and is not used. |\n| Landing | `link`, `domain`, `destinationUrls`, `destinationDomain` | The Pin's landing URL and domain plus the destination URLs the DSA detail discloses. |\n| Dates | `firstShownDate`, `lastShownDate`, `deliveryDays`, `daysSinceLastShown` | First and last day the ad was shown, the calendar span in days, and how long ago it last ran. |\n| Markets | `countries`, `countryCodes`, `advertiserCountries`, `advertiserCountryCodes`, `searchCountry`, `searchCountryName` | Countries the ad ran in (promoted Pins), the advertiser's disclosed countries (third-party ads), and the market that returned the row. |\n| Reach | `reachEu`, `reachEuMin`, `reachEuMax`, `reachByCountry`, `reachMin`, `reachMax` | Pinterest publishes reach in 10,000-user bands, not exact people. `reachMin`/`reachMax` use the EU band when present, otherwise the highest per-country band. |\n| Targeting | `ages`, `genders`, `regions`, `metros`, `postalCodes`, `hasExcludedLocations`, `interests`, `pinnerListTypes`, `devices`, `internetServiceProviders`, `contextualSignals`, `geoLocation`, `dsaDeviceTargeting`, `keywordsUsed`, `negativeKeywordsUsed`, `contentCommercial`, `localInventory` | Every targeting field the repository discloses for that ad, omitted when Pinterest publishes nothing. |\n| Moderation | `reviewStatus`, `statementOfReasons`, `violationSource`, `violationDecisionMeans` | Populated for the small share of disapproved ads that carry a statement of reasons. |\n| Localisation | `isVerifiedMerchant`, `usePinterestAi`, `archivalInfo` | Extra fields Pinterest sets on some ads, mostly Brazilian inventory. |\n| Engagement | `savedPinCount`, `commentCount`, `reactionCounts`, `shareCount`, `pinCreatedAt`, `siteName` | Public Pin counters and creation date; 0 is a real value and is kept. |\n| Third-party extras | `externalAtcUrl`, `sourceVerticalId`, `creativeId`, `isRemovedCreative` | Partner transparency link and partner ad metadata. |\n| Enrichment | `enrichmentStatus`, `qualityFlags` | `full`, `partial` or `listOnly`, plus flags such as `pinDeleted`, `adDetailUnavailable` or `advertiserNameMissing`. |\n| Monitor | `changeType`, `firstSeenAt`, `lastSeenAt`, `contentHash` | Added when `onlyNewAds` is on. |\n| Provenance | `scrapedAt` | UTC timestamp of the run that produced the row. |\n\nEmpty values are omitted at every depth: a row never contains `null`, `\"\"`, `[]` or `{}`. `false` and `0` are kept because they are disclosed values.\n\n### Fill rates measured on 2026-11-15\n\nPromoted Pins, 128 ads from France, Germany, Spain, Poland, Brazil, Turkey, Italy and the Netherlands (20 Oct – 14 Nov 2026), each with the ad detail and the public Pin record:\n\n| Field | Filled | Note |\n|---|---|---|\n| dates, countries, `user_count_by_country` | 128/128 | The core DSA record. |\n| advertiser name | 126/128 | The two missing ones are disapproved ads with no advertiser name. |\n| EU reach band | 105/128 | Per-country reach is filled for all 128. |\n| live Pinterest Pin (pinner, link, saves, comments) | 114/128 | 14 pins (10.9%) were deleted after the archive kept the ad; the DSA row still ships. |\n| interests | 5/128 | Sparse by nature. |\n| pinner list types | 29/128 | Audience-list disclosure. |\n| destination URLs | 11/128 | The Pin's `link` covers landing URLs for live pins. |\n| regions | 2/128 | Devices, carriers, contextual signals, geolocation and dynamic images were not present in this sample. |\n| statement of reasons / review status | 2/128 | About 1 in 64 ads here. |\n\nThird-party ads, 40 ad details from France and Norway:\n\n| Field | Filled | Note |\n|---|---|---|\n| title, description, image, advertiser, dates, `geo_location` | 40/40 | Core partner record. |\n| reach by country | 36/40 | Pinterest publishes no EU total for third-party ads. |\n| interests, contextual signals, external transparency link | 18/40 | Partner disclosures. |\n| regions / countries / metros | 9/40, 9/40, 7/40 | Only some partner ads disclose them. |\n| ages, genders, EU reach | 0/40 | Not published for third-party ads. |\n\n## Modes\n\n| Mode | What it does |\n|---|---|\n| `ads` | Collect ad rows for the selected markets, dates, advertisers and targeting filters, or fetch the exact ids/links in `adIds`. |\n| `advertisers` | Resolve a partial advertiser name (`etsy`, `ikea`) into the exact names the repository uses, ready to paste into `advertiserNames`. |\n\n## Inputs\n\n| Input | Type | Default | What it does |\n|---|---|---|---|\n| `mode` | select | `ads` | `ads` or `advertisers`. |\n| `adSource` | select | `all` | `all`, `pinterest` or `thirdParty`. |\n| `countries` | multi-select | `[\"DE\"]` | Any of the 30 repository markets. |\n| `startDate` / `endDate` | date | – (blank = last 7 days) | Inclusive flight-date window, `YYYY-MM-DD`. |\n| `adCategory` | select | `ALL` | Pinterest ad category; promoted Pins only. |\n| `gender` | select | `ALL` | Female, male or unspecified; promoted Pins only. |\n| `ageBucket` | select | `ALL` | 18-24 through 65+; promoted Pins only. |\n| `advertiserNames` | list | empty | Exact repository advertiser names, case-insensitive. Empty means all. |\n| `advertiserSearch` | text | empty | Partial name for `mode=advertisers`. |\n| `adIds` | list | empty | Pin ids, third-party ad ids or repository links. When set, filters are ignored. |\n| `searchTerms` | list | empty | Case-insensitive match on title, description, advertiser, landing URL/domain, country, interest or hashtag. |\n| `minReach` | integer | 0 | Minimum reach lower bound; 0 disables. |\n| `maxDaysSinceLastShown` | integer | 0 | Keep ads last shown within N days; 0 disables. |\n| `maxAdsPerAdvertiser` | integer | 0 | Per-advertiser cap; 0 disables. |\n| `maxItems` | integer | 100 | Hard cap on dataset rows. Prefill is 3. |\n| `maxPages` | integer | 50 | Safety budget for list pages across all markets and sources; 0 means no limit. |\n| `includeAdDetails` | boolean | true | Fetch advertiser, full targeting, reach, dates and moderation per ad. |\n| `includePinDetails` | boolean | true | Fetch the Pinterest account, landing link, engagement and video variants per promoted Pin. |\n| `onlyNewAds` | boolean | false | Skip ads already delivered under `monitorStoreName`. |\n| `monitorStoreName` | text | `pinterest-ads-repository-monitor` | Key-value store for the only-new memory. |\n| `retries` | integer | 5 | Extra attempts after 429/5xx and transient errors. |\n| `requestDelayMs` | integer | 800 | Minimum pause between requests. |\n| `proxyConfiguration` | proxy | no proxy | Optional; the actor works directly. |\n\n## Output example\n\nA promoted Pin, trimmed:\n\n```json\n{\n  \"recordType\": \"ad\",\n  \"adSource\": \"pinterest\",\n  \"adKey\": \"pin:4610700951660680576\",\n  \"pinId\": \"4610700951660680576\",\n  \"adUrl\": \"https://ads.pinterest.com/ads-repository/4610700951660680576/\",\n  \"advertiserName\": \"Amazon.fr\",\n  \"advertiserNames\": [\"Amazon.fr\"],\n  \"title\": \"Traxxas TRX-4M F150 1/18 MARRON AVEC ACCUS/CHARGEUR\",\n  \"imageUrl\": \"https://i.pinimg.com/originals/4b/b5/44/4bb544766e7fd192d8a78f31b2ed717c.jpg\",\n  \"link\": \"https://www.amazon.fr/Traxxas-TRX-4M-MARRON-ACCUS-CHARGEUR/dp/B0CP3QTL5V\",\n  \"domain\": \"amazon.fr\",\n  \"firstShownDate\": \"2026-05-29\",\n  \"lastShownDate\": \"2026-11-07\",\n  \"deliveryDays\": 163,\n  \"countries\": [\"France\"],\n  \"countryCodes\": [\"FR\"],\n  \"reachEu\": \"20000 - 30000\",\n  \"reachEuMin\": 20000,\n  \"reachEuMax\": 30000,\n  \"reachByCountry\": {\"France\": \"20000 - 30000\"},\n  \"ages\": [\"18+\"],\n  \"genders\": [\"UNSPECIFIED\", \"FEMALE\", \"MALE\"],\n  \"contentCommercial\": true,\n  \"pinnerUsername\": \"amazonshoppingfr\",\n  \"pinnerFollowerCount\": 21236,\n  \"savedPinCount\": 7,\n  \"commentCount\": 0,\n  \"enrichmentStatus\": \"full\"\n}\n```\n\nA third-party ad, trimmed:\n\n```json\n{\n  \"recordType\": \"ad\",\n  \"adSource\": \"thirdParty\",\n  \"adKey\": \"ad:ffffda48f69ac1b071bde8236cb362ee9f4a5d88140453de147f7a61e8121c06\",\n  \"adId\": \"ffffda48f69ac1b071bde8236cb362ee9f4a5d88140453de147f7a61e8121c06\",\n  \"adUrl\": \"https://ads.pinterest.com/ads-repository/ffffda48f69ac1b071bde8236cb362ee9f4a5d88140453de147f7a61e8121c06/\",\n  \"advertiserName\": \"Booking.com\",\n  \"title\": \"Booking.com: Hôtels et voyage\",\n  \"searchCountry\": \"FR\",\n  \"firstShownDate\": \"2026-11-01\",\n  \"lastShownDate\": \"2026-11-13\",\n  \"reachByCountry\": {\"Spain\": \"0 - 10000\", \"France\": \"0 - 10000\"},\n  \"interests\": [\"OTHER\"],\n  \"contextualSignals\": \"CRITERIA_INCLUDED_AND_EXCLUDED\",\n  \"externalAtcUrl\": \"https://adstransparency.google.com/advertiser/AR02934798844673654785/creative/CR08635221706047489\"\n}\n```\n\n## How it works\n\n- The public page sets an anonymous `csrftoken` on `GET /ads-repository/`. Every request then calls `/resource/ApiResource/get/` with the page's own handler (`sterling/ads-repository.js`) and the JSON payload the page itself sends.\n- The ad list endpoint accepts one market and a date window. This actor walks one market at a time, splits the requested range into the server's accepted window sizes, and follows the returned `bookmark` until the page budget or `maxItems` is reached.\n- Promoted Pins get two enrichment calls: the ad detail endpoint (advertiser, targeting, reach, dates, moderation) and the public `PinResource` (account, landing link, saves, comments, media, video variants). Third-party ads get the detail endpoint only.\n- Rows are deduplicated by `pin:<id>` or `ad:<id>`, so an ad that appears in several pages, date slices or markets is delivered once. A third-party ad seen on several days is also delivered once.\n- Pins deleted from Pinterest since the archive kept the ad are expected: the row keeps the DSA record, adds `pinDeleted` and simply has no pinner or engagement fields.\n- The repository rate-limits bursts. Requests are paced (`requestDelayMs`, 800 ms by default), and 429/5xx answers are retried with backoff. A `maxPages` budget (50 by default) bounds heavily filtered scans.\n\n## Limits\n\n- **Coverage is 30 markets.** There is no US, UK or global version. The repository refuses unsupported country codes.\n- **About 12 months of history.** It is a rolling archive and removes ads as they age out. In this run the earliest day with data was 2025-11-14. Earlier windows return nothing rather than an error.\n- **Reach is a band, not a count.** Pinterest publishes ranges such as `0 - 10000` and `20000 - 30000`. The actor exposes the range and its bounds; it does not invent a midpoint.\n- **Third-party ads are thinner.** They have no ages, genders, EU reach total, pinner, saves or comments, and category/gender/age filters do not apply to them. When a category, gender or age filter is set with `adSource=all`, the actor skips third-party ads and says so in the run status. With `includeAdDetails=false`, third-party rows carry no dates or reach, so the date and reach filters cannot be checked for them.\n- **Deleted pins lose their Pin fields.** About 11% of a recent sample had been removed from Pinterest. Their DSA record still ships; the `pinDeleted` flag and `partial` enrichment status make this explicit.\n- **Sparse disclosures stay sparse.** Devices, carriers, contextual signals, geolocation, dynamic images and archival info are absent from most promoted-Pin records. They are filled when Pinterest publishes them, not fabricated.\n- **Dates lag.** The repository's last-shown dates trail the live ad state by about two days; future or too-recent days can be empty.\n- **One market per query.** Multi-market runs are a sequence of per-market queries. With a small `maxItems`, rows come from the first markets in your list.\n- **Page budget.** The default 50-page budget is plenty for a few hundred rows but not for an exhaustive read of a busy market. Set `maxPages` higher (or 0) when you need every page.\n- **No spend, impressions or payer.** Pinterest does not disclose them in this repository, so they are not fields in this actor.\n\n## FAQ\n\n**Do I need a Pinterest account or cookies?** No. The actor uses the anonymous session the public page creates.\n\n**Do I need an Apify proxy?** No. It runs directly. The optional proxy input exists only for environments that require one.\n\n**Why did an advertiser return no ads?** The name must match the repository's own advertiser name. Run `mode=advertisers` with a fragment of the name, then paste the exact result into `advertiserNames`. The run status also lists suggestions when an exact name returns nothing.\n\n**Why are there fewer rows than I expected?** The repository has no total count and pages in 24-row blocks. `maxItems` and `maxPages` stop the walk; per-market and per-source streams are interleaved, and deduplication removes repeats. Raise both or narrow to one market and one source for a complete read of that slice.\n\n**How do I monitor new competitor ads?** Set `onlyNewAds=true` and keep `monitorStoreName` the same across scheduled runs. Only ads not delivered before are emitted, each with `changeType=NEW`.\n\n**Can I fetch an ad I saw on the site?** Yes. Paste the pin id, the third-party ad id or the full `ads.pinterest.com/ads-repository/...` link into `adIds`.\n\n**Why is `videoUrl` sometimes missing?** The raw video link in the ad detail is often hotlink-blocked. The actor uses the public Pin record's MP4/HLS variants, which are accessible. Deleted pins have no Pin record, so they have no video.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "pinterest-ads-repository",
      "title": "Pinterest Ads Repository Exporter (EU DSA)",
      "description": "Export Pinterest's public EU Digital Services Act Ads Repository across 30 markets: promoted Pins and third-party ads with advertiser accounts, creative media, flight dates, per-country reach, disclosed targeting and moderation status. No login or proxy.",
      "version": "1.0",
      "buildTag": "latest",
      "dockerfile": "./Dockerfile",
      "readme": "# Pinterest Ads Repository Exporter (EU DSA)\n\nPinterest publishes the ads it serves in the European Union, Norway, Turkey and Brazil through its public Digital Services Act Ads Repository at `ads.pinterest.com/ads-repository`. This actor turns that repository into a clean dataset: one row per disclosed ad, with the advertiser, the creative, the flight dates, the reach band per country, the targeting Pinterest discloses and the moderation fields it publishes.\n\nIt reads the repository the same way the public page does — an anonymous session, the page's own `ApiResource` endpoints and the public Pin resource — so there is no Pinterest login, developer app, cookie, API key or paid proxy to set up.\n\nTwo ad sources are included:\n\n- **Promoted Pins** (`adSource=pinterest`): Pinterest's own ads, with a pin id, the advertiser's Pinterest account, saves, comments and the landing link.\n- **Third-party partner ads** (`adSource=thirdParty`): ads Pinterest serves for other ad networks. They have a hashed `adId`, a link to the partner's transparency page and no Pinterest pinner or engagement counts.\n\n`adSource=all` alternates pages from both sources, so one run can deliver a mixed sample. Norway is covered through the third-party source; the promoted-Pin source has no Norwegian rows.\n\n## Quick start\n\n1. Keep the prefill: Germany, last 7 days, three ads. It is the smallest run that still returns full records.\n2. Raise `maxItems`, add markets from the 30-market list and choose a date window. Long ranges are split into 32-day slices for promoted Pins and 1-day slices for third-party ads, then deduplicated.\n3. Optional: set `advertiserNames` to exact repository names (run `mode=advertisers` first if you only know part of a name), pick a category, gender or age bucket, add a keyword filter, or paste specific ad ids/links into `adIds`.\n4. For a recurring watch, turn on `onlyNewAds` and keep the same `monitorStoreName`; later runs return only ads they have not delivered before.\n\n## What you get\n\nEach ad row has `recordType=ad` and `adSource` telling you which source it came from. Advertiser suggestions from `mode=advertisers` have `recordType=advertiserSuggestion`.\n\n| Field group | Fields | What it means |\n|---|---|---|\n| Identity | `adKey`, `adSource`, `pinId` or `adId`, `adUrl`, `pinUrl` | Stable key (`pin:<id>` or `ad:<id>`), repository detail page, and the public Pin page for promoted Pins. |\n| Advertiser | `advertiserName`, `advertiserNames`, `advertiserNameSource` | The repository's own advertiser name from the ad detail; falls back to the Pin account for deleted pins. |\n| Pinterest account | `pinnerUsername`, `pinnerFullName`, `pinnerId`, `pinnerUrl`, `pinnerImageUrl`, `pinnerFollowerCount`, `pinnerVerified`, `pinnerVerifiedMerchant`, `pinnerDomainUrl`, `pinnerDomainVerified`, `pinnerAdsOnlyProfile` | The advertiser's public Pinterest account, when the Pin still exists. |\n| Creative | `title`, `description`, `imageUrl`, `imageWidth`, `imageHeight`, `imageOriginalUrl`, `hashtags`, `storyPinPages` | Pin text, highest-resolution image and story-page blocks. |\n| Video | `videoUrl`, `videoHlsUrl`, `videoThumbnailUrl`, `videoVariants` | Reliable MP4 and HLS variants from the Pin record; the raw `mc/720p` link Pinterest returns in the ad detail is often hotlink-blocked and is not used. |\n| Landing | `link`, `domain`, `destinationUrls`, `destinationDomain` | The Pin's landing URL and domain plus the destination URLs the DSA detail discloses. |\n| Dates | `firstShownDate`, `lastShownDate`, `deliveryDays`, `daysSinceLastShown` | First and last day the ad was shown, the calendar span in days, and how long ago it last ran. |\n| Markets | `countries`, `countryCodes`, `advertiserCountries`, `advertiserCountryCodes`, `searchCountry`, `searchCountryName` | Countries the ad ran in (promoted Pins), the advertiser's disclosed countries (third-party ads), and the market that returned the row. |\n| Reach | `reachEu`, `reachEuMin`, `reachEuMax`, `reachByCountry`, `reachMin`, `reachMax` | Pinterest publishes reach in 10,000-user bands, not exact people. `reachMin`/`reachMax` use the EU band when present, otherwise the highest per-country band. |\n| Targeting | `ages`, `genders`, `regions`, `metros`, `postalCodes`, `hasExcludedLocations`, `interests`, `pinnerListTypes`, `devices`, `internetServiceProviders`, `contextualSignals`, `geoLocation`, `dsaDeviceTargeting`, `keywordsUsed`, `negativeKeywordsUsed`, `contentCommercial`, `localInventory` | Every targeting field the repository discloses for that ad, omitted when Pinterest publishes nothing. |\n| Moderation | `reviewStatus`, `statementOfReasons`, `violationSource`, `violationDecisionMeans` | Populated for the small share of disapproved ads that carry a statement of reasons. |\n| Localisation | `isVerifiedMerchant`, `usePinterestAi`, `archivalInfo` | Extra fields Pinterest sets on some ads, mostly Brazilian inventory. |\n| Engagement | `savedPinCount`, `commentCount`, `reactionCounts`, `shareCount`, `pinCreatedAt`, `siteName` | Public Pin counters and creation date; 0 is a real value and is kept. |\n| Third-party extras | `externalAtcUrl`, `sourceVerticalId`, `creativeId`, `isRemovedCreative` | Partner transparency link and partner ad metadata. |\n| Enrichment | `enrichmentStatus`, `qualityFlags` | `full`, `partial` or `listOnly`, plus flags such as `pinDeleted`, `adDetailUnavailable` or `advertiserNameMissing`. |\n| Monitor | `changeType`, `firstSeenAt`, `lastSeenAt`, `contentHash` | Added when `onlyNewAds` is on. |\n| Provenance | `scrapedAt` | UTC timestamp of the run that produced the row. |\n\nEmpty values are omitted at every depth: a row never contains `null`, `\"\"`, `[]` or `{}`. `false` and `0` are kept because they are disclosed values.\n\n### Fill rates measured on 2026-11-15\n\nPromoted Pins, 128 ads from France, Germany, Spain, Poland, Brazil, Turkey, Italy and the Netherlands (20 Oct – 14 Nov 2026), each with the ad detail and the public Pin record:\n\n| Field | Filled | Note |\n|---|---|---|\n| dates, countries, `user_count_by_country` | 128/128 | The core DSA record. |\n| advertiser name | 126/128 | The two missing ones are disapproved ads with no advertiser name. |\n| EU reach band | 105/128 | Per-country reach is filled for all 128. |\n| live Pinterest Pin (pinner, link, saves, comments) | 114/128 | 14 pins (10.9%) were deleted after the archive kept the ad; the DSA row still ships. |\n| interests | 5/128 | Sparse by nature. |\n| pinner list types | 29/128 | Audience-list disclosure. |\n| destination URLs | 11/128 | The Pin's `link` covers landing URLs for live pins. |\n| regions | 2/128 | Devices, carriers, contextual signals, geolocation and dynamic images were not present in this sample. |\n| statement of reasons / review status | 2/128 | About 1 in 64 ads here. |\n\nThird-party ads, 40 ad details from France and Norway:\n\n| Field | Filled | Note |\n|---|---|---|\n| title, description, image, advertiser, dates, `geo_location` | 40/40 | Core partner record. |\n| reach by country | 36/40 | Pinterest publishes no EU total for third-party ads. |\n| interests, contextual signals, external transparency link | 18/40 | Partner disclosures. |\n| regions / countries / metros | 9/40, 9/40, 7/40 | Only some partner ads disclose them. |\n| ages, genders, EU reach | 0/40 | Not published for third-party ads. |\n\n## Modes\n\n| Mode | What it does |\n|---|---|\n| `ads` | Collect ad rows for the selected markets, dates, advertisers and targeting filters, or fetch the exact ids/links in `adIds`. |\n| `advertisers` | Resolve a partial advertiser name (`etsy`, `ikea`) into the exact names the repository uses, ready to paste into `advertiserNames`. |\n\n## Inputs\n\n| Input | Type | Default | What it does |\n|---|---|---|---|\n| `mode` | select | `ads` | `ads` or `advertisers`. |\n| `adSource` | select | `all` | `all`, `pinterest` or `thirdParty`. |\n| `countries` | multi-select | `[\"DE\"]` | Any of the 30 repository markets. |\n| `startDate` / `endDate` | date | – (blank = last 7 days) | Inclusive flight-date window, `YYYY-MM-DD`. |\n| `adCategory` | select | `ALL` | Pinterest ad category; promoted Pins only. |\n| `gender` | select | `ALL` | Female, male or unspecified; promoted Pins only. |\n| `ageBucket` | select | `ALL` | 18-24 through 65+; promoted Pins only. |\n| `advertiserNames` | list | empty | Exact repository advertiser names, case-insensitive. Empty means all. |\n| `advertiserSearch` | text | empty | Partial name for `mode=advertisers`. |\n| `adIds` | list | empty | Pin ids, third-party ad ids or repository links. When set, filters are ignored. |\n| `searchTerms` | list | empty | Case-insensitive match on title, description, advertiser, landing URL/domain, country, interest or hashtag. |\n| `minReach` | integer | 0 | Minimum reach lower bound; 0 disables. |\n| `maxDaysSinceLastShown` | integer | 0 | Keep ads last shown within N days; 0 disables. |\n| `maxAdsPerAdvertiser` | integer | 0 | Per-advertiser cap; 0 disables. |\n| `maxItems` | integer | 100 | Hard cap on dataset rows. Prefill is 3. |\n| `maxPages` | integer | 50 | Safety budget for list pages across all markets and sources; 0 means no limit. |\n| `includeAdDetails` | boolean | true | Fetch advertiser, full targeting, reach, dates and moderation per ad. |\n| `includePinDetails` | boolean | true | Fetch the Pinterest account, landing link, engagement and video variants per promoted Pin. |\n| `onlyNewAds` | boolean | false | Skip ads already delivered under `monitorStoreName`. |\n| `monitorStoreName` | text | `pinterest-ads-repository-monitor` | Key-value store for the only-new memory. |\n| `retries` | integer | 5 | Extra attempts after 429/5xx and transient errors. |\n| `requestDelayMs` | integer | 800 | Minimum pause between requests. |\n| `proxyConfiguration` | proxy | no proxy | Optional; the actor works directly. |\n\n## Output example\n\nA promoted Pin, trimmed:\n\n```json\n{\n  \"recordType\": \"ad\",\n  \"adSource\": \"pinterest\",\n  \"adKey\": \"pin:4610700951660680576\",\n  \"pinId\": \"4610700951660680576\",\n  \"adUrl\": \"https://ads.pinterest.com/ads-repository/4610700951660680576/\",\n  \"advertiserName\": \"Amazon.fr\",\n  \"advertiserNames\": [\"Amazon.fr\"],\n  \"title\": \"Traxxas TRX-4M F150 1/18 MARRON AVEC ACCUS/CHARGEUR\",\n  \"imageUrl\": \"https://i.pinimg.com/originals/4b/b5/44/4bb544766e7fd192d8a78f31b2ed717c.jpg\",\n  \"link\": \"https://www.amazon.fr/Traxxas-TRX-4M-MARRON-ACCUS-CHARGEUR/dp/B0CP3QTL5V\",\n  \"domain\": \"amazon.fr\",\n  \"firstShownDate\": \"2026-05-29\",\n  \"lastShownDate\": \"2026-11-07\",\n  \"deliveryDays\": 163,\n  \"countries\": [\"France\"],\n  \"countryCodes\": [\"FR\"],\n  \"reachEu\": \"20000 - 30000\",\n  \"reachEuMin\": 20000,\n  \"reachEuMax\": 30000,\n  \"reachByCountry\": {\"France\": \"20000 - 30000\"},\n  \"ages\": [\"18+\"],\n  \"genders\": [\"UNSPECIFIED\", \"FEMALE\", \"MALE\"],\n  \"contentCommercial\": true,\n  \"pinnerUsername\": \"amazonshoppingfr\",\n  \"pinnerFollowerCount\": 21236,\n  \"savedPinCount\": 7,\n  \"commentCount\": 0,\n  \"enrichmentStatus\": \"full\"\n}\n```\n\nA third-party ad, trimmed:\n\n```json\n{\n  \"recordType\": \"ad\",\n  \"adSource\": \"thirdParty\",\n  \"adKey\": \"ad:ffffda48f69ac1b071bde8236cb362ee9f4a5d88140453de147f7a61e8121c06\",\n  \"adId\": \"ffffda48f69ac1b071bde8236cb362ee9f4a5d88140453de147f7a61e8121c06\",\n  \"adUrl\": \"https://ads.pinterest.com/ads-repository/ffffda48f69ac1b071bde8236cb362ee9f4a5d88140453de147f7a61e8121c06/\",\n  \"advertiserName\": \"Booking.com\",\n  \"title\": \"Booking.com: Hôtels et voyage\",\n  \"searchCountry\": \"FR\",\n  \"firstShownDate\": \"2026-11-01\",\n  \"lastShownDate\": \"2026-11-13\",\n  \"reachByCountry\": {\"Spain\": \"0 - 10000\", \"France\": \"0 - 10000\"},\n  \"interests\": [\"OTHER\"],\n  \"contextualSignals\": \"CRITERIA_INCLUDED_AND_EXCLUDED\",\n  \"externalAtcUrl\": \"https://adstransparency.google.com/advertiser/AR02934798844673654785/creative/CR08635221706047489\"\n}\n```\n\n## How it works\n\n- The public page sets an anonymous `csrftoken` on `GET /ads-repository/`. Every request then calls `/resource/ApiResource/get/` with the page's own handler (`sterling/ads-repository.js`) and the JSON payload the page itself sends.\n- The ad list endpoint accepts one market and a date window. This actor walks one market at a time, splits the requested range into the server's accepted window sizes, and follows the returned `bookmark` until the page budget or `maxItems` is reached.\n- Promoted Pins get two enrichment calls: the ad detail endpoint (advertiser, targeting, reach, dates, moderation) and the public `PinResource` (account, landing link, saves, comments, media, video variants). Third-party ads get the detail endpoint only.\n- Rows are deduplicated by `pin:<id>` or `ad:<id>`, so an ad that appears in several pages, date slices or markets is delivered once. A third-party ad seen on several days is also delivered once.\n- Pins deleted from Pinterest since the archive kept the ad are expected: the row keeps the DSA record, adds `pinDeleted` and simply has no pinner or engagement fields.\n- The repository rate-limits bursts. Requests are paced (`requestDelayMs`, 800 ms by default), and 429/5xx answers are retried with backoff. A `maxPages` budget (50 by default) bounds heavily filtered scans.\n\n## Limits\n\n- **Coverage is 30 markets.** There is no US, UK or global version. The repository refuses unsupported country codes.\n- **About 12 months of history.** It is a rolling archive and removes ads as they age out. In this run the earliest day with data was 2025-11-14. Earlier windows return nothing rather than an error.\n- **Reach is a band, not a count.** Pinterest publishes ranges such as `0 - 10000` and `20000 - 30000`. The actor exposes the range and its bounds; it does not invent a midpoint.\n- **Third-party ads are thinner.** They have no ages, genders, EU reach total, pinner, saves or comments, and category/gender/age filters do not apply to them. When a category, gender or age filter is set with `adSource=all`, the actor skips third-party ads and says so in the run status. With `includeAdDetails=false`, third-party rows carry no dates or reach, so the date and reach filters cannot be checked for them.\n- **Deleted pins lose their Pin fields.** About 11% of a recent sample had been removed from Pinterest. Their DSA record still ships; the `pinDeleted` flag and `partial` enrichment status make this explicit.\n- **Sparse disclosures stay sparse.** Devices, carriers, contextual signals, geolocation, dynamic images and archival info are absent from most promoted-Pin records. They are filled when Pinterest publishes them, not fabricated.\n- **Dates lag.** The repository's last-shown dates trail the live ad state by about two days; future or too-recent days can be empty.\n- **One market per query.** Multi-market runs are a sequence of per-market queries. With a small `maxItems`, rows come from the first markets in your list.\n- **Page budget.** The default 50-page budget is plenty for a few hundred rows but not for an exhaustive read of a busy market. Set `maxPages` higher (or 0) when you need every page.\n- **No spend, impressions or payer.** Pinterest does not disclose them in this repository, so they are not fields in this actor.\n\n## FAQ\n\n**Do I need a Pinterest account or cookies?** No. The actor uses the anonymous session the public page creates.\n\n**Do I need an Apify proxy?** No. It runs directly. The optional proxy input exists only for environments that require one.\n\n**Why did an advertiser return no ads?** The name must match the repository's own advertiser name. Run `mode=advertisers` with a fragment of the name, then paste the exact result into `advertiserNames`. The run status also lists suggestions when an exact name returns nothing.\n\n**Why are there fewer rows than I expected?** The repository has no total count and pages in 24-row blocks. `maxItems` and `maxPages` stop the walk; per-market and per-source streams are interleaved, and deduplication removes repeats. Raise both or narrow to one market and one source for a complete read of that slice.\n\n**How do I monitor new competitor ads?** Set `onlyNewAds=true` and keep `monitorStoreName` the same across scheduled runs. Only ads not delivered before are emitted, each with `changeType=NEW`.\n\n**Can I fetch an ad I saw on the site?** Yes. Paste the pin id, the third-party ad id or the full `ads.pinterest.com/ads-repository/...` link into `adIds`.\n\n**Why is `videoUrl` sometimes missing?** The raw video link in the ad detail is often hotlink-blocked. The actor uses the public Pin record's MP4/HLS variants, which are accessible. Deleted pins have no Pin record, so they have no video.\n",
      "input": {
        "title": "Pinterest Ads Repository Exporter (EU DSA) Input",
        "description": "Choose markets and dates, then export Pinterest's disclosed ads: first-party promoted Pins plus the third-party ads Pinterest serves for partner networks. Category, gender and age filters are applied by the repository for promoted Pins.",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "mode": {
            "sectionCaption": "Mode and ad source",
            "title": "Mode",
            "type": "string",
            "description": "`ads` extracts ad rows. `advertisers` resolves a partial advertiser name to the exact names the repository uses, so you can copy one into `advertiserNames`.",
            "editor": "select",
            "enum": [
              "ads",
              "advertisers"
            ],
            "enumTitles": [
              "Collect ads",
              "Resolve advertiser names"
            ],
            "default": "ads",
            "prefill": "ads"
          },
          "adSource": {
            "title": "Ad source",
            "type": "string",
            "description": "`all` alternates Pinterest promoted Pins and third-party partner ads. Third-party ads have no Pinterest pin, so they carry an `adId` and a link to the partner's transparency page instead of a pinner, saves or comments.",
            "editor": "select",
            "enum": [
              "all",
              "pinterest",
              "thirdParty"
            ],
            "enumTitles": [
              "Promoted Pins and third-party ads",
              "Promoted Pins only",
              "Third-party partner ads only"
            ],
            "default": "all",
            "prefill": "all"
          },
          "countries": {
            "sectionCaption": "Markets and dates",
            "title": "Markets",
            "type": "array",
            "description": "Repository markets: the 27 EU member states plus Norway, Turkey and Brazil. Every selected country is queried separately; an ad shown in several selected countries is delivered once and lists all its disclosed countries.",
            "editor": "select",
            "items": {
              "type": "string",
              "enum": [
                "AT",
                "BE",
                "BG",
                "BR",
                "HR",
                "CY",
                "CZ",
                "DK",
                "EE",
                "FI",
                "FR",
                "DE",
                "GR",
                "HU",
                "IE",
                "IT",
                "LV",
                "LT",
                "LU",
                "MT",
                "NL",
                "NO",
                "PL",
                "PT",
                "RO",
                "SK",
                "SI",
                "ES",
                "SE",
                "TR"
              ],
              "enumTitles": [
                "Austria",
                "Belgium",
                "Bulgaria",
                "Brazil",
                "Croatia",
                "Cyprus",
                "Czech Republic",
                "Denmark",
                "Estonia",
                "Finland",
                "France",
                "Germany",
                "Greece",
                "Hungary",
                "Ireland",
                "Italy",
                "Latvia",
                "Lithuania",
                "Luxembourg",
                "Malta",
                "Netherlands",
                "Norway",
                "Poland",
                "Portugal",
                "Romania",
                "Slovakia",
                "Slovenia",
                "Spain",
                "Sweden",
                "Turkey"
              ]
            },
            "default": [
              "DE"
            ],
            "prefill": [
              "DE"
            ]
          },
          "startDate": {
            "title": "Start date (inclusive)",
            "type": "string",
            "description": "First day the ad was shown, `YYYY-MM-DD`. Leave blank for seven days before today. The repository retains about twelve months and currently starts on 2025-11-14.",
            "editor": "datepicker"
          },
          "endDate": {
            "title": "End date (inclusive)",
            "type": "string",
            "description": "Last day the ad was shown, `YYYY-MM-DD`. Leave blank for today. Long ranges are split into 32-day windows for promoted Pins and 1-day windows for third-party ads, then deduplicated.",
            "editor": "datepicker"
          },
          "adCategory": {
            "sectionCaption": "Targeting filters",
            "title": "Ad category",
            "type": "string",
            "description": "Repository ad category, applied to promoted Pins. Third-party ads are skipped when a category is selected because the repository does not return their category.",
            "editor": "select",
            "enum": [
              "ALL",
              "ANIMALS",
              "ARCHITECTURE",
              "ART",
              "BEAUTY",
              "CHILDRENS_FASHION",
              "DESIGN",
              "DIY_AND_CRAFTS",
              "EDUCATION",
              "ELECTRONICS",
              "ENTERTAINMENT",
              "EVENT_PLANNING",
              "FINANCE",
              "FOOD_AND_DRINKS",
              "HEALTH",
              "HOME_DECOR",
              "GARDENING",
              "MENS_FASHION",
              "PARENTING",
              "QUOTES",
              "SPORT",
              "TRAVEL",
              "VEHICLES",
              "WEDDING",
              "WOMENS_FASHION",
              "OTHER"
            ],
            "enumTitles": [
              "All categories",
              "Animals",
              "Architecture",
              "Art",
              "Beauty",
              "Children's fashion",
              "Design",
              "DIY and crafts",
              "Education",
              "Electronics",
              "Entertainment",
              "Event planning",
              "Finance",
              "Food and drinks",
              "Health",
              "Home decor",
              "Gardening",
              "Men's fashion",
              "Parenting",
              "Quotes",
              "Sport",
              "Travel",
              "Vehicles",
              "Wedding",
              "Women's fashion",
              "Other"
            ],
            "default": "ALL",
            "prefill": "ALL"
          },
          "gender": {
            "title": "Gender",
            "type": "string",
            "description": "Gender targeting bucket, applied to promoted Pins. The repository returns only the three disclosed buckets; third-party ads have no disclosed gender.",
            "editor": "select",
            "enum": [
              "ALL",
              "FEMALE",
              "MALE",
              "UNSPECIFIED"
            ],
            "enumTitles": [
              "All genders",
              "Female",
              "Male",
              "Unspecified"
            ],
            "default": "ALL",
            "prefill": "ALL"
          },
          "ageBucket": {
            "title": "Age bucket",
            "type": "string",
            "description": "Age targeting bucket, applied to promoted Pins. Third-party ads disclose no age bucket.",
            "editor": "select",
            "enum": [
              "ALL",
              "AGE_18_24",
              "AGE_25_34",
              "AGE_35_44",
              "AGE_45_49",
              "AGE_50_54",
              "AGE_55_64",
              "AGE_65_PLUS"
            ],
            "enumTitles": [
              "All ages",
              "18-24",
              "25-34",
              "35-44",
              "45-49",
              "50-54",
              "55-64",
              "65+"
            ],
            "default": "ALL",
            "prefill": "ALL"
          },
          "advertiserNames": {
            "title": "Advertiser names (exact)",
            "type": "array",
            "description": "Exact repository advertiser names such as `EtsyFR` or `Genesis Group AG`, one per line; matching is case-insensitive. Run `mode=advertisers` first if you only know part of a name. Empty means every advertiser.",
            "editor": "stringList",
            "default": [],
            "prefill": [],
            "items": {
              "type": "string"
            }
          },
          "advertiserSearch": {
            "title": "Advertiser name fragment (advertisers mode)",
            "type": "string",
            "description": "Partial name to resolve in `advertisers` mode, for example `etsy` or `ikea`. The repository returns up to about 100 matching names. Leave blank to list the first names it holds.",
            "editor": "textfield",
            "default": "",
            "prefill": ""
          },
          "adIds": {
            "sectionCaption": "Selection and limits",
            "title": "Specific ad ids or links",
            "type": "array",
            "description": "Optional pin ids, third-party ad ids, or repository links such as `https://ads.pinterest.com/ads-repository/4610700951660680576/`. When non-empty, the actor fetches exactly these ads and ignores market, date, advertiser, category, gender and age filters.",
            "editor": "stringList",
            "default": [],
            "prefill": [],
            "items": {
              "type": "string"
            }
          },
          "searchTerms": {
            "title": "Keyword filter",
            "type": "array",
            "description": "Keep ads whose title, description, advertiser name, landing URL or domain, disclosed country, interest or hashtag contains any of these terms (case-insensitive). Empty disables the filter.",
            "editor": "stringList",
            "default": [],
            "prefill": [],
            "items": {
              "type": "string"
            }
          },
          "minReach": {
            "title": "Minimum reach",
            "type": "integer",
            "description": "Drop ads whose reach lower bound is below this number. The lower bound is the EU reach band when disclosed, otherwise the highest per-country band. 0 disables the filter.",
            "editor": "number",
            "default": 0,
            "prefill": 0,
            "minimum": 0,
            "maximum": 1000000000000
          },
          "maxDaysSinceLastShown": {
            "title": "Shown within the last N days",
            "type": "integer",
            "description": "Keep ads whose last shown date is at most N days before today. 3 keeps ads that are likely still running; 0 disables the filter. The repository's dates lag about two days.",
            "editor": "number",
            "default": 0,
            "prefill": 0,
            "minimum": 0,
            "maximum": 3650
          },
          "maxAdsPerAdvertiser": {
            "title": "Maximum ads per advertiser",
            "type": "integer",
            "description": "Cap rows per advertiser after filters. 0 means no cap.",
            "editor": "number",
            "default": 0,
            "prefill": 0,
            "minimum": 0,
            "maximum": 10000
          },
          "maxItems": {
            "title": "Maximum ads",
            "type": "integer",
            "description": "Hard cap on dataset rows. Reading stops as soon as this many ads pass the filters.",
            "editor": "number",
            "default": 100,
            "prefill": 3,
            "minimum": 1,
            "maximum": 10000
          },
          "includeAdDetails": {
            "sectionCaption": "Enrichment and reliability",
            "title": "Fetch ad details",
            "type": "boolean",
            "description": "Fetch each ad's detail record (the advertiser name, full targeting, reach bands, flight dates and moderation fields). Turning it off saves one request per ad but leaves third-party ads without dates or reach and promoted Pins without the official advertiser name.",
            "default": true,
            "prefill": true
          },
          "includePinDetails": {
            "title": "Fetch pin details",
            "type": "boolean",
            "description": "Fetch the public Pin record for each promoted Pin: advertiser account, landing link and domain, saves, comments, reactions, hashtags, story pages and the reliable MP4/HLS video variants. Pins deleted from Pinterest since the archive are reported and skipped without failing the run.",
            "default": true,
            "prefill": true
          },
          "onlyNewAds": {
            "title": "Only new ads (monitor)",
            "type": "boolean",
            "description": "Remember the ads delivered under `monitorStoreName` and skip them on later runs. New rows carry `changeType=NEW`, `firstSeenAt`, `lastSeenAt` and `contentHash`.",
            "default": false,
            "prefill": false
          },
          "monitorStoreName": {
            "title": "Monitor store name",
            "type": "string",
            "description": "Key-value store used by the only-new monitor. Give every scheduled run of the same watch the same name.",
            "editor": "textfield",
            "default": "pinterest-ads-repository-monitor",
            "prefill": "pinterest-ads-repository-monitor"
          },
          "retries": {
            "title": "Retries",
            "type": "integer",
            "description": "Extra attempts after rate limits (HTTP 429), over-capacity answers and transient errors, with exponential backoff.",
            "editor": "number",
            "default": 5,
            "prefill": 5,
            "minimum": 0,
            "maximum": 10
          },
          "requestDelayMs": {
            "title": "Delay between requests (ms)",
            "type": "integer",
            "description": "Minimum pause between two repository requests. The repository rate-limits bursts; 300 ms is a safe default.",
            "editor": "number",
            "default": 800,
            "prefill": 800,
            "minimum": 0,
            "maximum": 5000
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional. The actor works without a proxy; use one only if your own environment requires it.",
            "editor": "proxy",
            "default": {
              "useApifyProxy": false
            },
            "prefill": {
              "useApifyProxy": false
            }
          },
          "maxPages": {
            "title": "Maximum list pages",
            "type": "integer",
            "description": "Safety budget for repository list pages across all markets and sources. 0 means no limit. Raise it for exhaustive scans of a large window; lower it to bound a heavily filtered run.",
            "editor": "number",
            "default": 50,
            "prefill": 50,
            "minimum": 0,
            "maximum": 100000
          }
        }
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "Pinterest Ads Repository Exporter (EU DSA) Output",
        "description": "Dataset with one row per disclosed ad and one row per advertiser-name suggestion.",
        "properties": {
          "items": {
            "type": "string",
            "title": "Ads and advertiser suggestions",
            "description": "Every collected row. Ads carry recordType=ad; advertiser name suggestions carry recordType=advertiserSuggestion.",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          }
        }
      },
      "defaultMemoryMbytes": 256,
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "views": {
            "ads": {
              "title": "Ads",
              "transformation": {
                "fields": [
                  "advertiserName",
                  "adSource",
                  "title",
                  "searchCountry",
                  "firstShownDate",
                  "lastShownDate",
                  "reachMin",
                  "adUrl"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            },
            "advertisers": {
              "title": "Advertiser suggestions",
              "transformation": {
                "fields": [
                  "advertiserName",
                  "position",
                  "source"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            }
          }
        }
      },
      "environmentVariables": {}
    },
    "buildNumber": "1.0.2",
    "imageDigest": "352e00d8cad3606171eeba6c78beb4a7ea85e48b68198a5c6b2ef53ed75d20d5",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "1.0"
    },
    "usage": {
      "ACTOR_COMPUTE_UNITS": 0.004702222222222222
    }
  }
}