{"id":2068,"date":"2024-03-18T17:22:26","date_gmt":"2024-03-18T17:22:26","guid":{"rendered":"https:\/\/theoptimizer.io\/help\/?post_type=ht_kb&#038;p=2068"},"modified":"2024-03-26T13:56:50","modified_gmt":"2024-03-26T13:56:50","slug":"how-to-use-campaign-start-date-in-rules","status":"publish","type":"ht_kb","link":"https:\/\/theoptimizer.io\/help\/knowledge-base\/how-to-use-campaign-start-date-in-rules\/","title":{"rendered":"How to Use Campaigns Start Date, End Date or Creation Date in Rules"},"content":{"rendered":"\n<p>With the help of automatic optimization rules on TheOptimizer platform, you can automatically pause campaigns or ad groups, change bids and budgets, or run other important optimization actions based on the <strong>Start Date<\/strong>, <strong>End Date<\/strong> or <strong>Creation Date<\/strong> of your campaign.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Example 1: Start running rule 3 days after campaign has started<\/h3>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-alert\">This rule will only work correctly if you have set a Start Date for your campaign. Make sure to check the Start Date column on TheOptimizer<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"249\" src=\"https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-26-at-2.28.44\u202fPM-1024x249.png\" alt=\"\" class=\"wp-image-2072\" srcset=\"https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-26-at-2.28.44\u202fPM-1024x249.png 1024w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-26-at-2.28.44\u202fPM-300x73.png 300w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-26-at-2.28.44\u202fPM-768x187.png 768w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-26-at-2.28.44\u202fPM-50x12.png 50w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-26-at-2.28.44\u202fPM-60x15.png 60w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-26-at-2.28.44\u202fPM-100x24.png 100w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-26-at-2.28.44\u202fPM.png 1140w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<div class=\"wp-block-ht-blocks-list heroic-styled-list\" id=\"heroic-styled-list-e086a4b9-54d0-41c3-8473-eedf60e7b5ac\"><ol class=\"fa-ul\"><li>Go to Rules and click on <strong>+New Rule<\/strong><\/li><li>Select the rule based on the desired rule action<\/li><li>Define a name for your rule and the maximum look-back interval<\/li><li>Add any standard rule conditions as needed<\/li><li>Add <strong>Campaign &#8211; Days since started > 3<\/strong> as a condition<\/li><\/ol><style>#heroic-styled-list-e086a4b9-54d0-41c3-8473-eedf60e7b5ac li:before{\n\t\t                   background:#0069e4;\n\t\t                   border-radius: 0;\n\t\t                   }<\/style><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Example 2: Stop running rule 2 days before campaigns&#8217; end date<\/h3>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-alert\">This rule will only work if you have an End Date set for your campaigns. Make sure to check the End Date column on TheOptimizer.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"243\" src=\"https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-26-at-2.30.00\u202fPM-1024x243.png\" alt=\"\" class=\"wp-image-2075\" style=\"width:742px;height:auto\" srcset=\"https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-26-at-2.30.00\u202fPM-1024x243.png 1024w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-26-at-2.30.00\u202fPM-300x71.png 300w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-26-at-2.30.00\u202fPM-768x182.png 768w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-26-at-2.30.00\u202fPM-50x12.png 50w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-26-at-2.30.00\u202fPM-60x14.png 60w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-26-at-2.30.00\u202fPM-100x24.png 100w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-26-at-2.30.00\u202fPM.png 1140w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<div class=\"wp-block-ht-blocks-list heroic-styled-list\" id=\"heroic-styled-list-fc413578-3b8f-4c5e-a02c-4de2462593c4\"><ol class=\"fa-ul\"><li>Go to Rules and click on <strong>+New Rule<\/strong><\/li><li>Select the rule based on the desired rule action<\/li><li>Define a name for your rule and the maximum look-back interval<\/li><li>Add any standard rule conditions as needed<\/li><li>Add <strong>Campaign &#8211; Days until end<\/strong> &lt;= 2 as a condition<\/li><\/ol><style>#heroic-styled-list-fc413578-3b8f-4c5e-a02c-4de2462593c4 li:before{\n\t\t                   background:#0069e4;\n\t\t                   border-radius: 0;\n\t\t                   }<\/style><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Example 3: Run rule only for campaigns created after a specific date<\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"261\" src=\"https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-26-at-2.53.52\u202fPM-1024x261.png\" alt=\"\" class=\"wp-image-2076\" srcset=\"https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-26-at-2.53.52\u202fPM-1024x261.png 1024w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-26-at-2.53.52\u202fPM-300x77.png 300w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-26-at-2.53.52\u202fPM-768x196.png 768w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-26-at-2.53.52\u202fPM-50x13.png 50w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-26-at-2.53.52\u202fPM-60x15.png 60w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-26-at-2.53.52\u202fPM-100x26.png 100w, https:\/\/theoptimizer.io\/help\/wp-content\/uploads\/2024\/03\/Screenshot-2024-03-26-at-2.53.52\u202fPM.png 1074w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\">Use &#8220;Less&#8221; or &#8220;Less or Equal&#8221; if you want the action to happen before or up to the specified date, or use &#8220;Greater&#8221; or &#8220;Greater or Equal&#8221; if you want the action to happen from the specified date or later.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>With the help of automatic optimization rules on TheOptimizer platform, you can automatically pause campaigns or ad groups, change bids and budgets, or run other important optimization actions based on the Start Date, End Date or Creation Date of your campaign. Example 1: Start running rule 3 days after campaign&#8230;<\/p>\n","protected":false},"author":1,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[14],"ht-kb-tag":[82,81],"class_list":["post-2068","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-automation-optimization","ht_kb_tag-end-date","ht_kb_tag-start-date"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/theoptimizer.io\/help\/wp-json\/wp\/v2\/ht-kb\/2068","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theoptimizer.io\/help\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/theoptimizer.io\/help\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/theoptimizer.io\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/theoptimizer.io\/help\/wp-json\/wp\/v2\/comments?post=2068"}],"version-history":[{"count":5,"href":"https:\/\/theoptimizer.io\/help\/wp-json\/wp\/v2\/ht-kb\/2068\/revisions"}],"predecessor-version":[{"id":2078,"href":"https:\/\/theoptimizer.io\/help\/wp-json\/wp\/v2\/ht-kb\/2068\/revisions\/2078"}],"wp:attachment":[{"href":"https:\/\/theoptimizer.io\/help\/wp-json\/wp\/v2\/media?parent=2068"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/theoptimizer.io\/help\/wp-json\/wp\/v2\/ht-kb-category?post=2068"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/theoptimizer.io\/help\/wp-json\/wp\/v2\/ht-kb-tag?post=2068"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}