Skip to main content
Automation Rules

Explanation on how to use Automation Rules

Tim Schouten avatar
Written by Tim Schouten
Updated over 2 months ago

Automation Rules

The Automation Algorithm of Billy Grace that allocates budgets to the best performing channels and campaigns will focus on the highest incremental uplift. But often clients want to increase the total budget if a certain ROAS (or CPA) is met. When Billy Grace updates your budgets automatically, you can use Automation Rules to further automate your daily tasks.

With Automation Rules, you can define rules that if they return TRUE will execute a task to the Automation in which the rules are added. For example:

  • Increase / decrease the total daily Automation budget if campaigns, adsets or ads perform well / bad;

  • Set a maximum or a minimum budget;

  • Allocate budgets to certain channel/campaigns

  • Pause poor performing campaigns / ad sets or ads;

Automation Rules are always added to an Automation and only work for campaigns and ad sets that have been added to the Automation. The rule is checked every night during the update of Billy Grace's algorithms.

In this article, we will define an Automation Rule which will increase the Daily Automation Budget by 10% every time the campaigns and ad sets in the Automation have a higher ROAS than 3 in the last 2 weeks.

How to create an automation rule?

To set up an Automation Rule, you have to follow these steps:

  1. Presets - Template Automation Rules that you can use

  2. Define - Select the task and define the rules that if met will execute the task

  3. Selection (optional) - select channel on which the rule should apply

  4. Summary - Enter a name and description and check the Automation Rule

  5. Add the Automation Rule to an Automation

  1. Presets

We created several presets which can be selected and used instantly. Want to create a new rule? Select: Create your own Automation Rule


2. Define

First, you must select a task that will be executed if the rules you set in the next stage are met. You can choose the following tasks:

Increase/ decrease Daily Budget: Used to increase or decrease the total Daily budget of the Automation.

Increase/ decrease Campaign/Adset Budget: Used to increase or decrease budgets of certain campaigns/ ad sets inside the Automation, taking into account the maximum set Daily Budget.

Set Maximum Budget: Used to set a maximum budget for campaign or adset within the automation.

Set Minimum Budget: Used to set a minimum budget for campaign and adset within the automation.

Turn on Ads: Turn on ads in the Automation, this is done on campaign or ad set level.

Pause Ads: Turn off ads in the Automation, this is done on campaign or ad set level.

You can increase/ decrease budgets by a percentage of the total amount or by a fixed amount per day.

Keep in mind: If the total sum of the changes made by an Automation Rule (for example, increasing campaign/ adset budget) is greater than the Daily budget of the automation, the rule will be ignored.

Example: Increase Daily Budget
The daily budget of your automation is €100.
The automation rule is to increase the daily budget by 10% when your ROAS is greater than 10.

Day 1 of the rule being true, your daily budget is €110
Day 2 of the rule being true, your daily budget is €121
Day 3 of the rule being true, your daily budget is €133
Day 4 the rule is not true, your budget will be reverted with the same steps of 10: €121

Day 5 the rule is not true, your budget will be reverted with the same steps of 10: €110

Day 6 the rule is not true, your budget will be reverted with the same steps of 10: €100

Reset on revert: This setting will reset the changes that have been made when the rule was true back to the initial setting when the rule is no longer true.

Important: In the case above, the Daily budget in Billy Grace will be reset to €100. The budget in the ad platforms will be downscaled over time by a maximum of 20% per day*.

*by default.

But what happens when during the revert the rule is true again?

If the automation rule budget will be reverted and during the revert the rule becomes true again. It will start again from the current automation rule budget.


Example:

The daily budget of your automation is €100.
The automation rule is to increase the daily budget by 10% when your ROAS is greater than 10.

Day 1 of the rule being true, your daily budget is €110
Day 2 of the rule being true, your daily budget is €121
Day 3 of the rule being true, your daily budget is €133
Day 4 the rule is not true, your budget will be reverted with the same steps of 10: €121

