# LinkedIn Ads API guide



## Choose a LinkedIn Ads operation



Start with the object your task needs. The groups below use the current catalogue; open an endpoint to check accepted identifiers, filters, price and availability before retrieving.



### Other operations



- [Ad details](https://www.monocrawl.com/docs/endpoints/linkedin_ads/ad) — One LinkedIn ad by its ad-library URL: creative, advertiser, targeting disclosures and impression data.



### Search and discovery



- [Ad search](https://www.monocrawl.com/docs/endpoints/linkedin_ads/search) — Search the LinkedIn Ad Library: headline, body, ad type, advertiser, impression bands and per-country impressions. Paged by cursor.



## Check fields and collection limits



Use the endpoint’s declared parameters and returned continuation. Filters from another platform do not automatically apply here. Preserve source identifiers, URLs and warnings; a successful page does not establish complete history. Published response schemas identify whether they come from a reviewed shaper or observed response shapes.



Agents can use `get_endpoint` for the current contract and `get_docs` with topic `platforms/linkedin_ads` to read this page. The [coverage guide](https://www.monocrawl.com/docs/data-availability) explains nulls and partial results, and the [production guide](https://www.monocrawl.com/docs/production-checklist) covers budgets and recovery.



## Endpoint reference

## linkedin_ads/ad

`GET /v1/linkedin_ads/ad`

One LinkedIn ad by its ad-library URL: creative, advertiser, targeting disclosures and impression data.

*Ad details*

| Parameter | Required | Description |
| --- | --- | --- |
| `url` | yes | LinkedIn ad-library detail URL from a search result. — e.g. `https://www.linkedin.com/ad-library/detail/1507751473` |
| `dry_run` | no | Read a zero-credit estimate without fetching sources, running AI, or reserving credits. Cache status is a snapshot, not a guarantee at execution. Accepted values: 1, 0, true, false. Case, spaces, hyphens and underscores are interchangeable. — e.g. `1` |

### Useful optional inputs

- `dry_run`: Read a free estimate before fetching sources or scheduling paid work. Zero credits; cache status and availability are snapshots rather than guarantees.

**Cost:** 4 credits at list price per successful uncached response; variable-cost operations may quote or settle a different charge. Confirmed uncharged or refunded failures report zero. Pending reconciliation can report credits_used:null; retain request_id and the original idempotency key.

```bash
curl "https://www.monocrawl.com/v1/linkedin_ads/ad?url=https%3A%2F%2Fwww.linkedin.com%2Fad-library%2Fdetail%2F1507751473" \
  -H "x-api-key: mn_your_key_here"
```

### Response data

Illustrative abbreviated data; documented core fields are optional and may be null. Additional source fields are allowed.

```json
{
  "ad_type": "example",
  "advertiser": {
    "logo": "example",
    "name": "example",
    "url": "https://example.com/example"
  },
  "carousel_images": [],
  "creative_type": "example",
  "cta": "example",
  "description": "example",
  "destination_url": "https://example.com/example",
  "end_date": "2026-09-01T12:00:00Z",
  "headline": "example",
  "id": "example",
  "image": "https://example.com/example",
  "impressions_per_country": [
    {
      "country": "example",
      "impressions": "example"
    }
  ],
  "platform": "example",
  "start_date": "2026-09-01T12:00:00Z",
  "targeting": {
    "language": "example",
    "location": "example"
  },
  "total_impressions": "example",
  "url": "https://example.com/example"
}
```

[Field reference](https://www.monocrawl.com/docs/endpoints/linkedin_ads/ad#response) · [JSON Schema for response.data](https://www.monocrawl.com/schemas/linkedin_ads/ad.json)


## linkedin_ads/search

`GET /v1/linkedin_ads/search`

Search the LinkedIn Ad Library: headline, body, ad type, advertiser, impression bands and per-country impressions. Paged by cursor.

*Ad search*

| Parameter | Required | Description |
| --- | --- | --- |
| `query` | yes | Keyword (or pass company / companyId for advertiser-specific results). — e.g. `cloud` |
| `company` | no | Company name. — e.g. `microsoft` |
| `companyId` | no | LinkedIn company id. |
| `countries` | no | Comma list of two-letter codes. — e.g. `US,CA` |
| `start_date` | no | YYYY-MM-DD. |
| `end_date` | no | YYYY-MM-DD. |
| `cursor` | no | paginationToken from the previous page. |
| `dry_run` | no | Read a zero-credit estimate without fetching sources, running AI, or reserving credits. Cache status is a snapshot, not a guarantee at execution. Accepted values: 1, 0, true, false. Case, spaces, hyphens and underscores are interchangeable. — e.g. `1` |

### Useful optional inputs

- `cursor`: Continue the same source traversal with the complete returned cursor. Saved-result retrieval and a new source page can have different prices; quote the next call.
- `dry_run`: Read a free estimate before fetching sources or scheduling paid work. Zero credits; cache status and availability are snapshots rather than guarantees.

**Cost:** 4 credits at list price per successful uncached response; variable-cost operations may quote or settle a different charge. Confirmed uncharged or refunded failures report zero. Pending reconciliation can report credits_used:null; retain request_id and the original idempotency key.

```bash
curl "https://www.monocrawl.com/v1/linkedin_ads/search?query=cloud" \
  -H "x-api-key: mn_your_key_here"
```

### Response data

Illustrative abbreviated data; documented core fields are optional and may be null. Additional source fields are allowed.

```json
{
  "cursor": null,
  "dropped": 0,
  "items": [
    {
      "ad_type": "example",
      "advertiser": {
        "logo": "example",
        "name": "example",
        "url": "https://example.com/example"
      },
      "carousel_images": [],
      "creative_type": "example",
      "cta": "example",
      "description": "example",
      "destination_url": "https://example.com/example",
      "end_date": "2026-09-01T12:00:00Z",
      "headline": "example",
      "id": "example",
      "image": "https://example.com/example",
      "impressions_per_country": [
        {}
      ],
      "platform": "example",
      "start_date": "2026-09-01T12:00:00Z",
      "targeting": {
        "language": "example",
        "location": "example"
      },
      "total_impressions": "example",
      "url": "https://example.com/example",
      "video": "example"
    }
  ]
}
```

[Field reference](https://www.monocrawl.com/docs/endpoints/linkedin_ads/search#response) · [JSON Schema for response.data](https://www.monocrawl.com/schemas/linkedin_ads/search.json)

