linkedin_ad_library_ad
Pack: linkedin-ad-library · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/linkedin_ad_library_ad for the schema, then POST the same URL with its arguments for the data.
Read one ad from LinkedIn’s public Ad Library by ad ID: creative type, ad type, full ad text, headline, call-to-action, destination URL, images, advertiser name/page URL/logo, who paid for it, the dates it ran, total impressions range and the targeting the advertiser selected (language, location). Fields the page does not show for that ad are null. Source: LinkedIn Ad Library.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
ad_id | string | yes | Ad ID from linkedin_ad_library_search (digits), or its library URL. |
Example call
Arguments
{
"ad_id": "1654732894"
}
curl
curl -X POST https://gateway.pipeworx.io/linkedin-ad-library/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"linkedin_ad_library_ad","arguments":{"ad_id":"1654732894"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('linkedin_ad_library_ad', {
"ad_id": "1654732894"
});
Response shape
| Field | Type | Description |
|---|---|---|
found | boolean | |
source | string | |
ad_id | string | |
library_url | string | |
creative_type | string | |
ad_type | string | |
advertiser_name | string | |
advertiser_url | string | |
advertiser_logo | string | |
ad_text | string | |
headline | string | |
call_to_action | string | |
destination_url | string | |
images | array | |
paid_for_by | string | |
first_shown | string | |
last_shown | string | |
availability_text | string | |
total_impressions | string | |
targeting | array | |
coverage | string |
Full JSON Schema
{
"type": "object",
"properties": {
"found": {
"type": "boolean"
},
"source": {
"type": "string"
},
"ad_id": {
"type": "string"
},
"library_url": {
"type": "string"
},
"creative_type": {
"type": "string"
},
"ad_type": {
"type": "string"
},
"advertiser_name": {
"type": "string"
},
"advertiser_url": {
"type": "string"
},
"advertiser_logo": {
"type": "string"
},
"ad_text": {
"type": "string"
},
"headline": {
"type": "string"
},
"call_to_action": {
"type": "string"
},
"destination_url": {
"type": "string"
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string"
},
"alt": {
"type": "string"
}
},
"additionalProperties": true
}
},
"paid_for_by": {
"type": "string"
},
"first_shown": {
"type": "string"
},
"last_shown": {
"type": "string"
},
"availability_text": {
"type": "string"
},
"total_impressions": {
"type": "string"
},
"targeting": {
"type": "array",
"items": {
"type": "string"
}
},
"coverage": {
"type": "string"
}
},
"additionalProperties": true
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the linkedin-ad-library pack
{
"mcpServers": {
"linkedin-ad-library": {
"url": "https://gateway.pipeworx.io/linkedin-ad-library/mcp"
}
}
}
See Getting Started for client-specific install steps.