Day 5 the rule is not true, your budget will be reverted with the same steps of 10: €110

Day 6 the rule is true, your budget will go from €110 to €121.

2. Setting rules

In the define stage, you can set conditions for the task. If the conditions are true the task will be executed. You can add AND and OR conditions here.

For example, you can choose to set up a rule based on one of your Custom Events or a variable such as Spend, Clicks, or CAC.

Below are all the different options you can choose from:

Custom Events


Variables:
Spend

Spend Percentage of Automation Budget
(percentage of actual spend compared to budget)

Impressions
Sessions

Clicks

CPM (Cost Per Mille)

CTR (Click Through Rate)

CVR (Conversion Rate)

CPC (Cost Per Click)

CAC (Customer Acquisition Cost)

Date Features:

Days in the week: You can use this date feature to select specific days in the week. For example, if you would only like to increase the daily budget on the weekend.

Days in the month: For example, if you would only like to increase the daily budget around the date when salaries are paid.

Date Range: You could use this to pick a specific date range easily.

Month in the year: For example, if you would like to increase the daily budget for your campaigns during the summer months or decrease it during the winter months.

Holidays: To increase/decrease the budget on certain holidays, such as Easter or Christmas, for example.

Weather:

Temperature: For example, if you would like to increase the daily budget when the average temperature is greater than X.

Chance of Rain: For example, if you would like to increase the daily budget when the chance of rain is greater than X.

Cloud Coverage: For example, if you would like to increase the daily budget when the cloud coverage is greater than X.

In our example, we have added a single condition: If the ROAS is greater than 3 in the last 2 weeks, then our task should be executed (for example: Increase Daily Optimization Budget by 10% to be executed).

Time Period

The period the rule should take into account. The period always looks back from the moment Billy synchronizes its data, which is every night.

How to find the right period?
The right period depends on the use case. If you want it to consider more data points or, in other words, more data in the evaluation, then you choose 4-7 weeks. If you want it to be more reactive, then you might consider a shorter period of 1-3 weeks.

For example:

If the first three weeks are very good, but the last week is poor, the average ROAS (or other target) still comes out to 3 over 4 weeks. In that case, it will still increase the budget, even though the last week was performing under a ROAS of 3. So, if you want it to be more responsive to what is happening at the moment, then you could set a shorter time frame.

If you want it to look more at the constant line of performance, then you could take 4-7 weeks. Because it is not sensitive to potentially a bad or good week.

Important: This rule will be checked every time the algorithm of Billy Grace gives budget recommendations, which is every night. In the case of increasing the daily budget, this task will be executed every time the rules are true when checked. If this happens for a couple of days and after that, the ROAS in the last two weeks isn't greater than 3 anymore the budget will automatically scale down again to the original budget set in the Automation.

You could extend this with a minimum spend in a set time period, with a minimum revenue, or with a weather forecast.

Weather forecast 🌧️ ☀️

The weather forecasts Chance of Rain, Temperature and Cloud Coverage let you define a rule that will be executed when the weather forecast matches your defined rule. With the chance of rain, it looks at the chance of precipitation. If you select temperature, it will look at the average maximum temperature forecast of the selected country. The period options are Today (rules are executed at night), tomorrow, or the next 7 days. The next 7 days mean that the average temperature of the next 7 days (where we will look at the maximum temperature of each day) meets your criteria.

The weather forecast is fetched from this source.

Remember: Automation Rules are executed each night during the update of our algorithms, the time period will look back from the execution day.

3. Selection

In the selection stage, you can select channels if you want to only let the rule work on campaigns within a specific channel (ruling out the not selected ones). This is optional, by default the Automation Rule applies to all campaigns/ ad sets and channels that have been added to the Optimization.

In the selection stage, you can select specific channels, campaigns, or ad sets, where you want the rule to apply, excluding those you don’t select. This step is optional; by default, the Automation Rule is applied to all campaigns, ad sets, and channels that are included in the Optimization.

