Back to LinkedIn Ads in Google Sheets
SheetXAI logo
LinkedIn Ads logo
LinkedIn Ads · Google Sheets Guide

Pull LinkedIn Ads Campaign Performance Metrics Into a Google Sheet

2026-05-14
5 min read

The Scenario

You manage twelve active LinkedIn campaigns across two product lines. Every Monday morning, the marketing lead wants a fresh performance table — impressions, clicks, CTR, spend, conversions — for the weekly review. You've been exporting the CSV from Campaign Manager, reformatting the columns, and pasting it into the reporting sheet by hand. This is the third week in a row you've done it before 9 AM so the slide deck is ready when the call starts.

The bad version:

  • Log into Campaign Manager, navigate to reporting, set the date range to last 7 days, export CSV, wait for the download.
  • Open the file, delete the three columns your sheet doesn't use, rename the four columns that Campaign Manager exports with different headers than your sheet expects.
  • Copy-paste all twelve rows into the live reporting sheet, check that none of the campaign names got truncated during export, update the date stamp in cell A1.

This task exists somewhere between "technically quick" and "always takes longer than expected." If one of the campaigns is paused mid-week, the export format shifts slightly and the paste breaks something. There are forty-seven other things on your list this week, and none of them are formatting CSVs.

The Easy Way: One Prompt in SheetXAI

SheetXAI is an AI agent that lives inside your Google Sheet. It reads the sheet, understands the column structure, and through its LinkedIn Ads integration it can pull campaign analytics directly — no export, no reformatting, no manual paste.

Pull LinkedIn Ads analytics for all campaigns in account ID 12345 for the last 7 days and write the campaign name, impressions, clicks, CTR, spend, and conversions into columns A through F starting at row 2

What You Get

  • Row 2 onward: one campaign per row, populated with the exact metrics you asked for.
  • Column A: campaign name as it appears in Campaign Manager.
  • Columns B–F: impressions, clicks, CTR, spend, and conversions, each in the correct numeric format for your downstream formulas.
  • Any campaign with zero activity for the period still appears as a row with zeros — nothing is silently dropped.

What If the Data Is Not Quite Ready

The campaign names in my sheet don't match what LinkedIn returns

Pull LinkedIn Ads analytics for all campaigns in account ID 12345 for the last 7 days. For each campaign, if the name contains "PMax" replace it with "Performance Max" in column A, then write impressions, clicks, and spend into columns B, C, and D

Some rows have spend but no conversions recorded yet

Pull LinkedIn Ads analytics for campaigns in account ID 12345 for the last 7 days. Write spend into column C and conversions into column D. If conversions for a campaign are null or zero, write 0 rather than leaving the cell blank, and flag the row in column E with "check conversion tracking"

I need to merge data from two account IDs into the same sheet

Pull LinkedIn Ads analytics for account ID 12345 and account ID 67890 for the last 7 days. Combine all campaigns into a single list, add an Account column in column A showing which account each campaign belongs to, then write campaign name, impressions, clicks, and spend into columns B through E

Cleanup plus pull plus ranking in one shot

Pull LinkedIn Ads analytics for all campaigns in account ID 12345 for the last 30 days. Remove any campaigns with zero impressions from the result, sort the remaining rows by spend descending, add a Rank column in column A, and write campaign name, impressions, clicks, spend, and CTR into columns B through F

The underlying pattern: ask for the cleanup condition and the writeback together. One prompt handles the filtering logic so you don't have to apply it manually after the data lands.

Try It

Get the 7-day free trial of SheetXAI and open your LinkedIn campaign reporting sheet, then ask it to pull last week's performance data for all active campaigns in one go. For more LinkedIn Ads workflows, see the audit of creative serving issues or the guide to pulling page follower stats.

Stop memorizing formulas.
Tell your spreadsheet what to do.

Join 4,000+ professionals saving hours every week with SheetXAI.

Learn more