Microsoft Ad Library avatar

Microsoft Ad Library

Pricing

from $0.69 / 1,000 results

Go to Apify Store
Microsoft Ad Library

Microsoft Ad Library

Ads shown on Bing in the EU and EEA, from Microsoft's own Ad Library API: advertiser, text, links, and optionally dates, reach and payer. The registry limits requests, so a run may stop early with the ads it has read.

Pricing

from $0.69 / 1,000 results

Rating

0.0

(0)

Developer

Tigran Avakov

Tigran Avakov

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Features

Limited permissions

Share

Search the Microsoft Advertising Ad Library, the public registry of ads shown on Bing in the EU and EEA, by words or by advertiser, and get clean records: advertiser, ad text, links and, if you ask for it, dates, reach range, payer, country split and targeting.

What it does

It reads the registry's own open API (adlibrary.api.bingads.microsoft.com). No login, no key, no proxy and no browser: plain HTTP, paced to the rate the registry allows (about one request every 3 seconds). Each search term or advertiser id is one target; the tool pages through it 24 ads at a time.

Request limit of the registry. The registry limits requests per address and does not publish the limit. In our checks on 2026-11-10 it varied from run to run: some runs were stopped by HTTP 429 after 4, 8 or 17 requests in a row, others made 16 and 31 requests without a stop. One request returns up to 24 ads; with details on, each ad costs one more request. When the limit is reached the run stops, the ads already written are kept, and the run ends normally.

Use cases

  • See what ads a competitor or a brand shows on Bing in Europe, and where they link.
  • Watch a topic for ads you have not seen before (the "only new" option).
  • Compliance and research work that needs advertiser, payer and reach range per ad (details option).

Input

FieldTypeDescription
queriesarraySearch terms, one per line. All words must match; use double quotes for a phrase.
advertiserIdsarrayNumeric advertiser ids from the registry (the advertiser_id of an earlier result).
countriesarrayEU/EEA countries as names (Germany) or codes (DE). Empty = all.
startDate, endDatestringOnly ads shown in this window, YYYY-MM-DD.
includeDetailsbooleanOne extra request per ad for dates, reach, payer, country shares, targeting. Because of the registry's request limit, a run with details reaches far fewer ads. Default off.
onlyNewbooleanOnly ads not delivered by an earlier run with the same searches and filters. Every page already delivered still costs a request before new ads are reached.
maxResultsintegerStop after this many ads in total (default 100). The registry's request limit may stop a run earlier.

Give at least one search term or advertiser id.

Example:

{ "queries": ["london hotels"], "countries": ["Germany", "FR"], "maxResults": 100 }

Output

One record per ad. Missing values are null, dates are ISO 8601, url is the ad's address in the registry API. An ad found by two targets is delivered once per run.

FieldDescription
url, source_idAddress and id of the ad in the registry.
advertiser_id, advertiser_nameThe advertiser (account or verified legal name).
title, descriptionAd copy; for dynamic ads a recent representative version.
display_url, destination_urlAddress shown in the ad and where it links.
asset_urlsImage addresses; empty for text ads.
started_at, ended_atFirst and last run in the EU/EEA, only with includeDetails, otherwise null.
impressions_rangeTotal impressions as a range, e.g. 500K - 1M (details only).
paid_for_byPayer, when the registry names one different from the account owner (details only).
impressions_by_countryShare of impressions per country in percent (details only).
targetingTargeting types used, with whether also used for exclusion (details only).
sourceThe search term or advertiser:<id> that found the ad.

Example record (details off):

{ "url": "https://adlibrary.api.bingads.microsoft.com/api/v1/Ads/71056068045307", "source_id": "71056068045307",
"advertiser_id": "4295000447", "advertiser_name": "TripAdvisor Inc", "title": "…", "description": "…",
"display_url": "www.tripadvisor.nl", "destination_url": "https://www.tripadvisor.nl/…", "asset_urls": [],
"started_at": null, "ended_at": null, "impressions_range": null, "paid_for_by": null,
"impressions_by_country": null, "targeting": null, "source": "hotels" }

Pricing

Pay per result: you pay for each ad in the dataset, plus a tiny start fee per run. Set "Maximum cost per run" and the tool stops cleanly when it is reached. With details on, the price per ad is the same, but each ad needs one extra request, so far fewer ads fit in a run. If the details of an ad cannot be read (the ad vanished, HTTP 404, or the answer has a different format), the record is still written and paid for, without details; after 3 such failures in a row details are switched off for the rest of the run.

Errors

  • Invalid input — the message names the field to fix (an unknown country, a bad date, no search term at all).
  • An advertiser id that is not digits is skipped with a warning in the log; the other targets are still read. If every target is skipped, the run ends normally with no ads and a status line that names the first skipped target and the reason. An advertiser id the registry does not know simply returns no ads.
  • No answer from the registry — a request that times out is reported as "site unavailable"; the ads already written are kept.
  • The site changed its format — the tool needs an update; please open an issue.
  • The site blocked access — the registry refused the request (HTTP 403 or 429 after the waiting time). The tool stops at once and does not try to get around it; ads already written stay in the dataset and the run ends normally. HTTP 429 is the registry's ordinary request limit and is reported as such.

Limitations

  • Request limit: not published and not constant. In our checks on 2026-11-10 some runs were stopped by HTTP 429 after 4, 8 or 17 requests in a row, others made 16 and 31 requests without a stop (one request returns up to 24 ads). The tool does not try to get around it.
  • Source limit: one search reaches about 1,000 ads at most (the registry allows 24 ads per request and a skip of at most 999). Split broad topics into narrower searches, by words, advertiser id, country or date window.
  • The registry covers only ads shown in the EU/EEA; most records are text ads, and some carry images.
  • The registry does not sort by date. "Only new" therefore returns ads not delivered before, not the freshest ads. A page of ads that were all delivered earlier does not end the target, but it costs a request like any page: the more was delivered before, the more requests a run spends before it reaches new ads, and the registry's request limit may stop it first. A run stopped by the limit before it has any new ad ends as failed with that message, and no result is charged.
  • Dates, reach range, payer, country shares and targeting come from the per-ad detail page; without includeDetails they are null. The registry records impressions since June 2023 and lags 1-3 days.
  • The registry publishes no spend figures.
  • Pace and burst limit: the registry answers 429 when requests come faster than about one per 3 seconds, and it also stops a series of requests from one address after a number that varied in our checks (see the request limit above). The tool waits 3 seconds between requests, makes one more try after a short pause, and on a second 429 stops without retrying; ads already written stay in the dataset and the run ends normally. With details on, one request goes to each ad, so a run reaches far fewer ads before the registry pushes back.
  • Two "only new" runs with the same targets cannot work at the same time: the second one stops with a message before it reads anything.
  • At most one batch may be written again if a write was still on its way when the run was stopped.
  • If a run is killed while it writes a batch and is not resurrected, the next "only new" run may skip that batch.

Support

Open an issue in the Issues tab with the run link.