How to Audit Meta Ads with Claude: One Prompt, 48 Checks

Dec 1, 2026 — by Ahmed Ali

TL;DR Audit Meta Ads with Claude in one prompt: 48 checks on campaigns, pixel, targeting, budgets and creative, an Excel report, and fixes you approve first.

How to Audit Meta Ads with Claude: One Prompt, 48 Checks

To audit Meta Ads with Claude, connect Markifact from Claude's connector directory, connect Meta Ads to Markifact, and paste the prompt below. Claude runs 48 checks on your ad account and pixel, scores each one Pass, Evaluate, Fail or Unable to assess, gives you an Excel file, and offers to fix what it can change. It changes nothing until you approve.

The whole process is four steps:

  1. Connect Claude to Markifact.
  2. Connect Meta Ads to Markifact.
  3. Copy and run the audit prompt.
  4. Review the results and approve fixes.

Step 1: Connect Claude to Markifact

Open Markifact in Claude's connector directory, click Connect and sign in to Markifact. That's it.

The Markifact connector page in Claude's connector directory showing Connected
Markifact in Claude's connector directory. Once you sign in, it shows as Connected and is available in every chat.

Step 2: Connect Meta Ads to Markifact

  1. In Markifact, open Connections, choose Meta Ads and click Connect.
  2. Sign in with the Facebook account that manages the ad account you want to audit. On Meta's screen, select every ad account, Page and pixel you want Claude to see, and allow every permission.
You want to You need
Run the audit only Access to view performance on the ad account
Check tracking The pixel (dataset) shared with you in Business Settings
Let Claude apply fixes Access to manage campaigns on the ad account

Step 3: Copy and run the audit prompt

  1. Open a new chat in Claude and check that the Markifact connector is on.
  2. Copy the prompt below, paste it and send it.
Run a full Meta Ads audit on one account using Markifact. This is read-only: do not change anything during the audit.

## Setup
1. Call `meta_ads_select_accounts` to list my Meta ad accounts. If there is more than one, ask me which account to audit. Use that one account for every call below.
2. Call `meta_list_account_pixels` for that account. If there is more than one pixel (dataset), use the one most ad sets optimize for (`promoted_object_pixel_id` from section 1). Use that pixel everywhere below.
3. Call `get_operation_inputs` once for each operation before you first run it, and pass only fields from its schema.
4. Use the last 30 days (`LAST_30_DAYS`) for anything with spend or performance.
5. Scope: unless a check says otherwise, only look at campaigns, ad sets and ads whose `effective_status` is `ACTIVE`. If nothing is active, use everything that spent in the last 30 days instead and say so at the top of the report.
6. Budgets, bids and spend caps from settings and the Graph API come back in minor units. Divide by `currency_offset` (100 for most currencies) before showing any amount.
7. Do all counting, ratios, averages and naming math in code, not by eye.
8. Never invent a number. If a call fails or returns no data for a check, score it **Unable to assess** and say what was missing.

## Scoring
Give every check exactly one score:
- **Pass**: meets best practice
- **Evaluate**: partly right, needs a human look
- **Fail**: broken or missing
- **Unable to assess**: the data needed for this check wasn't available

For checks scored by share of ad sets, use this scale: 75% or more is Pass, 25% to 75% is Evaluate, under 25% is Fail.

Each description is one or two short sentences: what you found (with real numbers and up to 3 example campaign, ad set or ad names) and what to do about it.

---

