Lead Distro AILead Distro AI
DocsIntegrationsMeta Ads Integration

Meta Ads Integration

Connect Lead Distro AI with Meta Ads: sync ad spend to leads and calls campaigns, track conversions via the Conversions API, connect Facebook and Instagram lead forms, and attribute revenue to traffic sources.

Last updated:

Overview

Connect your Meta (Facebook/Instagram) ad accounts to automatically sync ad spend, track conversions via the Conversions API (CAPI), and ingest leads directly from Facebook Lead Forms.

Ad Spend Tracking

  • Go to Settings → Integrations → Meta Ads and click Connect.
  • Authenticate with Facebook and select your ad accounts.
  • Or connect while you create a campaign. In Create Campaign, when the source is your own Meta ads, the Connect ad account step opens the Facebook sign-in in a small window. When it closes you stay on that step: pick the ad account, tick the Meta campaigns that pay for this source, then click Continue. They are linked to the new source when the campaign is created. To send Meta campaigns you launch later to this source too, turn on Auto-map new campaigns under the list (it shows once you tick a campaign; you can also change it later from the source on the campaign page). If your browser blocks the window, allow pop-ups for the site and click the button again.
  • Connected Meta before you have a campaign? The Map Meta campaigns window says to create a campaign first. Your Meta connection is saved: click Create Campaign and pick the Meta campaigns while you set it up. If the campaign you pick has no source yet, click Add a source to open that campaign's Add Source window.
  • Map your Meta campaigns/ad sets to Lead Distro AI campaigns and suppliers. The quickest place is the source itself: open the campaign, edit the source, set Cost to Ad Account Spend, pick the ad account, and tick the campaigns that pay for its leads. The panel shows the last 30 days of mapped spend, your cost per lead, and spend in the account that no source counts.
  • In a multi-channel campaign, link the ad account once. Open the multi-channel campaign and click the source's row in Campaign Routing (or choose Edit source configuration in its ⋮ menu). Set Cost to Ad account spend, then pick the platform, the ad account and the ad campaigns one time. They are linked to one channel (Leads, else the first channel the source is on), so the spend is counted once, and every other channel of that source switches to Ad account spend and shows the same account. The same panel turns the source on or off per channel and sets one price for every channel (or Set per channel). Advanced picks which channel the ad campaigns are linked to and opens each channel's full source settings.
  • Turn on Auto-map new campaigns to map campaigns you launch later without coming back. With the Labs feature Ad spend panel with auto-map name rules on (Settings → Labs), add a name rule (Only if the name contains) so only the right ones come to this source, for example PLD WC. Several sources can share one ad account, each with its own rule. A new campaign whose name matches two rules goes to neither, so you can sort it out by hand. With no rule, the source takes every new campaign no other rule claims. Auto-map works for Meta ad accounts.
  • Spend syncs automatically every day — costs are attributed to the correct campaigns.
  • A lead's cost is that day's ad spend split across that day's leads, so it keeps changing while new spend syncs and more leads arrive. Meta also corrects spend for about 3 days. Until then the Cost column on the Leads page shows Est. under the amount; hover it to see when spend last updated.

Meta Ad Spend on a Calls Campaign

Yes, Meta ad spend can count as the cost of a Calls campaign. Open the Calls campaign and edit the Source that gets the calls from your Meta ads. In Edit Source Settings → Cost Settings, set Mode to Ad account spend. Then pick the ad account and tick the Meta campaigns that bring in its calls.

  • The spend shows as the Source's total cost, on the campaign's Sources and in your campaign totals and profit. It is not split across calls: each call has no per-call cost from ad spend.
  • Map from Settings instead: go to Settings → Integrations → Meta Ads and click Map on the ad account. Pick the Calls campaign and the Source there.
  • Auto-map new campaigns works on a calls Source too, in the same Ad account spend panel. Name rules need the Labs feature Ad spend panel with auto-map name rules.
  • One owner per ad campaign: a Meta campaign's spend for a day counts under one Source on one campaign. When the same ads feed a leads funnel and a calls number, map each Meta campaign to the Source that should carry its cost.

Meta Ad Account and Campaign in Different Currencies

