linkedin_ads_get_performance_report

Get LinkedIn Ads Performance Report

Linkedin

Description

Get a full-funnel performance report with up to 3 pivot dimensions and optional per-conversion-action breakdown. For Conversation Ads / Message Ads (Sponsored Messaging), set metric_set to SPONSORED_MESSAGING to get sends, opens, open rate, engagement rate and cost per send — these campaigns report sends, not impressions. MEMBER_* demographic pivots are not supported here — use linkedin_ads_get_insights instead. Results are paged (default 100 rows, max 1000 per page); when nextCursor is present, call again with cursor set to it to fetch the next page. Video: video_completions counts against video starts, not against video_views. video_views is LinkedIn's 2-second feed view; Connected TV (CTV) and other non-feed placements report video_views 0 with completions near impressions, which is correct data; a row that sums CTV with feed delivery (e.g. an ACCOUNT pivot) has partial video_views and completions far above them. Whenever completions exceed views the response carries a video_completions_without_views warning. Compute completion rate as video_completions / impressions; video starts and quartiles are in linkedin_ads_get_insights (videoStarts, videoFirstQuartileCompletions...). Creative intelligence: with a CREATIVE pivot each row carries a \

Read-onlyIdempotentOpen-world

Usage

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "linkedin_ads_get_performance_report",
    "arguments": {
      "account_id": "123456789",
      "pivots": [
        "CAMPAIGN"
      ],
      "date_preset": "LAST_30_DAYS",
      "reason": "User wants full campaign performance report"
    }
  }
}

Parameters

NameTypeRequiredDescription
account_id string Required Ad account ID (numeric, without URN prefix).minLength: 1
reason string Required Why this tool call is neededminLength: 1, maxLength: 500
Optional parameters (13)
NameTypeRequiredDescription
pivots array Optional Up to 3 pivot dimensions. Defaults to [CAMPAIGN], or to [CREATIVE] when group_by is set. OBJECTIVE_TYPE is only available in q=statistics. A CREATIVE pivot adds a creative-intelligence `profile` block to each row.
group_by string Optional Group the creatives by one creative-intelligence attribute (e.g. hook_type, format) and return one row per value with summed metrics, creative_count and a representative creative_id (the highest-spend creative) to pass to linkedin_ads_get_creative_analysis. Needs creative intelligence enabled on the ad account; creatives without a profile share the null group. Requires pivots to be omitted or [CREATIVE], time_granularity ALL and no cursor; every group comes back in one response.
format hook_type archetype promise_type visual_style has_voiceover has_captions has_person_on_screen aspect_ratio
date_preset string Optional
LAST_7_DAYS LAST_14_DAYS LAST_30_DAYS THIS_MONTH LAST_MONTH LAST_90_DAYS
start_date string Optional
end_date string Optional
time_granularity string Optional
ALL DAILY MONTHLY
campaign_ids array Optional
campaign_group_ids array Optional
metric_set string Optional Which metrics to report. FULL_FUNNEL (default): impressions, clicks, spend, conversions, leads, video, reach. SPONSORED_MESSAGING: for Conversation Ads / Message Ads, which report sends instead of impressions — spend, sends, opens, clicks, action/ad-unit/text-URL clicks, headline impressions/clicks, engagements, lead-gen mail shares/interested clicks, leads, conversions, reach, plus open_rate, engagement_rate, cost_per_send and cost_per_open.
FULL_FUNNEL SPONSORED_MESSAGING
include_conversion_breakdown boolean Optional Run a second query for per-conversion-action breakdown. Adds one extra API call.
limit integer Optional Maximum rows per page (1-1000, default 100). count is the total across all pages; when nextCursor is present, call again with cursor set to it to fetch the next page.min: 1, max: 1000
cursor string Optional Opaque cursor from a previous response's nextCursor. Pass it with the same other parameters to fetch the next page; do not construct it.minLength: 1, maxLength: 4096
connection_id string Optional Optional ID of a specific connection to use for this call. Omit to use the actor's default connection for this network. Call <platform>_list_connections to discover available connection IDs.

Examples

Campaign report

{
  "account_id": "123456789",
  "pivots": [
    "CAMPAIGN"
  ],
  "date_preset": "LAST_30_DAYS",
  "reason": "User wants full campaign performance report"
}

hopkin linkedin performance-report get --account 123456789 --pivots CAMPAIGN --date-preset LAST_30_DAYS

With conversion breakdown

{
  "account_id": "123456789",
  "pivots": [
    "CAMPAIGN"
  ],
  "date_preset": "LAST_30_DAYS",
  "include_conversion_breakdown": true,
  "reason": "Show conversion breakdown by campaign"
}

hopkin linkedin performance-report get --account 123456789 --pivots CAMPAIGN --date-preset LAST_30_DAYS --include-conversion-breakdown true

Which hook types drive the cheapest leads

{
  "account_id": "123456789",
  "group_by": "hook_type",
  "date_preset": "LAST_30_DAYS",
  "reason": "Compare cost per lead across creative hook types"
}

hopkin linkedin performance-report get --account 123456789 --group-by hook_type --date-preset LAST_30_DAYS

Daily campaign group

{
  "account_id": "123456789",
  "pivots": [
    "CAMPAIGN_GROUP"
  ],
  "time_granularity": "DAILY",
  "date_preset": "LAST_7_DAYS",
  "reason": "Daily trend by campaign group"
}

hopkin linkedin performance-report get --account 123456789 --pivots CAMPAIGN_GROUP --time-granularity DAILY --date-preset LAST_7_DAYS