## Data to pull first
Pull these once and reuse them in every section:
- **Campaigns**: `meta_ads_get_campaign_settings` with `effective_status: ["ACTIVE"]`, `limit: 1000`.
- **Ad sets**: `meta_ads_get_adset_settings` with `adset_effective_status: ["ACTIVE"]`, `limit: 1000`.
- **Ads**: `meta_ads_list_ads` with `ad_effective_status: ["ACTIVE", "DISAPPROVED", "WITH_ISSUES"]`, `campaign_effective_status: ["ACTIVE"]`, `include_creative: true`, `include_tracking: true`, `limit: 1000`.
- **Graph data**: one `meta_ads_get_graph_data` call with these `paths` (replace `ACT_ID` and `PIXEL_ID`):
  ```
  ACT_ID/campaigns?fields=id,name,effective_status,advantage_state_info,spend_cap,bid_strategy&effective_status=["ACTIVE"]&limit=500
  ACT_ID/adsets?fields=id,name,campaign{name},learning_stage_info&effective_status=["ACTIVE"]&limit=500
  ACT_ID?fields=name,spend_cap,amount_spent,currency
  ACT_ID/customaudiences?fields=id,name,subtype,approximate_count_lower_bound&limit=500
  ACT_ID/account_controls
  PIXEL_ID/da_checks
  ```
- **Performance**: `meta_ads_get_report` with `date_range: {preset: "LAST_30_DAYS"}`:
  - by campaign: dimensions `campaignId, campaignName`, metrics `cost, results, costPerResult`
  - by ad: dimensions `campaignName, adsetName, adId, adName`, metrics `cost, impressions, reach, frequency`
  If a metric name is rejected, look it up with `meta_ads_list_report_fields` and run the report again. Don't skip the check.

---

## 1. Campaign structure
**Naming Convention Health**: use the unique active campaign names.
- Separator: detect each name's separator (`-`, `_`, space, or none). One separator scores 1, two score 0.5, more score 0.
- Length: if fewer than 2 names, 1. Otherwise a name is an outlier if its length is more than 2 standard deviations from the average. No outliers scores 1, up to max(1, 10% of names) scores 0.5, more scores 0.
- Case: classify each name as Title Case, lowercase, UPPERCASE or Mixed. One type scores 1, two score 0.5, more score 0.
- Pass only if all three score 1. Evaluate if none score 0. Otherwise Fail. Include the separators, average length, outlier examples and case types found.

**Naming Conventions Coherence**: split each campaign name into lowercase terms on any non-alphanumeric character.
- Term consistency = 1 - (unique terms / total terms). Above 0.7 scores 1, above 0.4 scores 0.5, else 0.
- Common terms: 1 if any term appears in more than 50% of names, else 0.
- Position consistency: share of unique terms that always appear in the same position. Above 0.7 scores 1, above 0.4 scores 0.5, else 0.
- Average the three. Above 0.7 is Pass, above 0.5 is Evaluate, otherwise Fail. Include the common terms and the terms that move around.

**Campaign Objective and Event Alignment**: for ad sets in `OUTCOME_SALES` campaigns, Fail if any optimizes for something other than `PURCHASE` (`promoted_object_custom_event_type`), with campaign, ad set and current event. Pass if all are Purchase. Unable to assess if there are no Sales campaigns.

**Ad Set Volume per Campaign**: count active ad sets per campaign. Fail if any campaign has more than 5, with the counts. Otherwise Pass.

**Advantage+ Campaigns in Use**: from the Graph campaigns call, Pass if at least one active campaign has `advantage_state_info.advantage_state` other than `DISABLED` (for example `ADVANTAGE_PLUS_SALES`). Otherwise Evaluate and suggest testing one Advantage+ campaign.

**Special Ad Categories**: from `special_ad_categories`. Pass if no campaign declares one, or every campaign declares the same one. Evaluate if some campaigns declare a category and others don't, and list them so I can confirm it's right.

**Ad Set End Dates**: Evaluate if any active ad set has an `end_time` in the next 7 days, with the dates. Otherwise Pass.

**Campaign Spend Caps**: Evaluate if any active campaign has a `spend_cap` above 0, and list each cap so I can confirm it's intended and not about to stop delivery. Otherwise Pass.

