# Bing ads of any advertiser: impressions, targeting, payer

**Use case:** 

Get a company's Bing ads in the EU with the impressions range, each country's share, the targeting used (location, age, gender, audiences) and who paid, from Microsoft's official Ad Library. Here: Samsung, 5 ads. Change the name or paste an advertiser link.

## Input

```json
{
  "queries": [
    "Samsung"
  ],
  "keywords": [
    "meal kit",
    "\"black friday\""
  ],
  "resultType": "ads",
  "maxAdsPerQuery": 5,
  "includeDetails": true,
  "countries": [],
  "dateFrom": "2026-01-01",
  "dateTo": "2026-06-30",
  "maxAdvertisersPerQuery": 1,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "advertiserName": {
    "label": "Advertiser",
    "format": "string"
  },
  "format": {
    "label": "Format",
    "format": "string"
  },
  "imageUrl": {
    "label": "Image",
    "format": "string"
  },
  "adText": {
    "label": "Ad text",
    "format": "string"
  },
  "domain": {
    "label": "Domain",
    "format": "string"
  },
  "firstShown": {
    "label": "First shown",
    "format": "string"
  },
  "lastShown": {
    "label": "Last shown",
    "format": "string"
  },
  "daysShown": {
    "label": "Days shown",
    "format": "integer"
  },
  "impressionsRange": {
    "label": "Impressions",
    "format": "string"
  },
  "regionCount": {
    "label": "Countries",
    "format": "integer"
  },
  "paidBy": {
    "label": "Paid by",
    "format": "string"
  },
  "adUrl": {
    "label": "Ad page",
    "format": "string"
  },
  "query": {
    "label": "Query",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Microsoft Ads Library Scraper: Bing Ads, Impressions, Targeting Actor is ready to run with the inputs already set for "Bing ads of any advertiser: impressions, targeting, payer". [Sign up or log in](https://console.apify.com/create-task-from-example/02MgMyDVwOIrBddRP) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Bing ads of any advertiser: impressions, targeting, payer" task

The Microsoft Ads Library Scraper: Bing Ads, Impressions, Targeting Actor will start running based on the input automatically. You can also change all the input fields, like advertisers, websites, ids or links, search the ad text (optional), and more, to match your specific use case.

### 3. Receive the "Bing ads of any advertiser: impressions, targeting, payer" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as advertiser, format, image, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Bing ads of any advertiser: impressions, targeting, payer" task via API](https://apify.com/kvali/microsoft-ads-library-scraper.md).

## About this Actor

This example demonstrates how to use [Microsoft Ads Library Scraper: Bing Ads, Impressions, Targeting](https://apify.com/kvali/microsoft-ads-library-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/kvali/microsoft-ads-library-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/kvali/microsoft-ads-library-scraper.md

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`).
