All Collections
Custom metrics
How to create a Custom metric?
How to create a Custom metric?

Source your rules with your custom data to make right decisions

Alla avatar
Written by Alla
Updated over a week ago

A custom metric is a metric you design to accurately measure an area of interest or monitor specific data. You can create automation around metrics that matter for your business and ultimately make your advertising more effective and profitable.

Revealbot can help you create custom metrics using a variety of performance data options and an advanced formula builder. You can mix regular metrics, numbers, Google Sheets-based metrics, and data from Wicked Reports and AppsFlyer in your custom metric to get the combination that works just for you!

Here is a detailed video guide to help you get started:


​

How to create a custom metric

Custom metrics can be created right from the rule builder by clicking Create custom metric in the metric selector:
​


​ or by clicking the respective section in the top menu of the Automation rules, Reports, Top Creatives and Top Audiences:

In both cases, please make sure you select the ad platform you need on the top left corner. Let's go over some settings within the custom metric builder:

Availability defines whether a custom metric can be used with any ad accounts or only a specific one. The latter option allows you to use ad account-specific Facebook custom conversions in your formula. Please note that the selected ad account cannot be changed once a custom metric has been saved.

Format defines the way the value is displayed in the logs of the rule you’ll be using it in. For example, if you select % format in a custom metric, it will just append the % sign to the resulting value.

Custom metrics based on a formula with regular metrics

If you prefer to use your own formula to calculate the ad performance, you can do that in Revealbot! Combine regular metrics from the native ad platform and numbers, Facebook custom conversions for the selected ad account, multiply, divide, add and subtract - there are plenty of options to get creative with your custom metrics 🧚🏼
​
As an example, let's take ROAS, which indicates if your ads bring profit. Here is the formula for ROAS: Leads Value / Spend:


Custom metric as a variable

The most common condition in automated rules is checking Cost per Purchase against some value. Should you need to change this value, the more rules you have, the more tedious it gets. But if you set the Cost per Purchase value as a custom variable, updating it will be fast no matter how many rules use it.

Just begin by saving a custom metric with your target Cost per Purchase value:
​

Then use this custom metric in your rules instead of the value: change the condition type to metric comparison, find your custom metric, and make sure that you are using the same timeframe in both parts of the condition.


Custom metric based on Google Sheets

If you are using an attribution tool to help you measure ad performance, our Google Sheets integration can help you use that attribution data to build automated rules within Revealbot. The principle is pretty simple: if you know how to populate a Google Sheet with your data, you can then build custom metrics based on it and use those in your automation rules for Facebook, Google, Snapchat and TikTok Ads.

Please check out our detailed guide on how to build custom metrics based on Google Sheets for step-by-step instructions.

For Google Sheets-based metrics, Revealbot pulls the data from the Google sheet in a numeric format by default, so if your Google Sheets is using a percentage format, the numeric value of the percentage will be pulled, for example, 50% = 0.5
Please see more examples below:

Google Sheets format

Custom metric format

Rule logs

0.5

Numeric

0.5

0.5

%

0.5%

50

Numeric

50

50

%

50%

50%

Numeric

0.5

50%

%

0.5%

Custom Metrics based on data from attribution tools

Revealbot has direct integrations with Wicked Reports and AppsFlyer, which means you can use events and metrics sourced by these tools in Revealbot πŸ’ͺ🏽

Appsflyer events and Wicked Reports metrics can be found in the Metric selector:

You can mix the data from the attribution tools with other types of metrics as well:

Please note that these custom metrics will only be available in Revealbot and not the native platform, e.g. Facebook or TikTok Ads Manager.

If you face any difficulties setting up your custom metrics, feel free to contact our team in Intercom chat or at support@revealbot.com. We'd be happy to help ;)

Did this answer your question?