# Look Up LinkedIn Ads by URL (Full Detail Pull)

**Use case:** 

Paste one or more LinkedIn Ad Library links and get the complete record for each ad: headline, body copy, CTA, destination URL, creative, run dates, targeting and impressions where LinkedIn publishes them. Ad URLs can be combined with the search fields in one run, and an ad already pulled by URL is skipped rather than returned twice.

## Input

```json
{
  "companies": [
    "microsoft"
  ],
  "keywords": [],
  "companyIds": [],
  "countries": [],
  "maxResults": 0,
  "maxResultsPerQuery": 0,
  "adTypes": [],
  "fetchAdDetails": false,
  "enrichAdvertisers": false,
  "aiModel": "claude-haiku-4-5",
  "concurrency": 5,
  "searchUrls": [],
  "adUrls": [
    "https://www.linkedin.com/ad-library/detail/1559276204",
    "https://www.linkedin.com/ad-library/detail/1547262663"
  ]
}
```

## Output

```json
{
  "adLibraryUrl": {
    "label": "Ad Library URL",
    "format": "string"
  },
  "advertiser": {
    "label": "Advertiser",
    "format": "string"
  },
  "advertiserLogo": {
    "label": "Advertiser logo",
    "format": "string"
  },
  "headline": {
    "label": "Headline",
    "format": "string"
  },
  "description": {
    "label": "Description",
    "format": "string"
  },
  "cta": {
    "label": "CTA",
    "format": "string"
  },
  "destinationUrl": {
    "label": "Destination URL",
    "format": "string"
  },
  "landingPage": {
    "label": "Landing page",
    "format": "string"
  },
  "adType": {
    "label": "Ad type",
    "format": "string"
  },
  "creativeType": {
    "label": "Creative type",
    "format": "string"
  },
  "image": {
    "label": "Image",
    "format": "string"
  },
  "video": {
    "label": "Video",
    "format": "string"
  },
  "organicVideo": {
    "label": "Organic video",
    "format": "string"
  },
  "carouselImages": {
    "label": "Carousel images",
    "format": "array"
  },
  "sponsoredMessageSender": {
    "label": "Message sender",
    "format": "string"
  },
  "sponsoredMessageSenderAvatar": {
    "label": "Message sender avatar",
    "format": "string"
  },
  "sponsoredMessageButtons": {
    "label": "Message buttons",
    "format": "array"
  },
  "startDate": {
    "label": "Start date",
    "format": "string"
  },
  "endDate": {
    "label": "End date",
    "format": "string"
  },
  "daysRunning": {
    "label": "Days running",
    "format": "integer"
  },
  "adDuration": {
    "label": "Duration",
    "format": "string"
  },
  "totalImpressions": {
    "label": "Impressions",
    "format": "string"
  },
  "impressionsByCountry": {
    "label": "Impressions by country",
    "format": "array"
  },
  "targetingLocation": {
    "label": "Target: location",
    "format": "string"
  },
  "targetingLanguage": {
    "label": "Target: language",
    "format": "string"
  },
  "advertiserLinkedinPage": {
    "label": "Advertiser page",
    "format": "string"
  },
  "poster": {
    "label": "Poster",
    "format": "string"
  },
  "posterTitle": {
    "label": "Poster title",
    "format": "string"
  },
  "promotedBy": {
    "label": "Promoted by",
    "format": "string"
  },
  "id": {
    "label": "Ad ID",
    "format": "string"
  },
  "_searchedByField": {
    "label": "Searched by (field)",
    "format": "string"
  },
  "_searchedByValue": {
    "label": "Searched by (value)",
    "format": "string"
  },
  "_scrapedAt": {
    "label": "Scraped at",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [LinkedIn Ad Library Scraper [NO COOKIES] ✅](https://apify.com/unseenuser/linkedin-ads.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/unseenuser/linkedin-ads.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/unseenuser/linkedin-ads.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`).
