I built a dashboard to store LinkedIn Ads data

How I moved LinkedIn's company engagement report into my own React dashboard through a LinkedIn MCP, then added filters for product-aware companies and fast risers.

I built a dashboard to store LinkedIn Ads data.

Last week I built an MCP to connect LinkedIn with a language model and to follow up on that I created a react dashboard which can host these data.

The report I look at most

One report that I look at very often is this one, so I want to import these data first.

Image

The cool thing about this report is that you see ads exposure. This allows you to mark who are the companies that for sure know your product and who are the one that don’t.

Comparing reports week by week

But there is more, by comparing these two reports week by week you can see which companies are new to ads exposure and if there is some fast riser.

Imagine someone sees your ads and they share it with a colleague then the colleague click and re-share it this is when you the engagement rises fast and you know within a certain company there is awareness about your product.

Building the dashboard

Step 1: Scaffold a small React dashboard

The first prompt is to build an empty shell. I use a very straightforward prompt to make sure the design is minimal.

Prompt: Build me a small React dashboard for LinkedIn ad performance. A sidebar with my campaigns, a main area with a sortable table, and a header with a date-range picker. Use placeholder data for now.

Step 2: Pull company engagement per campaign in the dashboard

The second prompt connects the dashboard to real data through the LinkedIn MCP. This is when stuff gets interesting because if this works we can see the level of engagement for each company.

Prompt: Using the LinkedIn MCP, get the company-level engagement for each of my active campaigns over the last 30 days: impressions, clicks, spend and CTR per company. Replace the placeholder data in the dashboard with this.

See which companies are product aware

The reason I like this report is that I can see which companies were exposed to the ads. With this information I can do a few things.

1. Improve the targeting and see if all of these companies are ICPs

With this report i can decide to exclude certain companies. Imagine I find a company I want to exclude from my targeting because it is not an ICP or because the deal is close and I want them to see a different type of ad. Actually now that I think of it I might create a button to do this). It would be cool to do it in the next video as a mini-feature.

2. See which companies are product aware

You can set a rule for example, if a company saw an ad more than x times maybe you can reach out to them or you can move them in another campaign to change the messaging. To have this clear I will add a filter here where I can select companies that are product aware

Prompt: Add a "Product aware" filter above the table. A company counts as product aware when it has at least X impressions across my campaigns in the selected date range. Put an editable number input next to the filter so I can change X, with 20 as the default. When the filter is on, show only those companies, add a "Total impressions" column, and sort by it from high to low.

3. See companies that engage

I also want to see companies who engaged with my ads. this is useful because if you see a spike in engagement this could be a signal that you are on their radar or they are doing some research to buy a solution for the problem you’re solving. Especially if you see CTR rising and organic engagement rising. This is a nice information to push into your CRM or automate a slack notification to your team.

So to build that i want to add a filter for fast risers: Companies whose engagement is climbing quickly. To do that I need to compare the last 7 days with the 7 days before, and rank by growth of engagement (CTR, and organic engagement)

Prompt: Add a "Fast risers" filter. Using the LinkedIn MCP, get the company-level engagement for the last 7 days and for the 7 days before that. For each company, calculate the change in CTR and in organic engagement between the two periods, and rank companies by that growth. Only include companies with at least 50 impressions in the last 7 days, so one person clicking twice doesn't top the list. Show both periods side by side with the % change for each metric.

Every prompt I used

1. Scaffold the dashboard

Build me a small React dashboard for LinkedIn ad performance. A sidebar with my campaigns, a main area with a sortable table, and a header with a date-range picker. Use placeholder data for now.

2. Pull company engagement per campaign

Using the LinkedIn MCP, get the company-level engagement for each of my active campaigns over the last 30 days: impressions, clicks, spend and CTR per company. Replace the placeholder data in the dashboard with this.

3. Product aware filter

Add a "Product aware" filter above the table. A company counts as product aware when it has at least X impressions across my campaigns in the selected date range. Put an editable number input next to the filter so I can change X, with 20 as the default. When the filter is on, show only those companies, add a "Total impressions" column, and sort by it from high to low.

4. Fast risers filter

Add a "Fast risers" filter. Using the LinkedIn MCP, get the company-level engagement for the last 7 days and for the 7 days before that. For each company, calculate the change in CTR and in organic engagement between the two periods, and rank companies by that growth. Only include companies with at least 50 impressions in the last 7 days, so one person clicking twice doesn't top the list. Show both periods side by side with the % change for each metric.

LinkedIn AdsPaid SocialABM