Claude Code guideReel keyword: DASHBOARD

A Facebook ads dashboard with the four numbers clients need

Ads Manager has hundreds of columns. A client needs four: spend, leads, cost per lead and cost per qualified lead. This guide builds that dashboard with Claude Code, in kroner, with the token kept on your server.

Part 1 open with your account Full program 6 modules Time About 3 hours for part 1

What you get

  • A one page dashboard: spend, leads, cost per lead and cost per qualified lead
  • Drill down from campaign to ad set to ad, with a period filter
  • A read only proxy, so the access token never reaches the browser
  • Both prompts from the video, ready to copy

You need

  • Claude Code with a Claude plan that includes it, or an Anthropic API key
  • A Meta access token with the ads_read permission for the ad account
  • A CRM export or API with the lead status (you can add it later)
  • Hosting or a small server with HTTPS when you share the link

Why four numbers beat two hundred columns

Ads Manager can show hundreds of columns. A business owner needs four to make a decision: spend, leads, cost per lead and cost per qualified lead. The last one does not exist in Ads Manager, because whether a lead became a real conversation with a customer lives in your CRM, not in Facebook.

When a client asks "is Facebook working?", you send a link, not a screenshot. They pick a period, click a campaign, see its ad sets, then the ads. In kroner.

What the dashboard does

  • Pulls spend, impressions and clicks from the Meta Graph API: campaigns, ad sets, ads and a period picker.
  • Matches every lead with the CRM, so you see the cost per qualified lead, not only the cost per lead.
  • Shows money as Norwegians read it: 12 450 kr.
  • One link for the client, without a login to Ads Manager.
  • Keeps the Facebook token on the server behind a read only proxy. The browser never sees it.

The detail most dashboards get wrong: the token

If the access token sits in the JavaScript of the page, anyone who opens the dashboard can copy it and read your ad account, or worse, if the token has more permissions. In our dashboard the page asks our own server, the server adds the token and passes only read requests to Meta.

  1. BrowserAsks your own domain for numbers. No token here.
  2. Your server, the proxyAdds the token, lets through only GET requests for your ad account.
  3. Meta Graph APIAnswers with spend, impressions, clicks and leads.

Who this guide is for

Agencies and freelancers who report to clients every week, and owners who want one screen instead of Ads Manager. Claude Code writes the code. You decide what a qualified lead is and which four numbers the client sees first.

Part 1 · Open with your account

Build it on demo data, then connect it safely

What part 1 covers

  1. Decide what a qualified lead is
  2. The first prompt: one page, four numbers
  3. Check it on a phone
  4. Connect Meta, with the token on the server
  5. Prove that the token is gone

Create your account to open part 1

Enter your email and click the activation link we send you. Part 1 opens right away, at no cost.

Full program · Paid

The ads dashboard, full program

Part 1 gives you a working first version. The full program takes it all the way to a setup you can run every day.

  1. Lead quality from the CRMMatch every Meta lead with its CRM status and deal, and show cost per qualified lead at every level.
  2. CRM pagesEvery lead and every deal, so you can follow one person from the ad to the signed contract.
  3. Compare periodsThis week against last week, with the change in kroner and in percent.
  4. Hosting with HTTPSnginx, the proxy as a service and cache busting, so clients always see the latest version.
  5. Client accessOne link per client, no Ads Manager logins, and how to remove access again.
  6. Token careLong lived system user tokens, renewal without touching the code, and what to do when Meta revokes a token.
PriceThe price is shown here before payment opens.
Get the full program

All eleven programs in one bundle · Terms of sale

Sources

  1. Insights API, Meta for Developersdevelopers.facebook.com/docs/marketing-api/insights
  2. Access tokens, Meta for Developersdevelopers.facebook.com/docs/facebook-login/guides/access-tokens

Questions and answers

Why not use Looker Studio?

You can. A dashboard of your own lets you join the CRM status, show exactly the four numbers your client reads and keep the token on your own server. The trade off is that you maintain it yourself.

Does the client need a Facebook login?

No. The client opens one link. Your server reads the data with your token, and the client sees only the dashboard. Nobody needs access to Ads Manager.

Which Meta permission does the dashboard need?

Reading insights needs a token with the ads_read permission and access to the ad account. The dashboard never needs permission to change ads, so do not give it one.

Does it work for ad accounts in other currencies?

The Insights API returns spend in the currency of the ad account. The guide formats it as kroner because the account is in NOK. For another currency, change the format, or convert with a fixed rate and say so on the page.

About the author

Vladyslav Lysechko
Vladyslav Lysechko, Performance marketer, Lysechko Digital, Rånåsfoss, Nes, Norway

I have worked with ads on Google, Meta and TikTok for more than seven years and personally managed ad budgets from $1,000 a day up to $50,000 a month. For the last two years I have built websites, automations and AI assistants with AI every day. I help local businesses in Oslo and on Romerike get more calls and bookings. LinkedIn

More Claude Code guides

EVAAbout 3 hours for part 1

Eva: an AI ads manager for Meta ads

Step by step guide to Eva, an AI ads manager in your team chat: Meta ads reports, cost per qualified lead and rules that work like a specialist.

Part 1: open with your accountFull program: 7 modules

FACTS5 minutes to read, part 1 about 1 hour

Opus 5.5: facts and fakes, with sources

Is Opus 5.5 really on the Free plan? When did it come out? Four fakes and six facts about Claude Opus 5.5, each checked on Anthropic's own pages.

Part 1: open with your accountFull program: 6 modules

MAILAbout 3 hours for part 1, plus waiting for DNS

Your own email server with Postal

Set up Postal, an open source email server, on your own VPS with Claude Code: Docker, nginx, TLS, an IPv4 pool and the DNS records that remain.

Part 1: open with your accountFull program: 7 modules

All guides

Let's have a short call

Tell me a little about your business and you get a concrete suggestion with a fixed price.

Email vlad@lysechko.com · Phone +47 462 17 168

Book a short call WhatsApp (opens in a new tab)