Lead Distro AI does not convert Meta ad spend between currencies. Meta ad spend is saved as the number Meta reports, in the campaign's currency. So 100 euros of Meta spend shows as $100 in a US dollar campaign. Cost per lead and profit are only right when the Meta ad account and the campaign use the same currency.

To see a campaign's currency, open the campaign and go to Settings → General → Currency. The Currency field locks once the campaign has leads, so pick it before leads arrive.

Ads Manager: see Meta campaigns with real cost per lead (Beta)

Ads Manager is a Labs beta page that shows your Meta campaigns, ad sets and ads next to your real leads, revenue and profit. Turn it on in Settings → Labs → Ads Manager, then click Ads Manager in the sidebar. Ads Manager is look only: it never creates, edits or pauses your ads.

Ads Manager opens for workspace members who can see Reports and money figures and are not limited to some campaigns, Sources or Destinations. The workspace also needs a connected Meta ad account.

Ads Manager cards: Ad spend, Cost per result, Leads tracked, Acceptance

The top of Ads Manager shows four cards. Click a card to draw it on the chart below. Each card compares with the same number of days just before, when there is enough data.

CardWhat it means
Ad spendWhat Meta charged in the date range, with revenue and ROAS (revenue divided by spend).
Cost per resultSpend divided by Meta's results. A result is the event each ad set is optimized for, the same as in Meta Ads Manager.
Leads trackedLeads that reached Lead Distro AI with the Meta ad ID attached, out of Meta's results. Missing ad ID is a result Meta counted that Lead Distro AI could not match to an ad.
AcceptanceAccepted leads divided by tracked leads that were not duplicates.
AppointmentsShown instead of Acceptance when the campaign goal is Appointments: booked, showed, no-show and canceled, with cost per appointment and show rate.

Ads Manager campaigns that optimize for a custom event

Ads Manager counts campaigns that optimize for a custom event, a custom conversion or Submit application. Ads Manager reads Meta's own Results for each ad set and names the event, for example "Applications (website)" or your custom conversion's name. A campaign whose ad sets count different events shows Multiple events.

Set the Ads Manager campaign goal and targets

In Ads Manager, click the goal button at the top right of the cards. Pick Leads (form leads sold to Destinations) or Appointments. Click Set targets… to add a target cost per result, track rate, acceptance or cost per appointment. Each target draws a dashed line on its chart. The goal and targets are saved for the whole workspace.

Ads Manager table: columns, totals and drill-down

The Ads Manager table groups its columns into Ad performance (spend, results, cost per result, Meta cost per result, CPL (Acc)), Economics (revenue, profit, margin) and Lead quality (results, tracked and accepted leads, duplicate rate, acceptance). Cost per result is spend divided by leads that reached Lead Distro AI with an ad ID; Meta cost per result is spend divided by Meta's own results. CPL (Acc) is spend divided by accepted leads. Cost per result and CPL (Acc) are shaded green (cheapest) to red (most expensive). The last row adds up every row shown.

In the Ads Manager table, click Columns to choose which columns show. Every column can be turned on or off, including the default ones. Search by name, or use Select all and Deselect all. Extra columns include daily budget, duplicates, DQ rate, conversions, cost per conversion, CTR, CPC, and any Meta event your ad accounts reported. Your choice is saved in this browser. If you hide the column the table is sorted by, the sort turns off. Click a campaign name to see its ad sets, and an ad set name to see its ads. Click the tracked count to see those leads.

Conversions API (CAPI)

Using a Lead Distro AI funnel? Set up Meta on the funnel, not here. Open the funnel, go to the Integrations tab, and click the Meta card. Paste your Pixel ID and Conversions API access token. The funnel sends each conversion from the visitor's browser (the pixel) and from our server, with one shared event id, so Meta counts it once and matches more leads. The setup below sends server events only and never fires the browser pixel.

