> ## Documentation Index
> Fetch the complete documentation index at: https://docs.posttu.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Search Ads

> Searches the LinkedIn Ad Library by company name, keyword, or companyId with optional country and date filters. Each ad includes id, description, headline, adType, advertiser, targeting details, image or video URLs, totalImpressions, and impressionsByCountry. Supports pagination via paginationToken.

### Query Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `company` | `string` | No | The company name to search for. 'Microsoft' for example |
| `keyword` | `string` | No | The keyword to search for |
| `companyId` | `string` | No | The company id to search for |
| `countries` | `string` | No | Comma separated list of countries. Example: US,CA,MX |
| `startDate` | `string` | No | Start date to search for. Format: YYYY-MM-DD |
| `endDate` | `string` | No | End date to search for. Format: YYYY-MM-DD |
| `paginationToken` | `string` | No | Pagination token to paginate through results |

### Response Example

```json theme={null}
{
  "success": true,
  "data": {
  "success": true,
  "ads": [
    {
      "id": "823975056",
      "description": "The countdown has begun – grab your discounted tickets now for #FabConEurope in Vienna!\nJoin us for an unforgettable experience filled with deep learning, expert insights, and top-tier networking opportunities.\n\nRegister today and be part of the future of innovation: http://msft.it/6043sMFt3 \n\n#MicrosoftFabric",
      "headline": null,
      "poster": "Microsoft",
      "posterTitle": "Promoted",
      "promotedBy": null,
      "targeting": {
        "language": "Targeting includes English",
        "location": "Targeting includes Netherlands",
        "company": "Exclusion targeting applied"
      },
      "image": "https://media.licdn.com/dms/image/v2/D5610AQH8f223ANJdoQ/image-shrink_1280/B56ZiDa0MFHkAQ-/0/1754551502346?e=2147483647&v=beta&t=ZuZ0zUs1KInS8ysVO7FxzmlzxHP9B_JX2b6kdMU8GT4",
      "video": null,
      "carouselImages": [],
      "adType": "Single Image Ad",
      "advertiser": "Microsoft",
      "advertiserLinkedinPage": "https://www.linkedin.com/company/1035",
      "cta": null,
      "destinationUrl": "http://msft.it/6043sMFt3?trk=ad_library_ad_preview_headline_content",
      "adDuration": "Ran from Aug 10, 2025 to Aug 10, 2025",
      "startDate": "2025-08-10T05:00:00.000Z",
      "endDate": "2025-08-10T05:00:00.000Z",
      "totalImpressions": "< 1k",
      "impressionsByCountry": []
    }
  ],
  "paginationToken": "756412693-1754569518292",
  "isLastPage": false,
  "totalAds": 8699
}
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.