For example, you might be running multiple campaigns across different channels, each with its own ROAS target. In some cases, a ROAS of 5 may be the goal for success, while in others, a ROAS of 4 might already be considered satisfactory. By using the selection option, you can apply a rule only to the campaigns where a ROAS of 5 is required while leaving out those where a ROAS of 4 is sufficient.

Additionally, you can create an extra rule for campaigns where a ROAS of 4 or higher is acceptable.

This flexibility allows you to customize your automation strategy to match the specific performance goals of each campaign, ensuring that optimization actions are only triggered when they align with the desired outcomes for each campaign.

4. Summary

In the summary stage, you see an overview of the Automation Rule. You can add a name and description here for future reference.

To conclude, the setting we have created will increase the Daily Optimization Budget by 10% every time the campaigns in the Automation will have a ROAS higher than 3 in the last 2 weeks.

How does the minimum & maximum adjustment work?

If you set up a rule to increase/ decrease the daily budget if a certain rule is true, you need to fill in the minimum adjustment (and optional the maximum adjustment).


Filling in a minimum adjustment of 5% and a maximum adjustment of 10%, does not mean that if the rule is true, the budget will be increased between 5% and 10%.

For example: If you fill in a minimum adjustment of 5% and a maximum of 10%. This means that if the rule is true for tomorrow, the budget will be increased by 5%, and if the rule is true again for the day after tomorrow, the budget will again be increased by 5%. But then it has reached the maximum adjustment of 10%, so nothing will happen until the rule is not true anymore and the budget gets reset to the original budget in Billy Grace. Good to know: the budget in the admanagers will be set back gradually.

Once the rule is true again it will be increased by 5% again.

If you don't fill in the maximum adjustment, this means that every time the rule is true, the budget will be increased by 5%, without an end.

How to use the Automation Rule

Add the Automation Rule to an Automation to start using it. You can do this by creating a new Automation or editing an existing one.

The rule will be checked every time the Automation updates (every night). You can see the outcome of Automation Rules in Automation Performance -> Automation Rules

Examples use-cases:

  • ROAS threshold: create an Automation Rule that ensures only ads that meet your ROAS targets continue to run.

  • Control for ad-decay: by having checks on time periods such as the past 3 weeks you can ensure that ads that previously have had good performance are paused when it seems that their performance is decaying.

  • No conversion: ensure low performing ads without conversions are paused.

  • Testing on a bigger scale: You can set the minimum spend to a certain testing budget per ad, after which all poorly performing ads are automatically turned off.

  • Scale up good performing Automations: With this rule, you can automatically scale up the total Automation Budgets of good performing campaigns, adsets or ads.

Don't forget to 'execute' the rules if you'd like to include these extra details in the automation performance and recommendations:

FAQ

What happens when there are two or more rules with increase campaign budgets in an automations?

If there are two automation rules with the increase campaign budget type and for one campaign both the automation rules are true, then it is going to pick the maximum (biggest increase) of the two automation rules.

Example:

Budget of campaign 1 is €100

Automation rule 1 is to increase the campaign budget by 10% when your ROAS is greater than 10.

Automation rule 2 is to increase the campaign budget by 15% when your ROAS is greater than 15.

Day 1:

Automation rule 1 is true then the campaign budget will be increased by 10%.

Automation rule 2 is true then the campaign budget will be increased by 15%.

Because the maximum of the automation rule 1 and 2 is 15% the budget will be increased with 15% to €115

Day 2:

Automation rule 1 is true then the campaign budget will be increased by 10%

Automation rule 2 is false then the campaign budget will be not increased by 15%.

Because only automation rule 1 is true the campaign budget will be increased with 10% to €126.50

What happens when there are two or more rules with decrease campaign budgets in an automations?

