On this page:
What are Custom Expressions?
Custom Expressions is a feature within the Rule Engine that allows you to set a name for a custom expression, and then visualize the data with the given name on the results page. For example, you can define an expression under Value Type with "Daily Budget * 30.4", and name it Monthly Target.
This will result in the following:
This makes reporting easier, as the custom expressions can now be given logical names and they will be seen on the Results page and the CSV download.
Note: Custom Expressions can not be used in actions, currently only for preview in the results page (no action can be taken on them).
Where can Custom Expressions be created?
Wherever the Value type “Expression” is present in Conditions.
Which Platforms are supported?
Google Ads, Microsoft Ads, Amazon Ads
Custom Expressions can be created alongside:
Custom Variables
Custom Date Range
Spreadsheet columns
You can add Custom Variables and Spreadsheet columns in the expression, and use Custom Date Ranges with them.
How do they Work?
Whenever you are setting a condition, if you see “Expression” under Value Type, then you can create a custom expression.
Say you want to have a total of ads in an ad group, and include both expanded text ads and response search ads. For this, in the Conditions of a custom strategy, you’ll need to add the metrics for “Ad Group Count - Active Expanded Text Ads + Ad Group Count - Active Responsive Search Ads”, and save the name as “Total Ads”. If you want to view this expression in the results, then check on the box.
If you now look at the suggestions, you’ll see the custom expressions with their names, on the results page:
Custom Expressions + Custom Variables + Custom Date Ranges
When creating a Custom Expression, you can combine the data with any custom variable and custom date range.
For example:
Metric: Ad Group Count - Active Text Ads + Minimum Ads (a Custom Variable example)
Date Range: Custom Date Range
Name: Check Ads
You’ll then see “Check Ads” on the results page.