# See impressions and targeting for ads shown in Germany

**Use case:** 

Returns German LinkedIn ads with run dates, the impression range, the split by country and the targeting the advertiser picked. Use it to size a rival's European spend.

## Input

```json
{
  "companyUrlsOrIds": [
    "1035"
  ],
  "searchKeywords": [
    "software"
  ],
  "advertiserNames": [],
  "payerNames": [],
  "adUrlsOrIds": [],
  "searchUrls": [],
  "countries": [
    "DE"
  ],
  "dateOption": "last-30-days",
  "startDate": "",
  "endDate": "",
  "maxAds": 20,
  "includeAdDetails": true,
  "dedupMemoryName": "",
  "emitKnownAds": false,
  "resetDedupMemory": false,
  "maxRequestsPerSecond": 8,
  "maxConcurrency": 8,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "adId": {
    "label": "Ad id"
  },
  "advertiserName": {
    "label": "Advertiser"
  },
  "paidBy": {
    "label": "Paid by"
  },
  "firstShownDate": {
    "label": "First shown"
  },
  "lastShownDate": {
    "label": "Last shown"
  },
  "totalImpressions": {
    "label": "Impressions range"
  },
  "totalImpressionsMin": {
    "label": "Impressions min"
  },
  "totalImpressionsMax": {
    "label": "Impressions max"
  },
  "impressionsByCountry": {
    "label": "Impressions by country"
  },
  "adTargeting": {
    "label": "Targeting parameters"
  },
  "hasEuTransparency": {
    "label": "EU data"
  },
  "url": {
    "label": "Ad detail URL"
  }
}
```

## About this Actor

This example demonstrates how to use [LinkedIn Ad Library Scraper: Ads by Company](https://apify.com/automation_craft/linkedin-ad-library-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation_craft/linkedin-ad-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/automation_craft/linkedin-ad-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`).