Send server-side conversion events back to Meta when lead outcomes change. This improves ad optimization by telling Meta which leads converted. Use it for leads that arrive by API or from forms that are not Lead Distro AI funnels, and to report later results (a lead accepted by a destination, or converted). Funnel users can use both: the funnel card for the submit, this one for later results. When both send the same event name to the same pixel, this one skips its copy for that funnel's leads, so Meta counts each lead once. To send a later result too, give it its own event name (for example LeadAccepted).

  • Go to Settings → Integrations, find the Meta Conversions API card, and click Add Integration. Enter your Meta Pixel ID and Conversions API access token.
  • Link the pixel to the sources that should use it. In the Manage window, use the Sources column. A pixel that is not linked to a source never sends anything.
  • Open the Event Mapping tab and click Add Event. Pick which moment sends an event to Meta: Lead Ingested, Lead Accepted, Lead Converted, Lead Rejected, or Appointment Booked. Then choose the Meta event it sends and click Save Mappings. Nothing is sent for a moment you have not mapped.
  • Events are sent automatically and include hashed PII for matching.
  • Lead Ingested is always sent as a website event, because the lead came from a web page. For every later moment (Lead Accepted, Lead Converted, Lead Rejected, Appointment Booked), the Send as dropdown on each Event Mapping row picks how it goes to Meta. Auto (the default) sends a Lead event for leads from a Meta Instant Form and a Funnel event for every other lead. Funnel event (website) always sends a website event, matched on the page URL, browser and click id. Lead event (Meta form) always sends Meta's CRM event (Conversion Leads), matched on Meta's own lead id, which only Meta Instant Form leads have: any other lead is skipped and Event Logs says why. Leave it on Auto unless you have a reason to change it.
  • On the Connection tab, fill in Default event source URL with your website, on a domain verified in your Meta Business account. Meta needs a page URL on every website event, so this matters for Lead Ingested. Lead Distro AI uses the lead's own page first (a landing_page field, or the field you pick under Page URL field) and falls back to this box.

A Lead Ingested event with no page URL can be dropped by Meta. When a lead has no page URL of its own (common for leads sent by API) and Default event source URL is empty, the event goes out without one. Meta still replies that it received the event, but it may not count it or show it in Test Events. The Event Logs tab marks these rows No page URL, and the Connection tab warns you under the box.

Lead Converted and Lead Rejected are sent when a lead's outcome changes to Converted or Not Qualified. That happens when you set the Outcome on the lead's row in the Leads list, when your buyer sets it in the Partner Portal, or when their system reports it through the postback webhook. Setting the outcome back to Pending sends nothing. Changing outcomes with the bulk Edit button does not send an event, so set them one lead at a time.

Appointment Booked is sent when a lead's appointment is booked: on a Lead Distro AI calendar, a Great Sales AI or GoHighLevel calendar, or by a source that posts the appointment to your campaign. It defaults to Meta's Schedule event. It is sent once per lead: moving the meeting to a new time, or cancelling and booking again, does not send a second one.

Facebook Lead Forms

Connect Facebook Pages to automatically ingest leads from Lead Form ads. Leads flow directly into your campaigns without any external automation tool.

Meta integration requires a Meta Business account with active ad accounts. When you connect, Meta asks you to approve read access to your ad spend and lead forms, plus management access so Lead Distro AI can connect your Pages to lead forms and build Custom Audiences. Lead Distro AI never creates, edits, or pauses your ads.

Frequently Asked Questions

