Skip to main content

How to create and use a custom metric

Build a number Meta does not offer, such as profit per purchase, and test it in any rule.

Written by Team adnova

A custom metric is a formula built from the metrics Adnova already reads. Once saved, any rule on the account can test it.

Meta gives you spend and purchases, for example, but not spend per purchase. Build that once and every rule can use it.

Before you start

Know the formula in plain words first, for example "purchase value divided by spend".

Create a custom metric

  1. In a task condition, click the metric field to open the metric picker.

  2. Go to the Custom tab.

  3. Click New custom metric.

  4. Type a Name. This is what you and your colleagues will see, so "Profit per purchase" beats "CM1".

  5. Build the Formula. Use Insert a metric to add a Meta metric, and the +, -, *, / and bracket buttons for the arithmetic.

  6. Read the Reads line, which lists the metrics your formula uses. It is the quickest way to catch a mistake.

  7. Choose a Format: Number, Currency or Percent.

  8. Optional: add a Description saying what the number means.

  9. Click Create metric.

How to tell it worked

Open the metric picker on any condition and go to the Custom tab. Your metric is there.

It then behaves exactly like a Meta metric, and the logs quote it by name.

If it will not save

The editor checks the formula before saving and says what is wrong.

The message says

What to do

A metric cannot use itself

Remove the reference to the metric you are building.

Close every bracket you open

Add the missing bracket.

A custom metric with that name already exists

Pick a different name.

This formula names a metric this platform cannot evaluate

Not every Meta metric can be used in a formula. Swap it for a closer equivalent.

Manage the ones you have

Manage at the bottom of the Custom tab opens the library, where every metric on the account is listed with its description, scope, usage and last change. Edit, delete or create them here.

Editing a metric changes it everywhere. Any rule using it judges a different number from its next check. If other rules depend on it, create a second metric instead.

Common questions

Who can see my custom metrics? Anyone working in that ad account.

Can I use a Northbeam or Triple Whale metric in a formula? No. Formulas use the Meta Ads tab. Integration metrics are picked directly from the Integrations tab. See How to connect and use first-party platforms.

Next

Name a time window as well as a number: How to create and use a custom timeframe

Did this answer your question?