## 2. Tracking & attribution
Pixel details: `meta_get_pixel_details` for the pixel.
Server events: `meta_get_pixel_stats` with `aggregation: "event"`, `event_source_filter: "server_only"`, `time_grouping: "date"`, last 7 days.
Purchase parameters: `meta_get_pixel_stats` with `aggregation: "custom_data_field"`, last 7 days.
Conversions API health: `meta_check_capi_health` once per metric: `event_match_quality`, `event_deduplication`, `event_coverage`, `data_freshness`.

- **Pixel Connected to Ad Account**: Pass if the pixel details return an id. Otherwise Fail.
- **Pixel Active Today**: Pass if `last_fired_time` is today (UTC). Fail if it's older, with the date. Unable to assess if missing.
- **Advanced Matching Enabled**: Pass if `enable_automatic_matching` is true. Otherwise Fail.
- **First-Party Cookies Enabled**: Pass if `first_party_cookie_status` is `first_party_cookie_enabled`. Otherwise Fail.
- **Conversion API Enabled**: Pass if there is at least one server event row. Otherwise Fail.
- **Event Match Quality**: use the Purchase score (or the main conversion event if there are no purchases). Pass at 6 or higher, Evaluate from 4 to 6, Fail below 4. If no score comes back, Unable to assess.
- **Event Deduplication**: Fail if Conversions API is off, or if Meta reports browser and server events aren't being deduplicated. Evaluate if dedup is partial. Pass if Meta reports it as healthy. Include the rate when given.
- **Server Event Coverage**: share of browser events also sent from the server, for Purchase (or the main event). Pass at 75% or more, Evaluate from 50% to 75%, Fail below 50% or if Conversions API is off.
- **Purchase Value & Currency**: Pass if Purchase events carry both `value` and `currency`. Fail if either is missing. Unable to assess if the pixel has no Purchase events.
- **Active Pixel Diagnostics**: from `da_checks`. Fail if any check has `result: "failed"`, and list their titles. Otherwise Pass.
- **Data Freshness**: from `data_freshness`. Pass if server events arrive in real time or within an hour. Evaluate if they arrive within a day. Fail if slower or if Conversions API is off.
- **Attribution Settings**: for ad sets in `OUTCOME_SALES`, `OUTCOME_LEADS` and `OUTCOME_TRAFFIC` campaigns, the accepted `attribution_spec` is 7-day click + 1-day view, with or without 1-day engaged video view. Fail if any ad set uses something else, with the ad set and its current setting. Pass if all match, or if no ad sets are eligible (say so).

## 3. Targeting & audience
Block lists: `meta_ads_list_account_block_lists`.
Audience size: one `meta_ads_get_graph_data` call with a path per active ad set: `ADSET_ID/delivery_estimate?fields=estimate_mau_lower_bound,estimate_mau_upper_bound,estimate_ready`.

