---
title: "LinkedIn Ad Detail"
method: GET
path: "/linkedin/ads/detail"
tags: ["LinkedIn"]
---

# LinkedIn Ad Detail

`GET /linkedin/ads/detail`

## Request

- Base URL: `https://scrappa.co/api`
- URL: `https://scrappa.co/api/linkedin/ads/detail`
- Auth: API key in header `X-API-KEY`

Get one public Ad Library ad by its numeric ID, including the targeting panel.
Impression breakdowns are EU-dependent and may legitimately be null.

## Query parameters

- `ad_id` number, required

## Response `200`

- string

## Other responses

- `401`: Unauthorized - API key is missing or invalid
- `403`: LinkedIn answered with a full-size page carrying no ad, which is how it refuses a blocked request. Retrying usually succeeds. Not billed.
- `404`: No ad with this ID, or LinkedIn answered with a different ad than the one requested (a redirect, an expired ad, or a slug that moved). A bad or expired ad_id is served by LinkedIn as a 200 with no ad on it rather than a 404, so the id is...
- `422`: The ad_id parameter is missing or is not numeric.
- `503`: LinkedIn answered with a full-size page instead of an ad, which is what a dropped route looks like. The ad may well still exist; our upstream route has moved. Retrying may succeed. Not billed, and not reported as "ad not found" because t...

---

[API](https://skmtc.dev/scrappa/apis/scrappa-api-documentation.md) · [All operations](https://skmtc.dev/scrappa/apis/scrappa-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/scrappa/apis/scrappa-api-documentation/revisions/1e1aa78ff103?raw)
