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

NameTypeRequiredDescription
ad_idstringyesAd 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

FieldTypeDescription
foundboolean
sourcestring
ad_idstring
library_urlstring
creative_typestring
ad_typestring
advertiser_namestring
advertiser_urlstring
advertiser_logostring
ad_textstring
headlinestring
call_to_actionstring
destination_urlstring
imagesarray
paid_for_bystring
first_shownstring
last_shownstring
availability_textstring
total_impressionsstring
targetingarray
coveragestring
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.

Regenerated from source · build December 2, 2026