If there are two automation rules with the decrease campaign budget type and for one campaign both the automation rules are true, then it is going to pick the minimum (biggest decrease) of the two automation rules.

Example:

Budget of campaign 1 is €100

Automation rule 1 is to decrease the campaign budget by 10% when your ROAS is greater than 15.

Automation rule 2 is to decrease the campaign budget by 15% when your ROAS is lower than 10.

Day 1:

Automation rule 1 is true then the campaign budget will be decreased by 10%.

Automation rule 2 is true then the campaign budget will be decreased by 15%.

Because the minimum of the automation rule 1 and 2 is 15% the budget will be decrease with 15% to €85

Day 2:

Automation rule 1 is true then the campaign budget will be decreased by 10%

Automation rule 2 is false then the campaign budget will be not decreased by 15%.

Because only automation rule 1 is true the campaign budget will be decreased with 10% to €76

How does setting a maximum budget work?

By setting a maximum budget, you will cap the budget of a campaign/ adset in the automation.

Example:

Budget of €100 for campaign 1

Budget of €50 for campaign 2

Automation rule 1: set maximum budget to €70

Day 1:

If automation rule 1 is true, then the budget of campaign 1 will be set to €70 (from €100 to €70)

If automation rule 1 is true, then the automation rule will not affect the budget of campaign 2 (as it is already below €70).

How does setting a maximum budget when adding a selection?

After filling in a selection, the budget cap will only be applied to campaigns/ adsets that match that selection.

Example:

Budget of Youtube campaign 1 is €100

Budget Youtube campaign 2 is €50

Budget of Youtube campaign 3 is €100 in Meta

Automation rule 1: set maximum budget to €70 for Youtube

Day 1:

If automation rule 1 is true, then the budget for campaign 1 will be set to €70 (from €100 to €70)

If automation rule 1 is true, then the budget for campaign 2 will stay at €50 (it is already below the threshold)

If automation rule 1 is true, then the budget for campaign 3 will stay at €100 (it does not match the selection, so the automation rule does not affect it)

How do automation rules that increase budget work when combined with those that set a maximum budget?

When two automation rules are running together, one for increasing budget and one that sets a maximum budget, then the automation rule that increases the budget will be able to increase budgets until the maximum budget has been reached.

Example:

Budget of campaign 1 is €100

Budget of campaign 2 is €50

Automation rule 1: increases budget with 10% when the ROAS is above 5

Automation rule 2: set maximum budget to €105

Day 1:

If automation rule 1 is true, then the budget for campaign budget 1 will be set to €110 (€100 + €10)

If automation rule 2 is true, then the budget for campaign 1 will be capped to €105 (from €110)

If automation rule 1 is true, then the budget for campaign 2 will be set to €55

If automation rule 2 is true, then the budget for campaign 2 will stay at €55

How does setting a minimum budget works?

By setting a minimum budget, the automation will not be able to scale the budget for the campaigns/adsets affected by it below the value that is given.

Example:

Budget of campaign 1 is €100

Budget of campaign 2 is €50

Automation rule 1: set minimum budget to €70

Day 1:

If automation rule 1 is true, then the budget of campaign 1 will stay €100 (it is above the threshold already)

If automation rule 1 is true, then the budget of campaign 2 will be set to €70 (from €50 to €70)

How does setting a minimum budget work when adding a selection?

When you add a selection to an automation rule that sets a minimum budget, the threshold will only be applied to campaigns/ adsets that match this selection.

Example:

Budget of Youtube campaign 1 is €100

Budget of Youtube campaign 2 is €50

Budget of Meta campaign 3 is €50

Automation rule 1: set maximum budget to €70 for Youtube

Day 1:

If automation rule 1 is true, then budget of campaign 1 will stay €100 (it is above threshold already)

If automation rule 1 is true, then the budget of campaign 2 will be set to €70

If automation rule 1 is true, then the budget of campaign budget 3 will stay €50 (it does not match the selection)

Did this answer your question?