# Run the pLTV Audit, for AI assistants

The pLTV Audit (https://tools.churney.io) tells a company whether bidding on predicted lifetime value would pay off, and what it would take. Three read-only checks:

1. **Campaigns:** can the ad account carry a fair test?
2. **Opportunity:** are the ad platforms bidding on the wrong customers? And, for accounts that bid on conversions, which conversions to report.
3. **Data:** can the warehouse feed a daily signal?

If you can add a remote MCP server (Claude, ChatGPT and others), connect https://tools.churney.io/mcp instead: the same checks as four read-only tools, with sign-in. Guide: https://churney.io/pltv-audit/connector

You can run all three for the person. Every endpoint below scores what you send and **keeps nothing**. Nothing is saved, and no email is sent, unless the person asks (section 5). No sign-in, no key.

## How data is handled

- Everything goes over HTTPS to Churney's endpoints, which run on Cloudflare. Churney is SOC 2 Type 2.
- The scoring endpoints process a request in memory and return the result. Nothing from a request is stored, and nothing from it is logged: the server records a line with the size and the outcome only.
- Churney keeps a usage log: which check ran, from which source, how it ended (the verdict level, a failure's reason), how long it took, and who was signed in. Never a number, row or name from the data. Deleting the account removes the person's email from it; it is kept 13 months.
- Send only data the person has the right to share, and only after they say yes. User IDs can be hashed. No names, emails or payment details are needed: leave them out.
- Saving (section 5) keeps the result (scores and counts, never customer rows) for 90 days and emails the person a link. They can delete it any time from their account at https://tools.churney.io, or by asking letstalk@churney.io.

## 0. Before you start

Ask only what you can't find out yourself, one question at a time:

- **Which ad platforms do they run?** Meta, Google Ads, TikTok.
- **Where does revenue live?** A warehouse (BigQuery, Snowflake...), a billing system (Stripe, Paddle, Chargebee, Shopify, App Store via RevenueCat or Adapty), an MMP (AppsFlyer), or a spreadsheet.
- **What can you reach?** Use any connector, MCP server, CLI or API you already have for those. If you have none, the person can run a step in their browser with the link given for it, and you carry on with the rest.

Run the checks in the order below: the Campaigns check tells the Opportunity check how the account bids.

## 1. Campaigns check: can the account carry a fair test?

**If you can read the ad account** (a Google Ads, Meta or TikTok connector, or API access): pull the last 28 days and send it.

`POST https://ads.churney.io/api/score` with `{"snapshots": [snapshot, ...]}` (one per account, up to 20):

```json
{"platform": "google", "account": {"id": "1234567890", "name": "Acme", "currency": "USD"},
 "window": {"start": "2026-10-21", "end": "2026-11-17"},
 "units": [{"id": "111", "campaignId": "111", "campaignName": "PMax · All products", "name": "PMax · All products",
            "status": "active", "goal": "conversion", "bid": "auto", "event": "purchase",
            "spend": 41230.5, "conv": 812, "value": 60110, "weeks": [190, 205, 201, 216],
            "activeDays": 28, "learning": "success", "brand": false, "surface": "web", "channel": "PERFORMANCE_MAX"}],
 "conversionActions": [{"name": "Purchase", "category": "PURCHASE", "primary": true}]}
```

- `platform`: `meta`, `google` or `tiktok`. A **unit** is what learns: a campaign on Google, an ad set on Meta, an ad group on TikTok. Include every unit with spend in the window, up to 2,000.
- `goal`: `value` (maximise value, target ROAS), `conversion` (maximise conversions, target CPA), `upper` (reach, traffic, installs without an event) or `other`.
- `bid`: `auto`, `cap` (cost or bid cap), `target_roas`, `target_cpa`, `manual`, `clicks` or `other`.
- `event`: the optimisation event's name as the platform shows it (purchase, start trial, lead, complete registration...). Google: leave empty, the conversion actions say it.
- `spend` in the account currency; `conv` and `value` as the platform reports them; `weeks`: conversions in each of the last 4 weeks, oldest first.
- Optional: `learning` (`learning`, `limited`, `success`), `brand` (a brand search campaign), `surface` (`web`, `app`), `createdDays`, `editDays` (days since created or last big edit), `geo` (country codes), `audience` (`broad`, `narrow`).
- Optional, for the result's charts only: `hist` (`{"conv": [...], "spend": [...]}`, each of the last 6 weeks, oldest first, the last 4 matching `weeks`) on every unit, with `"histWeeks": 6` in `window`. Without them the charts show the 4 weeks.

It returns `{"report": ...}`: `report.headline` (`title`, `body`), `report.tldr` (three lines), and per platform the campaign to test, its daily budget per version and the weeks it takes. Keep the snapshot: you need it to save, and its bidding for step 2.

Several accounts are scored one by one, and the best leads. To score some of them together instead (one budget across markets, an app and its web funnel), add `"select": ["meta:<account id>", ...]`: the accounts to include. Those on the same platform are scored as one account, volume added up, with one verdict and one test plan; accounts on different platforms stay apart.

From the snapshot, work out **how the account bids** for step 2: `countShare` is the share of spend on `conversion` units among `conversion` + `value` units (non-brand). `"value": "count"` when that is 0.6 or more, `"value"` when 0.4 or less, otherwise `"mixed"`. Also: `convWeek` (main-event conversions a week), `units`, `learn` (15 on Google, 50 on Meta and TikTok), `platform` (`Google Ads`, `Meta`, `TikTok`), `unit` (`campaign`, `ad set`, `ad group`), `event` (`purchase`, `start_trial`, `registration`, `lead`, `app_install`...), `perUnit` (conversions a week per unit, biggest first, up to 30) and `names` (their names, same order).

**If you can't read the account:** give the person https://ads.churney.io/?start=1. One click per platform, the platform's own read-only consent screen, about a minute.

## 2. Opportunity check: are the platforms bidding on the wrong customers?

It ranks every paying customer twice, by revenue in their first 7 days (what ad platforms see) and by day 90, and measures how far the two disagree. It also works out what a value signal is worth in money and, for accounts that bid on conversion count, which conversions to report.

**Revenue in BigQuery from Firebase, RevenueCat, Amplitude, Mixpanel or Adapty, or a custom table:** follow https://gpt.churney.io/skill/SKILL.md. The query runs in their warehouse; only a score leaves it.

**Revenue anywhere else** (Stripe, Paddle, Chargebee, Shopify, an export, another warehouse): build rows in the columns the website's CSV upload takes, and send them.

`POST https://gpt.churney.io/api/score` with:

```json
{"csv": "user_id,timestamp,is_activation,value\ncus_9f2,2026-01-04T10:12:00Z,true,0\ncus_9f2,2026-01-04T10:12:00Z,false,49\ncus_9f2,2026-02-04T10:12:00Z,false,49\n...",
 "source": "stripe",
 "bidding": {"value": "count", "countShare": 0.9, "convWeek": 300, "units": 25, "learn": 15, "platform": "Google Ads", "unit": "campaign", "event": "purchase", "perUnit": [98, 50, 30], "names": ["PMax · All products", "Search · Generic", "Shopping"]},
 "spend": 54000, "roas": 1.18}
```

- One row where each customer **starts** (`is_activation` true, value 0): sign-up, first trial, or first order. Then one row per **payment** (`is_activation` false, value in the main currency, refunds negative). People who start and never pay belong in it too: they are how the check counts who goes on to pay.
- `user_id` can be any stable ID; hash it if you like. Timestamps are ISO 8601.
- Stripe: customers (created) as starts, paid invoices or succeeded charges as payments, refunds negative. Paddle and Chargebee the same. Shopify: a customer's first order is the start, every order a payment.
- 24 months of history is plenty; it needs at least 30 paying customers with 90 days of history. Up to 25,000 customers are scored; send at most that many (all rows of an even sample of customers). `rows` (`[[user_id, timestamp, is_activation, value], ...]`) works instead of `csv`.
- `bidding` (from step 1), `spend` (monthly ad spend in dollars) and `roas` (as the platform reports it, 1.18 = 118%) are optional. With `bidding` it tells the conversions story; with `spend` and `roas`, the money.
- `source`: `stripe`, `paddle`, `chargebee`, `shopify`, `appsflyer`, `csv`, `bigquery`, `databricks`, `snowflake`...
- `signal` (optional, when the revenue comes from a checkout such as Paddle): can each sale go back to the ad platforms? Look at the `custom_data` on each customer's **first** transaction (and on the customer) and count, by key name only, how many carry the app's user ID (`app_user_id`, `user_id`, `external_id`...), a Meta click ID (`fbc`, `fbp`, `fbclid`), a Google click ID (`gclid`, `gbraid`, `wbraid`), a TikTok click ID (`ttclid`, `ttp`) or UTM tags. Send shares, never values: `{"firsts": 4200, "web": 0.7, "app": 0.64, "meta": 0.27, "google": 0.06, "tiktok": 0, "utm": 0.48, "keys": ["app_user_id", "fbp"]}`. `web` is the share of first transactions with `origin` `web` (bought on their own checkout).

It returns `summary` (the result as the website shows it: `score`, `verdict`, `uplift`, `lift.potential`, `shuffle.missed`, `counts`, `horizon`, `checks`; `lift.potential` is the lift potential, 0 to 1: how much of a perfect sort of all paying customers by late revenue their early revenue misses), `lines` (the result in plain sentences, in order), `money` and, for count-bidding accounts, `campaigns` (where to start reporting fewer, better conversions, and how many a week are left).

**Paddle, through Paddle's MCP server** (`@paddle/paddle-mcp`, read-only key with transaction, customer and adjustment read): list completed transactions for up to 24 months (`billed_at`, `customer_id`, `details.totals.total` minus `tax`, `origin`, `custom_data`) and approved refund adjustments. Each customer's start is their customer `created_at` or first transaction; trials that never paid are starts with no payment. Send the rows and the `signal` above. More for Paddle merchants: https://tools.churney.io/paddle/

**If you can't reach the revenue data:** give the person https://gpt.churney.io/?start=1. It runs in their browser on a CSV or a Stripe, Paddle, Chargebee, AppsFlyer, Shopify, BigQuery or Databricks connection.

## 3. Data check: can the warehouse carry pLTV?

BigQuery, Snowflake, Redshift, Databricks, Postgres or Athena. You need a way to run read-only SQL (a CLI, a warehouse connector, or the person pasting queries into their console and the results back).

**If you can't run SQL there:** give the person https://ready.churney.io. It signs in to BigQuery, Databricks or Snowflake for them and runs the same read-only counts in their browser; Databricks and Snowflake need a client ID from their admin the first time, and the page shows the admin what to do. For Redshift, Postgres or Athena it gives them the queries to run and takes the results back.

All calls are `POST` with a JSON body to `https://ready.churney.io`. They store nothing.

1. **Read metadata only.** For the datasets or schemas that hold events, payments and attribution, read table names, column names and types, and row counts from `INFORMATION_SCHEMA` (on BigQuery also `__TABLES__` for row counts). Never select customer rows.
2. **Build `meta`:**
   ```json
   {"dialect": "bigquery", "project": "my-project", "datasets": ["my-project.analytics"],
    "tables": [{"ref": "my-project.analytics.events", "type": "TABLE", "rows": 1234567,
                "cols": [{"n": "user_id", "t": "STRING", "m": "NULLABLE"}, {"n": "event_time", "t": "TIMESTAMP", "m": "NULLABLE"}]}]}
   ```
   On BigQuery, add per table when you have them: `"modified"` (last change, ISO time), `"bytes"` (size) and, for a view, `"viewDays"`: the smallest N in a filter like `>= DATE_SUB(CURRENT_DATE(), INTERVAL N DAY)` in its SQL, or null. Read the view's SQL yourself; never send it.
   Other warehouses: `"dialect"` is `snowflake`, `redshift`, `databricks`, `postgres` or `athena`; `ref` is `database.schema.table`; columns are `{"n": name, "t": type}`.
3. **Suggest the mapping:** `/api/suggest` with `{"meta": meta}`. It returns `roles`: for `events`, `revenue` and `attribution`, a table and its user, time (and for revenue, amount and currency) columns. Show it to the user and let them correct it. The mapping you send next looks like `{"events": {"table": ref, "user": col, "ts": col}, "revenue": {"table": ref, "user": col, "ts": col, "amount": col, "currency": col}, "attribution": {"table": ref, "user": col, "ts": col}}`; use `{"table": "__none"}` for a role they don't have.
4. **Get the queries:** `/api/plan` with `{"meta": meta, "mapping": mapping}`. It returns `queries`, each with an `id`, a `label` and read-only `sql` in their dialect. Outside BigQuery it also returns `one`: every check in one query. Its rows are `(q, r)`: the check's id and one of its rows as JSON text. Group them by `q` and you have the same results as running each query.
   Queries marked `"optional": true` (on BigQuery: freshness per day, identifiers, click IDs per week, how long rows take to land, the payer match per store or platform, past revenue rows read now and as they stood 6 days ago, the last 12 weeks of numbers, and the helpers that answer questions) can fail without blocking the review; run them when you can. They return counts only: never send identifier values.
5. **Check the cost, then run.** Dry-run where the warehouse supports it, tell the user the total it reads, and ask before anything over 1 TB. Run each query. Keep the results as `{"<id>": {"rows": [ ...the rows it returned, column names lower-case... ], "bytes": <bytes scanned or null>}}`, or `{"<id>": {"error": "<message>"}}` for one that failed.
6. **Ask what metadata can't show.** Ask these one at a time, in plain words; "don't know" is always fine. Only `surfaces` matters most.
   - `surfaces` (list): where users sign up: `web`, `app`, `web2app`.
   - `necessity`: how much of first-year revenue comes in week one: `most`, `half`, `small`, `unknown`. Skip it if you ran the Opportunity check: that measured it.
   - `revised`: do revenue rows change after they're written: `no`, `yes`, `unknown`. A column like `updated_at` is a reason to ask, not an answer.
   - `refunds`: `new_rows`, `overwrite`, `none`, `unknown`.
   - `attrTruth`: whose attribution they trust: `mmp`, `platforms`, `ga4`, `inhouse`, `none`, `unknown`.
   - `mmp`: is MMP data in the warehouse: `warehouse`, `not_warehouse`, `none`, `unknown`.
   - `mmpName`: which MMP they use: `appsflyer`, `adjust`, `singular`, `other`, `none`, `unknown`.
   - `adRevenue`: `yes` (per user in the warehouse), `no` (not in the warehouse), `none`, `unknown`.
   No warehouse access at all? Ask for a weekly summary from their own reports (one row per week: `week`, `paying_users`, and any of `new_users`, `revenue`, `currency`, `users_with_gclid`, `users_with_fbc`, `payers_with_email`, `payers_with_phone`, `payers_with_device_id`). Score it with `/api/score` and `{"summary": {"rows": [...]}, "answers": {"surfaces": [...]}}`. The verdict is a partial read, and says so.
7. **Score it:** `/api/score` with `{"meta": meta, "mapping": mapping, "results": results, "answers": answers}`. If you ran the Opportunity check, add `"chain": {"score": <0..1>, "early": 7, "horizon": <late day>, "payers": <n>, "users": <n>, "source": "bigquery"}` so the review leads with the opportunity (use the `score`, `horizon` and `counts` from its `summary`). It returns `{"report": ...}`: `report.verdict` (`title`, `body`, `constraints`), `report.tldr` (short lines), `report.platforms` (can value reach Meta and Google, and on an app their MMP by S2S events: `ok` or `watch` with a sentence each; `named` says how we know which MMP they use; empty when it couldn't be measured), `report.weekly` (new users, paying users and revenue for the last 12 weeks: ask the user whether they match their own reports, and tell us in your report back), `report.history`, `report.themes` (findings with a status each, and a `source` saying how we know it: `counted` in their rows, `metadata` from table and column names, `answer` they gave, or `summary` from an uploaded summary; say which findings rest on an answer) and `report.questions` (for their data lead).


## 4. Report back

Short, in this order, without commentary between the parts:

1. One line: what the audit says (for example "A pLTV pilot looks worth running, after one change to the data").
2. **Campaigns:** `report.headline.title`, then the `report.tldr` lines.
3. **Opportunity:** the `lines` from step 2, as they are.
4. **Data:** `report.verdict.title`, the `report.tldr` lines, the months of history.
5. **Questions for their data lead:** `report.questions` from step 3.
6. **Next:** "See it all together and get your pilot plan at https://tools.churney.io, or book a call: https://churney.io/book-your-call."

Leave out a check you couldn't run, and say how the person can run it (its link).

## 5. Saving, only if the person asks

Nothing is kept unless the person asks for it. To save a check under their work email:

- Campaigns: `POST https://ads.churney.io/api/review` with `{"snapshots": [...], "email": "...", "company": "..."}`.
- Opportunity: `POST https://gpt.churney.io/api/report` with `{"email": "...", "company": "...", "summary": <summary from step 2>, "money": <money from step 2>}`.
- Data: `POST https://ready.churney.io/api/review` with the body you sent to `/api/score` plus `"email"` and optionally `"company"`.

Each returns a link, kept 90 days, and the person gets an email with it. Then tell them: **sign in at https://tools.churney.io with that email** and press Add on the checks waiting there. That puts them in one audit, with the pilot plan and the model recommendations.

Never send an email address without the person asking you to save.

## About

Churney predicts each new customer's long-term value from first-party data and sends it to Meta, Google Ads and TikTok as the bidding signal: https://churney.io. How each check is scored: https://tools.churney.io/audit.md.