- **Publisher Block Lists**: Pass if at least one block list exists, with the names. Otherwise Fail.
- **Brand Safety Filter**: from `targeting_brand_safety_content_filter_levels`. Pass if every ad set has a filter level set. Evaluate if some don't (they use Meta's default expanded inventory), and list them.
- **Geographic Targeting**: Fail if any ad set includes `worldwide` in `targeting_geo_locations_country_groups`, with examples. Otherwise Pass.
- **Custom Audience Targeting**: share of ad sets with any `targeting_custom_audiences`. Use the share scale. List ad sets without one.
- **Language Targeting**: share of ad sets with `targeting_locales` set. Use the share scale. List examples without it.
- **Advantage+ Placements**: an ad set uses automatic placements when `targeting_publisher_platforms` is empty. Use the share scale. List manual ones and the platforms picked.
- **Advantage+ Audience**: share of ad sets with `targeting_automation_advantage_audience` = 1. 75% or more is Pass, otherwise Evaluate (it's a strategy choice, not an error). Include the share.
- **Estimated Audience Size**: Fail if any ad set's upper estimate is under 1,000 (too small to deliver). Evaluate if any prospecting ad set (no custom audience) is under 100,000. Otherwise Pass. Include the smallest ones.
- **Purchaser Exclusions**: for prospecting ad sets in Sales campaigns, check `targeting_excluded_custom_audiences` for a purchaser or customer audience (judge by name or a Purchase-based website audience). Pass if all exclude one, Evaluate if some do, Fail if none do.
- **Lookalike Audiences**: Pass if the account has at least one custom audience with `subtype: "LOOKALIKE"`, with the count. Otherwise Fail.
- **Account Placement Exclusions**: from `account_controls`. Pass if account-wide placement or publisher exclusions are set. Otherwise Evaluate and suggest reviewing Brand safety and suitability in Ads Manager.
- **Location Type**: from `targeting_geo_locations_location_types`. Pass if every ad set targets people living in or recently in the location (`home` and `recent`). Evaluate if any targets `travel_in` only, and list them.

## 4. Budget & bidding
- **Advantage+ Budget (CBO)**: a campaign uses campaign budget when its `daily_budget` or `lifetime_budget` is above 0. Pass if all active campaigns do. Otherwise Fail, with examples of ad set budget campaigns.
- **Learning Phase Health**: from `learning_stage_info` per active ad set. Days since edit = now minus `last_sig_edit_ts`. Score each ad set: `SUCCESS` is healthy; `LEARNING` for more than 3 days or `LEARNING_LIMITED` is a warning; `FAIL`, or fewer than 50 conversions with more than 7 days since the last edit, is a fail; anything else is healthy. Fail if any ad set fails, Evaluate if any warns, otherwise Pass. Include status, conversions and days since edit.
- **Cost per Result Goal**: use the ad set's `bid_strategy`, or the campaign's when the campaign holds the budget. Share using `COST_CAP`, on the share scale. Label strategies in plain words: `LOWEST_COST_WITHOUT_CAP` Highest volume, `COST_CAP` Cost per result goal, `LOWEST_COST_WITH_MIN_ROAS` ROAS goal, `LOWEST_COST_WITH_BID_CAP` Bid cap.
- **Budget Adequacy vs Cost Per Result**: from the campaign report, average daily spend = cost / 30, cost per result = cost / results (no results means infinite). A campaign is adequate when daily spend is at least one cost per result. Pass if every campaign with spend is adequate. Otherwise Fail, with each campaign's daily spend, cost per result and results.
- **Bid Strategy Mix**: from the same strategies, Pass if at least two strategies are in use across spending campaigns. Evaluate if everything runs on one, with spend by strategy.
- **Account Spending Limit**: from the account `spend_cap` and `amount_spent`. Pass if there is no limit (`0`) or less than 80% of it is used. Evaluate from 80% to 95%. Fail above 95% (ads are about to stop).
- **Budget Concentration**: Evaluate if one campaign takes more than 70% of 30-day spend while 3 or more campaigns are active, with the share. Otherwise Pass.

## 5. Ads & creative
Format check: for Vertical 9:16 Assets, call `meta_ads_list_media` and match each active ad's image hash or video id to its width and height.

- **Ads per Ad Set Volume**: count active ads per active ad set. Fail if any ad set has fewer than 5, with the counts. Otherwise Pass. Unable to assess if there are no active ads.
- **Disapproved Ads**: Fail if any ad is `DISAPPROVED` or has `ad_review_feedback`, with campaign, ad set, ad name and the reason. Otherwise Pass.
- **URL Tags / UTMs**: Pass if every active ad's `creative_url_tags` include `utm_source`, `utm_medium` and `utm_campaign`. Otherwise Fail, with examples missing them.
- **Creative Fatigue**: from ad frequency in the last 30 days. Frequency up to 3 is healthy, above 3 to 5 is at risk, above 5 is fatigued. Fail if any ad is fatigued, Evaluate if any is at risk, otherwise Pass. Include the worst ads and their frequency.
- **Advantage+ Creative Enhancements**: from `creative_degrees_of_freedom_spec`. Pass if at least half of active ads have one or more enhancements set to `OPT_IN`. Otherwise Evaluate, and list the enhancements turned off most often (it's a choice, not an error).
- **Creative Format Mix**: classify active ads as image, video, carousel or flexible (`creative_asset_feed_spec_*`). Pass if at least two formats are running. Otherwise Evaluate.
- **Vertical 9:16 Assets**: Pass if every active ad set has at least one ad with a 9:16 (or 4:5 or taller) image or video. Evaluate if some don't, and list them.
- **Instagram Account Connected**: Pass if every active ad has an Instagram account (`creative_object_story_spec_instagram_user_id` or `instagram_user_id`). Otherwise Fail, with examples running as the Facebook Page on Instagram.
- **Call to Action Set**: Pass if every active ad has a `creative_call_to_action_type` other than `NO_BUTTON`. Otherwise Fail, with examples.

---

## Output
1. Build one table with 48 rows, in the order above, with these columns: **Check | Category | Score | Description**. Category is:
   - **Campaign Structure**: section 1
   - **Tracking & Attribution**: section 2
   - **Targeting & Audience**: section 3
   - **Budget & Bidding**: section 4
   - **Ads & Creative**: section 5
2. Create a downloadable Excel file named `Meta Ads Audit - [account name].xlsx` with two tabs:
   - **Audit**: the 48-row table. Bold header row, frozen header, wrapped Description column. Color the Score cells: Pass light green (#B7DCAA), Evaluate light yellow (#FDE69C), Fail light red (#E9A39D), Unable to assess light grey (#E0E0E0).
   - **Summary**: account name and ID, pixel name and ID, the date range, the total Pass, Evaluate, Fail and Unable to assess counts, and the 5 most important fixes in order of impact.
   If you can't create files in this chat, show the table in the chat instead so I can copy it.
3. In the chat, give a short summary: total Pass, Evaluate, Fail and Unable to assess, then the 5 most important fixes in order of impact. Tracking problems come first, since every other number depends on them.
4. Then list which failed checks you can fix for me through Markifact, each with the exact change you would make:
   - language targeting → `meta_ads_update_adset_language`
   - geographic targeting → `meta_ads_update_adset_locations`
   - placements → `meta_ads_update_adset_placements`
   - custom audiences, lookalikes, purchaser exclusions, Advantage+ audience → `meta_ads_update_adset_audiences`
   - lookalike audiences that don't exist yet → `meta_create_lookalike_audience`
   - campaign budget, bid strategy, cost per result goal → `meta_ads_update_campaign_budget`, `meta_ads_update_campaign_bidding_strategy`
   - ad set budgets and end dates → `meta_ads_update_adset_budget`, `meta_ads_update_adset_schedule`
   - spend caps, special ad categories → `meta_ads_update_campaign`
   - attribution settings, optimization event, brand safety filter → `meta_ads_update_adset`
   - UTMs and Instagram account → new creative with `meta_ads_create_ad_creative`, attached with `meta_ads_replace_ad_creative` (Meta creatives can't be edited in place)
   - the same change on many objects → `meta_ads_batch_request`
   - pixel settings (automatic advanced matching, first-party cookies, Conversions API) → give me the exact Events Manager steps if no operation can make the change

   Don't make any of these changes until I approve each one.
  1. If your Facebook account sees more than one ad account, Claude asks which one to audit. Pick it from the list.
  2. Claude then pulls your campaigns, ad sets, ads, pixel data and the last 30 days of performance, scores the 48 checks, and builds the Excel file. Nothing in the account changes during the audit.

What the audit checks

The 48 checks are grouped into 5 areas. Spend and performance checks use the last 30 days, and pixel checks use the last 7.

Area Checks What Claude looks for
Campaign structure 8 Naming conventions, Sales campaigns optimizing for Purchase, ad sets per campaign, Advantage+ campaigns, special ad categories, ad set end dates, campaign spend caps
Tracking and attribution 12 Pixel connected and firing, automatic advanced matching, first-party cookies, Conversions API, event match quality, deduplication, server coverage, purchase value and currency, pixel diagnostics, data freshness, attribution settings
Targeting and audience 12 Block lists, brand safety filter, worldwide targeting, custom audiences, languages, Advantage+ placements and audience, audience size, purchaser exclusions, lookalikes, account placement exclusions, location type
Budget and bidding 7 Campaign budget, learning phase, cost per result goals, budget against cost per result, bid strategy mix, account spending limit, budget concentration
Ads and creative 9 Ads per ad set, disapproved ads, UTMs, creative fatigue, Advantage+ creative enhancements, format mix, vertical assets, Instagram account, call to action

Every check gets one of four scores:

Score Meaning
Pass Meets best practice
Evaluate Partly right, and needs a human look
Fail Broken or missing
Unable to assess The data for this check wasn't available, so Claude says what was missing instead of guessing

Claude delivers the results as an Excel file with two tabs. Audit holds all 48 checks with their score and the real values from your account, with up to three example campaigns, ad sets or ads per check. Summary holds the totals and the five fixes with the most impact, with tracking problems first, since every other number depends on them.

A Meta Ads audit opened in Google Sheets: each row shows a check, its category, a colored Pass, Evaluate or Fail score and a description with values from the account
One row per check, with the score and the real values from the account.

Step 4: Review the results and approve fixes

After the summary, Claude lists the failed checks it can fix through Markifact, with the exact change for each one.

Failed check What Claude can do
Language and geographic targeting Add languages or replace worldwide targeting on the ad sets you pick
Placements Switch ad sets to Advantage+ placements, or to the placements you choose
Custom audiences, purchaser exclusions, Advantage+ audience Add or exclude audiences on your ad sets
Lookalike audiences Create a lookalike from an audience you already have
Campaign budget and bid strategy Move to campaign budget, change the bid strategy or set a cost per result goal
Ad set budgets and end dates Change budgets and schedules
Spend caps and special ad categories Change the campaign setting
Attribution, optimization event, brand safety filter Change the ad set setting
UTMs and Instagram account Build a new creative with the fix and swap it into the ad, since Meta creatives can't be edited in place

Reply with the changes you approve, for example:

Approve the language targeting change on all three prospecting ad sets. Create a 1% lookalike from my purchasers audience and show me before you add it to any ad set.

Claude makes only the approved changes, one at a time, and confirms each one. When the same change applies to many campaigns or ad sets, it can send them together in one batch.

Some failures need a person. Turning on automatic advanced matching, first-party cookies or the Conversions API happens in Events Manager, so Claude gives you the exact steps instead. Fixing the reason behind a disapproved ad, or deciding whether you want Advantage+ campaigns at all, is your call.

Watch the setup

This video shows Markifact and Meta Ads working together in Claude:

For more detail on the connection, see How to Connect Meta Ads to Claude.

Run it again

  • Every month, to catch creative fatigue, disapprovals, ad sets stuck in learning and pixel problems early.
  • After a big change, such as a new pixel or Conversions API setup, a website change, or taking over an account from someone else.
  • For each client. Agencies can run the same prompt on every ad account their Facebook account can see.

Prefer a fixed checklist your team fills in? Use the Meta Ads audit checklist template. The same one-prompt approach also works for Google Ads and GA4.

Pricing

A full audit uses about 17 Markifact credits: one per operation. Listing your ad accounts is free. The free Markifact account has 200 one-time credits, enough for several audits. Paid plans start at $79 a month for one seat. Details are on the pricing page.

Frequently asked questions

Looking to automate your marketing?

Markifact is a no-code platform that allows you to automate your marketing workflows seamlessly. With Markifact, you can create workflows that connect your favorite marketing tools and automate repetitive tasks, saving you time and effort.

Start Automating your Marketing