What does the Meta Ads integration do?
Three things. (1) Ad Spend Sync pulls actual Meta ad spend daily and attributes cost to the right Lead Distro AI campaigns and suppliers (powers the Variable cost mode). (2) Conversions API (CAPI) sends server-side conversion events back to Meta at the moments you choose (lead ingested, accepted, converted, rejected, or appointment booked), improving Meta's ad optimization. (3) Lead Form ingestion pulls leads directly from Facebook Lead Form ads into Lead Distro AI campaigns without needing Zapier or a custom webhook.
How does the Conversions API (CAPI) help my ad performance?
Meta's ad-optimization algorithm learns from conversion signals. iOS 14+ broke client-side pixel tracking for most users, so server-side CAPI is now the dominant signal. By sending real lead outcomes (accepted, converted, rejected) back to Meta with hashed PII for matching, you give Meta the lead-quality data it needs to find more converting users.
What Meta permissions does Lead Distro AI request?
Lead Distro AI asks for read access and some management access. Read: ads_read (your ad spend and campaign data), leads_retrieval (leads from your Lead Form ads), and pages_show_list and pages_read_engagement (the Pages you can pick). Management: pages_manage_metadata and pages_manage_ads (to subscribe a Page to its lead forms so new leads reach us), ads_management (to create Custom Audiences and add your leads to them), and business_management (to see ad accounts and Pages owned by your Business). Lead Distro AI never creates, edits, or pauses your ads, ad sets, or campaigns. You connect through Meta's standard sign-in, and you can disconnect at any time from Settings → Integrations → Meta or from Meta Business Settings.
Why does my Custom Audiences card say leads aren't being added?
Meta has not given Lead Distro AI permission to add people to audiences for that ad account, so Meta turns away every lead we try to add. Open the Meta Custom Audiences card in Settings → Integrations and click Manage to see which ad account is affected. If the warning says access was turned off, reconnect Meta and leave every box ticked. Otherwise reconnect Meta once. If the warning is still there after that, contact support: the permission has to be sorted out with Meta on our side, and there is nothing more to change in your setup. Leads accepted while the warning shows are not added later, so export them from the Leads page and upload them to the audience in Meta Ads Manager if you need them.
Can my AI tell which Meta ads make money, and change them for me?
Yes, with two connectors in the same AI (Claude, ChatGPT or Perplexity). Lead Distro AI's connector shows profit per Meta campaign, ad set and ad: spend, the leads that reached you, how many were accepted or Returned, what they sold for, and profit (revenue minus spend). Meta's own ads connector is optional: add it (https://mcp.facebook.com/ads in your AI, then sign in with Facebook) only if you want the AI to pause, edit or scale ads in Meta. Lead Distro AI's connector alone is enough to see which ads make money. The setup card shows whether your AI reported having Meta's connector the last time it asked for profit per ad. Ask something like "Which Meta ads lost money last month?" and the AI ranks them by profit, proposes a change, and makes it in Meta only after you say yes. Lead Distro AI itself never changes your ads, and Meta saves new campaigns as drafts. Step-by-step: Settings → Integrations → Meta Ads in your AI. Funnel and website leads need ad_id={{ad.id}}&adset_id={{adset.id}}&campaign_id={{campaign.id}} in the ad's URL parameters to be tied to an ad; Meta lead-form leads carry these automatically.
Can I have multiple Meta pixels — one per supplier or client?
Yes. Per-supplier Meta pixel wiring lets you isolate CAPI events per traffic source. Supplier A's leads fire conversions on Pixel A, Supplier B's leads fire on Pixel B. This is critical when running attribution for multiple ad accounts or agency clients on the same Lead Distro AI infrastructure — each client sees their own clean attribution in their own Ads Manager.
How fast does Meta spend sync after a lead is ingested?
Spend syncs on a schedule set by your plan: every 6 hours on Starter, every 2 hours on Growth, and every hour on Scale and above. So on Growth, a lead that comes in now shows its cost within 2 hours. Real-time cost attribution isn't possible — Meta's reporting API has its own delay before today's spend appears. For real-time profit dashboards, the platform uses the most recently synced spend snapshot and trues up as fresh data arrives.
My Meta ad account is in one currency and my campaign is in another. Is the ad spend converted?
No. Lead Distro AI does not convert currencies. Meta ad spend is saved as the number Meta reports, in the campaign's currency, so 100 euros of spend shows as $100 in a US dollar campaign. Cost and profit are only right when the Meta ad account and the campaign use the same currency. A campaign's currency is in Settings → General → Currency on the campaign, and it locks once the campaign has leads.
My Meta spend stopped showing up. What happened?
Usually the ad account was disconnected while campaigns were still mapped to it. Settings → Integrations → Meta then shows an error: "No connected Meta ad account ... Reconnect to resume spend sync." Click Connect and sign in again. Reconnecting fills in the spend you missed, back to the last successful sync (up to 90 days). For anything older, use the date range on the Sync button to resync from the day spend stopped.
How do I stop leads from a Meta lead form?
Two ways. To stop one form, open the campaign, click the source, and under Meta Lead Forms turn that form's switch off. To stop everything the source sends, set the source's Status to Paused: new Meta lead form leads are then refused, the same as API leads, and each one shows in Logs as "Source is paused". The lead stays in Meta, so after you turn things back on you can bring it in with Import past leads from the form's ⋯ menu.
What happens if my Facebook Lead Form ad pulls in leads I don't want?
Use campaign Inbound Filters to reject unwanted leads before distribution. Filters run on every ingested lead — Lead Form, API, or CSV import — and check field values against rules you configure. Common filters: state allowlists, required custom field values, phone/email format validation. Rejected leads appear in the dashboard with status REJECTED and the specific filter that caught them, so you can iterate on filter rules without losing visibility.
My Meta lead form's multiple-choice answers look different from my campaign's allowed values. Will they match?
Only after you map them. Meta sends a multiple-choice answer as a code, for example dscr_purchase for "DSCR Purchase" or $200k_-_$500k for "$200K - $500K", and destination filters look for an exact match. Open Settings → Integrations → Meta Lead Forms, click the three dots on the form, and choose Map fields. A question that has answer choices and is mapped to a campaign field with a list of allowed values shows an Answers line under it. Open it and pick, for each Meta answer, the allowed value to save. Answers that read the same as an allowed value are filled in for you, and the line opens by itself when it has these suggestions; check them, set the rest, and click Save Mapping. Nothing changes until you save. Choose Keep Meta's value to save the answer exactly as Meta sends it, for example when your filters or delivery templates use Meta's code. A kept answer that is not in the allowed values shows a warning, because a filter built on the allowed values will not match it. The mapping applies to new leads and to Import past leads. Each lead's log shows both what Meta sent and what was saved.
Should I set up Meta in my funnel or in Settings → Integrations?
If your leads come from a Lead Distro AI funnel, set up Meta on the funnel: open it, go to Integrations, and click the Meta card. It fires the browser pixel and sends the Conversions API from our server at the moment of submit, with a shared event id so Meta counts each lead once. Settings → Integrations → Meta Conversions API sends server events only, when a lead comes in, is accepted, converts, or is rejected. Use it for leads that arrive by API, or to tell Meta about later results. You can use both on the same pixel. When both would send the same event name, Settings skips its copy for the funnel's leads, so Meta counts each lead once; the lead's CAPI Event cell shows it as skipped. Give a later result its own event name (for example LeadAccepted) to send it too.
Can I see and retry failed CAPI events?
Yes. There are two places to look. In the Leads list, click Columns and tick CAPI Event. Each lead then shows Sent or Not sent, and hovering it tells you why. A lead that was not sent has a retry button right there. For the full history, open Settings → Integrations → Meta Conversions API → Manage and go to the Event Logs tab, which lists recent events with the Meta response for each one. Common reasons an event is not sent: no event mapping for that moment, the pixel is not linked to the lead's source, or an expired access token. Retries are manual, so fix the cause and then click retry.
The Event Logs say success, but my event is not in Meta's Test Events. Why?
Check whether the row in Event Logs shows a No page URL badge. Meta needs a page URL on every website event (in Lead Distro AI, that is Lead Ingested, plus every later moment of a lead that did not come from a Meta lead form). Without one, Meta still answers that it received the event, but it may drop it. Fix it on the Connection tab: fill in Default event source URL with your website (on a domain verified in Meta), or send a landing_page field with each lead. Then send the event again. Later moments, like Lead Converted, sent as a Lead event (a Meta Instant Form lead on Auto, or a row set to Lead event) are CRM events and do not need a page URL. If the row's Send as is Lead event and the lead did not come from a Meta Instant Form, the event is skipped, not sent: set it back to Auto. Also check that the Test Event Code matches the one currently shown in Meta's Test Events tab. Meta builds its custom conversion list from live events, so a new event may not show there until live events arrive. Clear the Test Event Code when you finish testing.
Should I send a Funnel event or a Lead event to Meta?
Leave Send as on Auto in most cases. A Funnel event is a website event: Meta matches it on the page URL, the browser and the click id, so it works for leads from your website, a funnel, or the API. A Lead event is Meta's CRM event (Conversion Leads): Meta matches it on its own lead id, which only leads from a Meta Instant Form have. Auto picks the right one for each lead. Choose Funnel event (website) or Lead event (Meta form) on an Event Mapping row only to force one. A row set to Lead event skips every lead that did not come from a Meta Instant Form, because Meta could not match it. These are the same two event types GoHighLevel offers. Lead Ingested and call events always go out the same way and have no Send as choice.

If you have any questions, send us an email at support@leaddistro.ai