Read one creative from the LinkedIn Ad Library. Pass the detail URL returned by search (/ad-library/detail/...) or the bare numeric ad id. 2 credits per call.
The response includes the advertiser, format, copy, CTA, payer, impressions when shown, and targeting when LinkedIn exposes it.
GET https://api.piloterr.com/v2/linkedinadlibrary/ad?query=https://www.linkedin.com/ad-library/detail/1585536544
GET https://api.piloterr.com/v2/linkedinadlibrary/ad?query=1585536544
| Parameter |
Type |
Required |
Description |
query |
string |
yes |
Detail URL or numeric ad id |
| Field |
Type |
Description |
ad_id |
string |
Numeric LinkedIn ad id |
url |
string |
Detail URL |
status |
string |
active or inactive |
format |
string |
image, video, carousel, event, document, or text |
format_label |
string | null |
LinkedIn label (Single Image Ad, …) |
advertiser_name / advertiser_url / advertiser_image_url |
string | null |
Advertiser |
paid_by |
string | null |
Payer shown in About the ad |
headline / description / image_url / video_url |
string | null |
Creative |
cta_text / target_url |
string | null |
Call to action |
start_date / end_date / impressions |
string | null |
When LinkedIn exposes them |
carousel / targeting |
array | null |
Extra creative / targeting blocks |
- A search URL passed here returns
400.
- Some ads omit impressions, dates, or targeting.
| Code |
Meaning |
400 |
Missing query, or not an ad detail |
403 |
LinkedIn auth wall |
404 |
Ad not found |
500 |
The Ad Library request failed |
- Open a search card and read the full creative
- Track payer, CTA, and targeting for competitor ads