Meta Ads MCP
Analyze Meta Ads Lead Quality With ChatGPT
Join campaign spend to CRM counts at the same lead age and see which campaigns you can compare.

Short answer
- Give ChatGPT 2 campaign-level tables. Match Meta Ads spend to CRM lead counts by stable campaign key, using the same original dates.
- If your team chooses a 14-day window, give all leads 14 days to qualify. Save the CRM counts after the newest lead has had that full window.
- Cost per qualified lead is campaign spend divided by the count that qualified. A $600 campaign with 20 qualified leads costs $30 per qualified lead.
- Use exact matches and show their share of total spend. Hold campaigns with missing keys or incomplete qualification data outside the ranking.
Analyze Meta Ads lead quality in ChatGPT with two campaign-level tables. Match Meta spend to CRM outcomes by campaign ID for the same lead submission period1, 2. If your qualification window is 14 days, count only leads that qualified in their first 14 days. Divide spend by qualified leads after checking the matches.
I build AdCtrl, which can read the Meta campaign report for this check3. Prepare the CRM counts separately. If you're looking for connection options, start with the Meta Ads MCP guide.
Checked 23 November 2026 against Meta, OpenAI and AdCtrl documentation4, 1, 3.
What should you export from Meta Ads Manager and your CRM?
Export campaign spend from Meta and summarize CRM lead records before sharing anything. Start with one Meta ad account and one currency. Choose campaigns whose in-scope spend covered paid Instant Forms exclusively throughout the selected period. Leave mixed-destination campaigns out unless you can isolate spend and CRM leads for the same Instant Form activity.

