LinkedIn ad detail
LinkedIn ad detail: inspect inputs, ad fields, pagination and limits, then run a local simulated request.
Copy the agent prompt manually
What this capability does
LinkedIn ad detail uses /v1/linkedin/ads/get; GET returns data.item with ad objects.
This is a local simulation. Program-generated samples are not live platform data and do not establish provider availability.
- Capability: linkedin.ads.get
- Pagination: no cursor pagination; do not repeatedly request another page.
Input contract
Inspect meanings, examples and conditional rules for the selected method. view and fields control the response without changing the TEST unit price.
- GET: supply exactly one of id / url.
| Method | Field | Type | Requirement | Meaning | Enum or bound | Example |
|---|---|---|---|---|---|---|
| GET | id | string | Optional / conditional | The ad's ID, a string of digits: the last part of its link in the library | — | "1588761774" |
| GET | url | string | Optional / conditional | The ad's link in the library, written linkedin.com/ad-library/detail/ and the ID | — | — |
| GET | view | string | Optional / conditional | How much of each item: compact (the most used fields, long text cut short), standard, or full (adds `ext`). | ["compact","standard","full"] | — |
| GET | fields | array | Optional / conditional | Return only these fields of each item, by path (`author.name`). | maxItems: 64 | — |
Try it locally
Use demo to inspect the fields, then explicitly select simulated with a customer test key to exercise settlement. Never put a customer key in a URL.
{
"capability": "linkedin.ads.get",
"method": "GET",
"params": {
"id": "1588761774"
}
}Output fields and interpretation
The ad object permits missing or null values; do not replace missing measurements with zero. This table shows the main structure; the object reference covers nested fields.
| Field | Type | Meaning | Source scope |
|---|---|---|---|
| id | string | null | ID; pass it unchanged to the ad's get endpoint | |
| url | string | null | The ad's page in the platform's ad library | |
| format | string | null | Format of the creative; other is a format of the platform's own | |
| title | string | null | Headline | |
| text | string | null | Body text | |
| landing_url | string | null | Where a click on the ad leads (standard view and up) | |
| advertiser | object | null | Advertiser | |
| advertiser.id | string | null | Advertiser ID | |
| advertiser.name | string | null | Advertiser's name | |
| advertiser.url | string | null | The advertiser's page on the platform (standard view and up) | |
| advertiser.avatar_url | string | null | The advertiser's picture or logo (standard view and up) | |
| images | array | null | Addresses of the ad's images (standard view and up) | |
| videos | array | null | Addresses of the ad's videos; they expire (full view) | |
| first_shown_at | string | null | When the ad was first shown | |
| last_shown_at | string | null | When the ad was last shown; for an ad still running, when the platform last saw it | |
| approximate | array | null | Which numbers of this item are approximate or lower bounds; absent when all are exact | |
| approximate[].field | string | null | Path of the field, such as metrics.views | |
| approximate[].kind | string | null | Approximate, or a lower bound | |
| ext | object | — | |
| ext.format_label | string | null | What the platform itself calls this ad format, as it words it (full view) | |
| ext.cta | string | null | Text of the call-to-action button (full view) | |
| ext.impressions_range | string | null | Bracket of total impressions, as the platform words it (full view) | |
| ext.targeting_language | string | null | Languages targeted, as the platform words it (full view) | |
| ext.targeting_location | string | null | Locations targeted, as the platform words it (full view) |
Limits and checks
A successful request does not establish full coverage. Preserve the request ID, observation time, parameters and cursor, and inspect the returned items before analysis.
Local simulation uses TEST credits only. Real provider calls, real payments and external email are disabled. Historical reference-site prices are not DataNavoAPI prices.
- Verify media URLs, counts and optional fields individually.
Clear inputs. Inspectable output.
Each click runs a local fixture. Advanced JSON inputs are checked against the selected method. Editing does not execute a request.
Copying does not execute. CLI quote is read-only and needs a local customer TEST key. Configure MCP in demo mode first. GET and POST batches both return only fictional local fixtures.
Download contract example (no execution) ↗For TEST budgets, Key scopes or failure scenarios, open the account console. Customer sandbox ↗