linkedin-ads
v1.2.2MCP server for LinkedIn Campaign Manager — campaigns, creatives, and analytics
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
linkedin_ads_get_client_context
Get the current client context and health status based on working directory. Call this first to confirm which LinkedIn Ads account you're working with.
| Parameter | Type | Description |
|---|---|---|
working_directory * | string | The current working directory |
linkedin_ads_list_accounts
List all active LinkedIn Ad Accounts the authenticated user has access to.
linkedin_ads_list_campaign_groups
List campaign groups for a LinkedIn Ad Account.
| Parameter | Type | Description |
|---|---|---|
account_id | string | The ad account ID (uses context if not provided) |
linkedin_ads_list_campaigns
List campaigns for a LinkedIn Ad Account, with optional status and campaign group filters.
| Parameter | Type | Description |
|---|---|---|
account_id | string | The ad account ID |
campaign_group_id | string | Filter by campaign group ID |
status | array | Filter by status: ACTIVE, PAUSED, ARCHIVED, COMPLETED, CANCELED, DRAFT. Default: ACTIVE, PAUSED |
linkedin_ads_campaign_performance
Get campaign-level performance metrics (impressions, clicks, spend, conversions, leads, engagement, video views, reach, frequency) for a date range. Reach = approximateMemberReach (unique members exposed); frequency = impressions / reach (computed server-side). This is the main reporting tool for weekly slides.
| Parameter | Type | Description |
|---|---|---|
end_date * | string | End date YYYY-MM-DD |
start_date * | string | Start date YYYY-MM-DD |
account_id | string | |
time_granularity | string | ALL (default), DAILY, or MONTHLY |
linkedin_ads_account_performance
Get account-level aggregate performance metrics for a date range. Good for high-level summaries. Note: reach (approximateMemberReach) and the derived frequency field are not populated at pivot=ACCOUNT; query at CAMPAIGN/CAMPAIGN_GROUP via linkedin_ads_campaign_performance or linkedin_ads_analytics if you need reach.
| Parameter | Type | Description |
|---|---|---|
end_date * | string | End date YYYY-MM-DD |
start_date * | string | Start date YYYY-MM-DD |
account_id | string | |
time_granularity | string | ALL (default), DAILY, or MONTHLY |
linkedin_ads_analytics
Flexible analytics query with custom pivot, fields, and filters. Use for demographic breakdowns, device splits, creative performance, etc.
| Parameter | Type | Description |
|---|---|---|
end_date * | string | End date YYYY-MM-DD |
pivot * | string | Pivot dimension: ACCOUNT, CAMPAIGN_GROUP, CAMPAIGN, CREATIVE, MEMBER_COMPANY_SIZE, MEMBER_INDUSTRY, MEMBER_SENIORITY, MEMBER_JOB_FUNCTION, MEMBER_COUNTRY_V2, IMPRESSION_DEVICE_TYPE, etc. |
start_date * | string | Start date YYYY-MM-DD |
account_id | string | |
campaign_group_ids | array | Filter by campaign group IDs |
campaign_ids | array | Filter by numeric string campaign IDs |
fields | array | Metrics to return. Default: impressions, clicks, costInLocalCurrency, landingPageClicks, oneClickLeads, oneClickLeadFormOpens, externalWebsiteConversions, externalWebsitePostClickConversions, totalEng… |
time_granularity | string | ALL (default), DAILY, or MONTHLY |
linkedin_ads_list_predictive_audiences
List LinkedIn Predictive Audiences (lookalikes) in an ad account: each parent DMP segment with its name, destinations/build status, location filter, seeds and desiredAudienceCount. account_id is required (never taken from the working directory).
| Parameter | Type | Description |
|---|---|---|
account_id * | string | Ad account id |
linkedin_ads_get_predictive_audience
Get one LinkedIn Predictive Audience by its parent DMP segment id: name, account, destinations (build status, size), targetingFilter (locations), seeds, desiredAudienceCount and versionTag.
| Parameter | Type | Description |
|---|---|---|
dmp_segment_id * | string | Parent DMP segment id (the id shown by list_predictive_audiences) |