# Build a LinkedIn ad corpus for a date window

**Use case:** 

Collect public LinkedIn ad records that fall within a start and end date for evidence-based campaign review or archiving.

## Input

```json
{
  "advertisers": [
    "Microsoft",
    "HubSpot"
  ],
  "keywords": [
    "data warehouse"
  ],
  "countries": [
    "US",
    "DE"
  ],
  "startDate": "2026-01-01",
  "endDate": "2026-06-30",
  "maxResults": 10,
  "maxPagesPerSearch": 1,
  "fetchAdDetails": true,
  "providerPreference": "scrapecreators-first",
  "responseFormat": "concise"
}
```

## Output

```json
{
  "advertiserName": {
    "label": "Advertiser",
    "format": "string"
  },
  "adRunStart": {
    "label": "Ad run start",
    "format": "string"
  },
  "adRunEnd": {
    "label": "Ad run end",
    "format": "string"
  },
  "estimatedImpressions": {
    "label": "Estimated impressions",
    "format": "string"
  },
  "impressionCountries": {
    "label": "Impression countries",
    "format": "array"
  },
  "targetingSummary": {
    "label": "Targeting summary",
    "format": "array"
  },
  "adUrl": {
    "label": "Ad URL",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [LinkedIn Ad Library Search Scraper](https://apify.com/khadinakbar/linkedin-ad-library-search-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/khadinakbar/linkedin-ad-library-search-scraper) to learn more, explore other use cases, and run it yourself.