Use Custom Timeframes to Create Trend-Based Automated Rules πŸ“‰πŸ“ˆ

You can now create custom timeframes when setting up automated rules in Madgicx! Custom timeframes allow your automation to take action based on performance trends within periods that are not available under the common timeframe options in the Ads Manager (such as last week, last month, or today). This way, you can adapt your automated rules to what really works for your business. ## CREATING A CUSTOM TIMEFRAME To add a custom timeframe, head over to Automation in the left-side menu of the app and select **Custom Automation**. ![1.png](BASE/products/737559414/changelog/11186/inline-0cc8d5b4d5312f9b0b00d2c3a2655ca9.jpg) On the setup page, click on the Select time dropdown menu and choose the **Create Custom Timeframe** option: ![2.png](BASE/products/737559414/changelog/11186/inline-d77694417b1915ba29678b1813e2f4a6.jpg) A window will then pop up where you can create and save your preferred timeframe: ![3.png](BASE/products/737559414/changelog/11186/inline-54c02f7acf9d2fbe5af5ecfa8b72181a.jpg) At the top, you can select either the **Days** or **Hours** tab, depending on what you want to create. Then, simply drag the slider to fit the timeframe you want to use. The name of the timeframe will automatically change as you move the slider, but you can edit it if you want. Once done, just hit the **Create Timeframe** button at the bottom right corner of the window to save. ## USING YOUR CUSTOM TIME FRAMES You can find all the custom timeframes you create in the same drop-down selection, under **Custom time-frame**: ![4.png](BASE/products/737559414/changelog/11186/inline-218ea5d10d6d1fb3a630779c18de2f86.jpg) To **delete a custom timeframe**, hover over the one you want to remove and click the trash icon that appears next to it: ![5.png](BASE/products/737559414/changelog/11186/inline-261d145bb0422d8fc9e45f3cae3e65c0.jpg) ## EDIT EXISTING RULES AND TEMPLATES You can also apply the new custom timeframes to any automated rule that already exists in your account. Just go to **Automation Overview** under **Automation** in the left-side menu of the app. Then, click the pen icon next to the automated rule you want to edit: ![6.png](BASE/products/737559414/changelog/11186/inline-0d0bb7b3c1191791fb522f32c9b68cf4.jpg) Likewise, you can incorporate customized timeframes into the automation templates available under **Automation Strategies**. Just select the template you want to use: ![7.png](BASE/products/737559414/changelog/11186/inline-32ecf901b84869769cd5e3bffbbf7461.jpg) And in the next window, edit the timeframe as needed: ![8.png](BASE/products/737559414/changelog/11186/inline-5dfaf43368c1d6e06521216a4a5699e5.jpg) ## SMART RULES YOU CAN CREATE WITH CUSTOM TIME FRAMES Here are a couple of automated rules used by expert media buyers that you can also apply to your ad account: **1. PAUSING BASED ON THE WEEKLY ROAS TREND ** Here, we’ll pause an ad if its ROAS over the past week (last 7 days) is relatively low compared to its ROAS over the week before that (8-14 days ago). To create this rule, head over to **Custom Automation** in the left-side menu of the app and select **Ad Level**: ![9.png](BASE/products/737559414/changelog/11186/inline-ce3a73051244393baf4ec0445a3aec79.jpg) On the setup page, you can create the first part of the rule by selecting the following items in the first three menus, respectively: * **Select trigger:** ROAS (All) * **Select time:** Last 7 days (incl. today) * **Select condition:** Less than The trigger bar should look like this: ![10.png](BASE/products/737559414/changelog/11186/inline-96d999202d6343b972ed4b9111ca4349.jpg) Then, on the right, click the option to switch to dynamic value: ![11.png](BASE/products/737559414/changelog/11186/inline-8df53eaef9e15e23ae1759af27258915.jpg) This will open up a new selection where you can further define the next part of the rule: ![12.png](BASE/products/737559414/changelog/11186/inline-da3ea85b3fc161034220854ab1d6d4cf.jpg) Edit the value in the first box and type in **0.75**. Then, select **ROAS (All)** in the trigger dropdown menu. Afterward, click the **Select time** dropdown and choose the option to create a custom timeframe. Under the **Days** tab, drag the two slider points to cover **8-14 days** (as shown in the picture below): ![13.png](BASE/products/737559414/changelog/11186/inline-c8b3b9eb3a6dd09ad7a21084de347421.jpg) Save the custom timeframe by clicking the **Create Timeframe** button. Once saved, you can then select it from the dropdown. Finally, your trigger bar should look like this: ![14.png](BASE/products/737559414/changelog/11186/inline-373243018e7beffe5e9602d9e7d5160e.jpg) *Note that the value at the end of the trigger bar is automatically updated by the system and cannot be edited. This dynamic value will change as your ROAS changes, of course.* When the rule is all set up, click the **Next** button in the top right corner of the page. The next window will ask you to name the automation strategy you just made and select the ads you want to apply the rule to. Once done, just click **Launch**, and it's good to go! **2. THE AD FATIGUE ALERT** This rule helps you combat ad fatigue by warning you of any ads with high frequency and down-trending CTR. To create this rule, head over to **Custom Automation** and create a custom rule at the Ad Level (follow the same steps in Rule #1 above). Once you reach the setup page, click on the task selection located at the top of the trigger bar to change the action: ![15.png](BASE/products/737559414/changelog/11186/inline-3cbd18acac9213e5fdde5ca1a852f2b1.jpg) Click on the drop-down menu and select **Add to Name**: ![16.png](BASE/products/737559414/changelog/11186/inline-f49dbadbf5ace18b12504fd00f341d4e.jpg) Once selected, you’ll then need to type in the text you want to use: ![17.png](BASE/products/737559414/changelog/11186/inline-a46c1fb4e9cd0f43d7ab4832a4fab1c9.jpg) This will prompt the automation to add such text to the name of your ads the moment they reach the frequency and CTR set - making them easily identifiable. **Note:** you can change β€œAD FATIGUE ALERT” to any other text you want to use for this rule. To set up the first part of the rule, choose the following items in the first three drop-down menus of the trigger bar: * **Select trigger:** CTR * **Select time:** Last 7 days (incl. today) * **Select condition:** Less than The trigger bar should look like this: ![18.png](BASE/products/737559414/changelog/11186/inline-2bddec51ffb2240945b5486b069adc41.jpg) Then, head over to the right side of the bar and click the option to switch to dynamic value. Follow the steps to complete the first condition: 1. Edit the value in the box and type in **0.75** 2. Select **CTR** in the trigger dropdown menu 3. Click the **Select time** dropdown and choose the option to create a custom timeframe 4. Similar to Rule #1 above, under the **Days** tab, drag the two slider points to cover **8-14 days** 5. Save the custom timeframe by clicking the **Create Timeframe** button 6. Once saved, select the newly created timeframe in the dropdown menu Your trigger bar should then look like this: ![19.png](BASE/products/737559414/changelog/11186/inline-1573d8721b66f268b4beb389ede1d879.jpg) To factor in the frequency, click the **plus** icon next to the first condition: ![20.png](BASE/products/737559414/changelog/11186/inline-5eca65cb5b513d91a83b74bc74694d99.jpg) Then, select **Condition**. In the additional bar, select the options below in the corresponding drop-down menus: * **Select trigger:** Frequency * **Select time:** Last 7 days (incl. today) * **Select condition:** Greater than * **Value:** 4 The final rule should look like this: ![21.png](BASE/products/737559414/changelog/11186/inline-626debc60143c2505fab8d0efdd919d9.jpg) Once done, click the **Next** button in the top right corner of the page. The next window will ask you to name the automation strategy you just made and select the ads you want to apply the rule to. Finally, click **Launch**, and you're done!