li_list_creatives

Pack: linkedin_ads · Endpoint: https://gateway.pipeworx.io/linkedin_ads/mcp

View all ads in a LinkedIn campaign (e.g., campaign ID “501234567”). Returns creative IDs, titles, content, status, and creation dates to compare variations.

Parameters

NameTypeRequiredDescription
campaign_idstringyesCampaign ID
countnumbernoMax results (default 10)
startnumbernoPagination offset (default 0)

Example call

Arguments

{
  "campaign_id": "501234567",
  "count": 10,
  "start": 0
}

curl

curl -X POST https://gateway.pipeworx.io/linkedin_ads/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"li_list_creatives","arguments":{"campaign_id":"501234567","count":10,"start":0}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('li_list_creatives', {
  "campaign_id": "501234567",
  "count": 10,
  "start": 0
});

Response shape

FieldTypeDescription
errorstringError code if connection not found
messagestringError message with guidance
elementsarrayList of creatives (ads)
pagingobjectPagination metadata
Full JSON Schema
{
  "type": "object",
  "properties": {
    "error": {
      "type": "string",
      "description": "Error code if connection not found"
    },
    "message": {
      "type": "string",
      "description": "Error message with guidance"
    },
    "elements": {
      "type": "array",
      "description": "List of creatives (ads)",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Creative ID"
          },
          "title": {
            "type": "string",
            "description": "Creative title or headline"
          },
          "content": {
            "type": "string",
            "description": "Creative content or body text"
          },
          "status": {
            "type": "string",
            "description": "Creative status"
          },
          "createdTime": {
            "type": "number",
            "description": "Creation timestamp (milliseconds)"
          }
        }
      }
    },
    "paging": {
      "type": "object",
      "description": "Pagination metadata",
      "properties": {
        "start": {
          "type": "number",
          "description": "Pagination start offset"
        },
        "count": {
          "type": "number",
          "description": "Number of results returned"
        },
        "total": {
          "type": "number",
          "description": "Total available results"
        }
      }
    }
  }
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "linkedin_ads": {
      "url": "https://gateway.pipeworx.io/linkedin_ads/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026