> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pinkfish.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# linkedin-marketing

> Ad campaigns and analytics

**Server path:** `/linkedin-marketing` | **Type:** Application | **PCID required:** Yes

## Tools

| Tool                                                                        | Description                                   |
| --------------------------------------------------------------------------- | --------------------------------------------- |
| [`linkedin_marketing_create_campaign`](#linkedin_marketing_create_campaign) | Create a new advertising campaign on LinkedIn |
| [`linkedin_marketing_get_campaign`](#linkedin_marketing_get_campaign)       | Get campaign details                          |
| [`linkedin_marketing_list_campaigns`](#linkedin_marketing_list_campaigns)   | List advertising campaigns                    |
| [`linkedin_marketing_create_ad`](#linkedin_marketing_create_ad)             | Create a new ad creative                      |
| [`linkedin_marketing_get_analytics`](#linkedin_marketing_get_analytics)     | Get campaign analytics and performance data   |
| [`linkedin_marketing_update_campaign`](#linkedin_marketing_update_campaign) | Update an existing campaign                   |

***

## linkedin\_marketing\_create\_campaign

Create a new advertising campaign on LinkedIn

**Parameters:**

| Parameter     | Type   | Required | Default   | Description                      |
| ------------- | ------ | -------- | --------- | -------------------------------- |
| `name`        | string | Yes      | —         | Campaign name                    |
| `accountId`   | string | Yes      | —         | LinkedIn advertising account ID  |
| `type`        | string | Yes      | —         | Campaign type                    |
| `status`      | string | No       | `"DRAFT"` | Campaign status                  |
| `dailyBudget` | number | No       | —         | Daily budget in account currency |
| `totalBudget` | number | No       | —         | Total budget in account currency |
| `startDate`   | string | Yes      | —         | Campaign start date (YYYY-MM-DD) |
| `endDate`     | string | No       | —         | Campaign end date (YYYY-MM-DD)   |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "name": {
        "type": "string",
        "description": "Campaign name"
      },
      "accountId": {
        "type": "string",
        "description": "LinkedIn advertising account ID"
      },
      "type": {
        "type": "string",
        "enum": [
          "SPONSORED_CONTENT",
          "SPONSORED_MESSAGING",
          "TEXT_ADS",
          "DYNAMIC_ADS"
        ],
        "description": "Campaign type"
      },
      "status": {
        "type": "string",
        "enum": [
          "ACTIVE",
          "PAUSED",
          "ARCHIVED",
          "DRAFT"
        ],
        "default": "DRAFT",
        "description": "Campaign status"
      },
      "dailyBudget": {
        "type": "number",
        "description": "Daily budget in account currency"
      },
      "totalBudget": {
        "type": "number",
        "description": "Total budget in account currency"
      },
      "startDate": {
        "type": "string",
        "description": "Campaign start date (YYYY-MM-DD)"
      },
      "endDate": {
        "type": "string",
        "description": "Campaign end date (YYYY-MM-DD)"
      }
    },
    "required": [
      "PCID",
      "name",
      "accountId",
      "type",
      "startDate"
    ]
  }
  ```
</Expandable>

***

## linkedin\_marketing\_get\_campaign

Get campaign details

**Parameters:**

| Parameter    | Type   | Required | Default | Description             |
| ------------ | ------ | -------- | ------- | ----------------------- |
| `campaignId` | string | Yes      | —       | Campaign ID to retrieve |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "campaignId": {
        "type": "string",
        "description": "Campaign ID to retrieve"
      }
    },
    "required": [
      "PCID",
      "campaignId"
    ]
  }
  ```
</Expandable>

***

## linkedin\_marketing\_list\_campaigns

List advertising campaigns

**Parameters:**

| Parameter   | Type   | Required | Default | Description                     |
| ----------- | ------ | -------- | ------- | ------------------------------- |
| `accountId` | string | Yes      | —       | LinkedIn advertising account ID |
| `status`    | string | No       | —       | Filter by campaign status       |
| `count`     | number | No       | `50`    | Number of campaigns to return   |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "accountId": {
        "type": "string",
        "description": "LinkedIn advertising account ID"
      },
      "status": {
        "type": "string",
        "enum": [
          "ACTIVE",
          "PAUSED",
          "ARCHIVED",
          "DRAFT"
        ],
        "description": "Filter by campaign status"
      },
      "count": {
        "type": "number",
        "default": 50,
        "description": "Number of campaigns to return"
      }
    },
    "required": [
      "PCID",
      "accountId"
    ]
  }
  ```
</Expandable>

***

## linkedin\_marketing\_create\_ad

Create a new ad creative

**Parameters:**

| Parameter        | Type   | Required | Default | Description            |
| ---------------- | ------ | -------- | ------- | ---------------------- |
| `campaignId`     | string | Yes      | —       | Campaign ID for the ad |
| `name`           | string | Yes      | —       | Ad creative name       |
| `headline`       | string | Yes      | —       | Ad headline            |
| `description`    | string | Yes      | —       | Ad description         |
| `callToAction`   | string | Yes      | —       | Call to action button  |
| `destinationUrl` | string | Yes      | —       | Landing page URL       |
| `imageUrl`       | string | No       | —       | Creative image URL     |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "campaignId": {
        "type": "string",
        "description": "Campaign ID for the ad"
      },
      "name": {
        "type": "string",
        "description": "Ad creative name"
      },
      "headline": {
        "type": "string",
        "description": "Ad headline"
      },
      "description": {
        "type": "string",
        "description": "Ad description"
      },
      "callToAction": {
        "type": "string",
        "enum": [
          "LEARN_MORE",
          "SIGN_UP",
          "DOWNLOAD",
          "APPLY_NOW",
          "CONTACT_US",
          "GET_QUOTE"
        ],
        "description": "Call to action button"
      },
      "destinationUrl": {
        "type": "string",
        "description": "Landing page URL"
      },
      "imageUrl": {
        "type": "string",
        "description": "Creative image URL"
      }
    },
    "required": [
      "PCID",
      "campaignId",
      "name",
      "headline",
      "description",
      "callToAction",
      "destinationUrl"
    ]
  }
  ```
</Expandable>

***

## linkedin\_marketing\_get\_analytics

Get campaign analytics and performance data

**Parameters:**

| Parameter    | Type      | Required | Default | Description                            |
| ------------ | --------- | -------- | ------- | -------------------------------------- |
| `campaignId` | string    | No       | —       | Specific campaign ID                   |
| `accountId`  | string    | No       | —       | Account ID for account-level analytics |
| `startDate`  | string    | Yes      | —       | Analytics start date (YYYY-MM-DD)      |
| `endDate`    | string    | Yes      | —       | Analytics end date (YYYY-MM-DD)        |
| `metrics`    | string\[] | No       | —       | Specific metrics to retrieve           |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "campaignId": {
        "type": "string",
        "description": "Specific campaign ID"
      },
      "accountId": {
        "type": "string",
        "description": "Account ID for account-level analytics"
      },
      "startDate": {
        "type": "string",
        "description": "Analytics start date (YYYY-MM-DD)"
      },
      "endDate": {
        "type": "string",
        "description": "Analytics end date (YYYY-MM-DD)"
      },
      "metrics": {
        "type": "array",
        "items": {
          "type": "string",
          "enum": [
            "impressions",
            "clicks",
            "cost",
            "conversions",
            "ctr",
            "cpc",
            "cpm"
          ]
        },
        "description": "Specific metrics to retrieve"
      }
    },
    "required": [
      "PCID",
      "startDate",
      "endDate"
    ]
  }
  ```
</Expandable>

***

## linkedin\_marketing\_update\_campaign

Update an existing campaign

**Parameters:**

| Parameter     | Type   | Required | Default | Description             |
| ------------- | ------ | -------- | ------- | ----------------------- |
| `campaignId`  | string | Yes      | —       | Campaign ID to update   |
| `name`        | string | No       | —       | Updated campaign name   |
| `status`      | string | No       | —       | Updated campaign status |
| `dailyBudget` | number | No       | —       | Updated daily budget    |
| `totalBudget` | number | No       | —       | Updated total budget    |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "campaignId": {
        "type": "string",
        "description": "Campaign ID to update"
      },
      "name": {
        "type": "string",
        "description": "Updated campaign name"
      },
      "status": {
        "type": "string",
        "enum": [
          "ACTIVE",
          "PAUSED",
          "ARCHIVED"
        ],
        "description": "Updated campaign status"
      },
      "dailyBudget": {
        "type": "number",
        "description": "Updated daily budget"
      },
      "totalBudget": {
        "type": "number",
        "description": "Updated total budget"
      }
    },
    "required": [
      "PCID",
      "campaignId"
    ]
  }
  ```
</Expandable>