Match the campaign spend to the CRM counts using the stable campaign key. Keep contact records in the CRM.
You need the campaign performance report and the CRM timestamps for intake and qualification. Ask the person who owns the lead integration where it records the source campaign. Meta documents CRM integrations for Lead Ads2. Check the field on a recent lead before you depend on it across a date range. If your CRM is HubSpot, HubSpot MCP shows which properties hold the source campaign.
| Add this field | Meta campaign table | CRM campaign table |
|---|---|---|
| Campaign key | Campaign ID or verified local alias | The same ID or alias |
| Original period | Spend report start and end dates | Lead submission start and end dates |
| Time basis | Ad account time zone | Submission dates aligned to the same time zone |
| Spend | Amount spent and currency | Keep currency in the Meta table |
| Lead volume | Optional Meta-reported Instant Form leads | Unique paid Instant Form leads |
| Qualification | Keep stage data in the CRM table | Count qualified by chosen age, stage definition and snapshot time |
Use one row per campaign in each table. Keep Meta-reported leads and CRM intake in separate columns.
Source: Meta campaign insights and Lead Ads documentation1, 2. The qualification fields are the inputs for this worked method.
In Meta Ads Manager, open a campaign-level performance report for the selected dates and export it as a spreadsheet. Use the report without breakdowns. Remove the account total row before you share it. Keep campaign keys as text so a spreadsheet can preserve the full ID.
Use these headers for your aggregate files. Leave out the optional Meta form count if you only need CRM qualification costs.
- Meta spend file
campaign_key, report_start, report_end, account_time_zone, spend, currency, meta_form_leads - CRM counts file
campaign_key, submission_start, submission_end, account_time_zone, unique_form_leads, qualified_leads, qualification_stage, qualify_within_days, observed_at
If a campaign sent people to both Instant Forms and website forms, use a separate comparison with spend you can verify for each route. Leave campaigns with mixed spend outside this comparison if you can only get the campaign total. Using the share of CRM leads to split spend would assume the very cost difference you're trying to measure.
How do you give every CRM lead the same time to qualify?
Measure CRM lead quality from the original submission date. Pick the stage the sales team actually uses, such as a lead accepted for a quote. Choose a qualification window that fits the time your team needs to work the leads. If you choose 14 days, count the leads that first reached that stage within 14 days of their own submission.
Set the intake period and age.
Manual: Pick finished submission dates and the age at which you will score every lead. Record the qualification stage and when the counts were taken. The newest lead in the intake period needs to be old enough for the same test.
With AdCtrl: Use those same dates in the Meta spend prompt below. Set the lead age and qualification stage with the CRM owner.
Deduplicate and group in the CRM or locally.
Manual: Keep one lead per stable source key. Filter to the paid Instant Form submissions from those dates. Group by verified campaign key, count unique leads and count the subset that reached the chosen stage in time.
With AdCtrl: Keep the campaign IDs in the Meta spend report. Prepare and verify the CRM totals separately before comparing the two tables.
Check the join before calculating costs.
Manual: Check both files for duplicate campaign rows, blank IDs and unexpected date ranges. Keep the unmatched rows visible and add up the spend represented by the rows you can match.
With AdCtrl: Compare the campaign keys and spend in the connected read with Ads Manager. Confirm the period and currency, then use only verified campaign matches.
If your CRM has a stable lead ID from the integration, use it to check duplicate records before aggregating5. Keep that ID local. Share campaign totals only and strip contact details, raw answers and notes. If a tiny group could identify someone, withhold its CRM row from the upload or combine the records into a larger group before exporting.
For a combined group, use the same member campaigns and intake window in both files. Give both group rows the same verified key. Keep the result at the group level. If you can only combine one side or the periods differ, hold the group outside the comparison.
Check that the CRM has the timestamps you need. A snapshot of today's stages tells you how the leads look now. Reconstructing who qualified within a fixed window requires the time the lead reached that stage. If the CRM only has a creation timestamp, check it against the actual form submission time and note any delay that could shift records across the period boundary.
For example, a lead who qualified before day 14 stays in the qualified count even if the deal later stalls. A lead who first qualified after day 14 belongs in a later-age analysis. Keep the original lead cohort in both reads so a different window can explain the change in the count.
What prompt should you use to compare the two exports?
Give ChatGPT the two campaign tables and ask it to show the checks before the costs. OpenAI's data analysis guide recommends descriptive headers and one row per record4. Keep each input on its own sheet or in its own file, with an unambiguous name.
Paste this into ChatGPT after you attach the aggregate tables.
Pick one row and redo the division yourself. Check both numbers against the original files. If ChatGPT tried to pair similar campaign names or used Meta's leads as the denominator for the CRM qualification rate, rerun the comparison with the exact key and the correct lead count.
If the result says a campaign had zero qualified leads, look for that explicit zero in the CRM export. If the count came from a missing row or an empty field, report it as unresolved and ask the CRM owner to verify the underlying stage dates.
Read campaign spend directly if you've connected Meta Ads. Prepare the CRM counts the same way. Use the campaign-level table in place of the Meta spreadsheet once you've verified its scope against Ads Manager.
For the selected Meta Ads account and the dates I give you, show campaign IDs and amount spent. Include the account currency and report dates. Use campaign rows without breakdowns. Flag missing fields and make no changes.What changes when you rank Meta campaigns by qualified leads?
Cost per qualified lead can reverse the order suggested by Meta's cost per form submission. A campaign that generates inexpensive submissions can still cost more per qualified lead if relatively few reach the stage your team uses.
| Metric | Campaign A | Campaign B |
|---|---|---|
| Meta spend | $600 | $600 |
| Meta-reported leads | 120 | 60 |
| Meta cost per lead | $5 | $10 |
| Unique CRM leads | 100 | 50 |
| Qualified CRM leads | 10 | 20 |
| CRM qualification rate | 10% | 40% |
| Cost per qualified lead | $60 | $30 |
In this hypothetical example, Campaign A has the cheaper Meta-reported lead. Campaign B has the cheaper qualified lead.
Source: Synthetic campaign data for both campaigns. The spend column follows Meta's campaign reporting definition1.
Use spend from the Meta campaign report1. Campaign A's cost per qualified lead is $600 ÷ 10 = $60. Campaign B's is $600 ÷ 20 = $30. For qualification rate, use 10 ÷ 100 for A and 20 ÷ 50 for B. Both counts for that rate come from the CRM.
Use the CPA Calculator to repeat the cost calculation. Enter campaign spend as ad cost and the CRM qualified count as the conversion count.
I'd look at B's lead outcomes before deciding where the next dollar goes. Check how many qualified leads reached the next sales stage, how much confidence you have in the counts and whether the next group is old enough to confirm the pattern. For diagnosing junk submissions or contact details, use the fake Facebook leads guide.
Use the cost to compare campaign spend with qualified leads from the same intake period. When you need to decide which campaign brought in more revenue, follow those same leads through the next stage and compare revenue separately. A label for a lead accepted by sales tracks a different outcome from a paid sale.
What should you do when campaign IDs or lead counts don't match?
Keep spend from unmatched campaigns visible and unranked. Ask for those campaigns to be reconciled before recommending a change across the whole account.
Suppose a third Meta campaign spent $300 and the CRM has no verified key for it. In the example, you have $1,200 matched against $1,500 in scope, or 80% coverage. You can compare A and B, label them as the covered set and investigate the remaining $300. Avoid averaging campaign-level costs and avoid dividing all $1,500 by the qualified leads from A and B.
Keep the key match and the ranking decision separate. If B also has an incomplete qualification history, the same 80% of spend could still have a verified key. In that case, only A is ready to rank, representing 40% of the example's total spend. Report both shares beside the results.
A campaign key is missing
- Trace a known lead back to the source integration and check the saved campaign field.
- Keep that campaign unresolved until both tables have a verified key.
The qualification window is open
- Give the last submission the full time to qualify.
- Schedule the reread and keep the same intake dates.
The campaign has zero qualified leads
- Show spend and the confirmed zero.
- Check stage coverage and keep the campaign out of the finite cost ranking.
Report Meta leads and CRM intake side by side. An integration can send Meta leads into the CRM2. To tell what a difference means, trace a known lead through that handoff and check which records each report includes. The conversion discrepancy guide explains how the reporting basis can change what shows up in a platform total.
- Do both files cover the same campaigns, intake dates and time zone?
- Did you confirm the spend currency and remove subtotal rows?
- Does each campaign have one row and an exact matching key?
- Did every lead get the same time to qualify?
- Did you keep contact records and lead IDs local?
- Are blanks, genuine zeros and unresolved matches distinct?
- Did you check one calculation against the original tables?
Frequently asked questions
Can I run this with spreadsheet exports?
Yes. Export campaign spend from Meta and build the campaign-level CRM table before attaching it. Verify the date range and campaign scope just as you would for a connected read.
Can I use a different Meta Ads connector in ChatGPT?
Supermetrics and Madgicx both describe Meta Ads reporting access. Variafy describes a lead-quality workflow with a connected CRM or Google Sheet6, 7, 8. Check for exact campaign IDs and spend over the dates you chose. Use the same intake and qualification checks for the CRM totals.
Can I use campaign names as the join key?
Use the campaign ID when you have it. If you need to share local aliases, create the aliases from verified IDs and apply the same mapping to both inputs. Keep that mapping with your working copy so you can reproduce the join.
Can I group website form leads using UTMs?
Use a verified source field that identifies the original campaign and consistently survives the lead handoff. Start with one test submission to check which field the CRM stores. Keep website leads in their own cohort if the paid Instant Form calculation uses only Instant Form spend.
What if the team changed its definition of a qualified lead?
Record the date and the stage rules the team actually used. Recount both periods with a common definition if the history supports it. Otherwise keep the periods separate and flag the break before you compare their costs.
Should I add up Meta leads and CRM leads?
Keep each number with its own source and definition. The CRM lead count is the denominator for the qualified share of CRM intake. Use the reported Meta result count separately if you want to calculate the platform's cost per lead.
If the outcomes tell you where lead quality dropped, use the AI customer feedback analysis workflow to check what those buyers actually said and keep each theme tied to a source row.
If you’re comparing a hosted advertising assistant for this work, use the AdCtrl and Ryze AI comparison to check each product’s documented ad-account workflow and where separate CRM evidence belongs.
What to do next
Pick one finished period and verify one campaign row from spend to qualified outcomes. Save the qualification rule with the row. For anything held outside the comparison, put an owner and the next check in your weekly paid media review.
To pull the campaign spend table from your connected Meta account, set up AdCtrl and run the read-only prompt above.
Sources
- Ads Insights API, Meta for Developers. Accessed 23 November 2026.
- Meta Lead Ads, Meta for Developers. Accessed 23 November 2026.
- AdCtrl documentation, AdCtrl. Accessed 23 November 2026.
- Data analysis with ChatGPT, OpenAI Help Center. Accessed 23 November 2026.
- Leads: Graph API Webhooks, Meta for Developers. Accessed 23 November 2026.
- ChatGPT and Claude prompts for Facebook ads, Variafy. Accessed 23 November 2026.
- Connect Facebook Ads to ChatGPT, Supermetrics. Accessed 23 November 2026.
- Meta Ads MCP by Madgicx, Madgicx. Accessed 23 November 2026.







