{"id":571,"date":"2022-03-08T12:10:00","date_gmt":"2022-03-08T11:10:00","guid":{"rendered":"https:\/\/nilsrooijmans.com\/daily\/?p=571"},"modified":"2024-03-29T10:02:42","modified_gmt":"2024-03-29T09:02:42","slug":"free-script-to-pause-campaigns-automatically-when-a-site-is-down","status":"publish","type":"post","link":"https:\/\/nilsrooijmans.com\/daily\/free-script-to-pause-campaigns-automatically-when-a-site-is-down","title":{"rendered":"Free script to pause campaigns automatically when a site is down"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Do you like paying for clicks that go nowhere?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I don&#8217;t.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So, whenever one of my clients&#8217; websites goes down, I want to be in the know. Immediately.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That&#8217;s why I use Uptime Robot to monitor the uptime of all my clients&#8217; websites.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Uptime Robot alerts me when a website goes down, so I can immediately pause campaigns and stop wasted spend. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When the site is up again, I re-enable the campaigns.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Our PPC friends at the Greenhouse Group even created a script to automate this process for us. Here it is:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Google Ads Uptime Robot Monitoring Script<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>URL: <\/strong><a href=\"https:\/\/www.themarketingtechnologist.co\/pause-your-adwords-campaigns-automatically-when-a-site-is-down\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.themarketingtechnologist.co\/pause-your-adwords-campaigns-automatically-when-a-site-is-down\/<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>What it does:&nbsp;<\/strong><br>Pause campaigns when your website is down, and re-enable them when your website is up again.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Why you care:\u00a0<\/strong><br>Many things can cause your website to go offline (such as website maintenance, CMS problems, hardware failures, DNS issues,\u00a0and malicious hackers). You do not want to spend money on clicks when it does.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Happy scripting!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&#8211; Nils<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Do you like paying for clicks that go nowhere? I don&#8217;t.&nbsp; So, whenever one of my clients&#8217; websites goes down, I want to be in the know. Immediately. That&#8217;s why I use Uptime Robot to monitor the uptime of all my clients&#8217; websites. Uptime Robot alerts me when a website goes down, so I can &hellip; <a href=\"https:\/\/nilsrooijmans.com\/daily\/free-script-to-pause-campaigns-automatically-when-a-site-is-down\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Free script to pause campaigns automatically when a site is down&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-571","post","type-post","status-publish","format-standard","hentry","category-google-ads"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Free script to pause campaigns automatically when a site is down - Nils Rooijmans<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/nilsrooijmans.com\/daily\/free-script-to-pause-campaigns-automatically-when-a-site-is-down\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Free script to pause campaigns automatically when a site is down - Nils Rooijmans\" \/>\n<meta property=\"og:description\" content=\"Do you like paying for clicks that go nowhere? I don&#8217;t.&nbsp; So, whenever one of my clients&#8217; websites goes down, I want to be in the know. Immediately. That&#8217;s why I use Uptime Robot to monitor the uptime of all my clients&#8217; websites. Uptime Robot alerts me when a website goes down, so I can &hellip; Continue reading &quot;Free script to pause campaigns automatically when a site is down&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/nilsrooijmans.com\/daily\/free-script-to-pause-campaigns-automatically-when-a-site-is-down\" \/>\n<meta property=\"og:site_name\" content=\"Nils Rooijmans\" \/>\n<meta property=\"article:published_time\" content=\"2022-03-08T11:10:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-29T09:02:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/nilsrooijmans.com\/daily\/wp-content\/uploads\/2024\/05\/NilsRooijmans_GreenBG_SQUARE_200x186.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"200\" \/>\n\t<meta property=\"og:image:height\" content=\"186\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Nils Rooijmans\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nils Rooijmans\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/nilsrooijmans.com\/daily\/free-script-to-pause-campaigns-automatically-when-a-site-is-down#article\",\"isPartOf\":{\"@id\":\"https:\/\/nilsrooijmans.com\/daily\/free-script-to-pause-campaigns-automatically-when-a-site-is-down\"},\"author\":{\"name\":\"Nils Rooijmans\",\"@id\":\"https:\/\/nilsrooijmans.com\/daily\/#\/schema\/person\/645ba0bda90c1467f9d23d332d1f3aa0\"},\"headline\":\"Free script to pause campaigns automatically when a site is down\",\"datePublished\":\"2022-03-08T11:10:00+00:00\",\"dateModified\":\"2024-03-29T09:02:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/nilsrooijmans.com\/daily\/free-script-to-pause-campaigns-automatically-when-a-site-is-down\"},\"wordCount\":179,\"publisher\":{\"@id\":\"https:\/\/nilsrooijmans.com\/daily\/#\/schema\/person\/645ba0bda90c1467f9d23d332d1f3aa0\"},\"articleSection\":[\"Google Ads\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/nilsrooijmans.com\/daily\/free-script-to-pause-campaigns-automatically-when-a-site-is-down\",\"url\":\"https:\/\/nilsrooijmans.com\/daily\/free-script-to-pause-campaigns-automatically-when-a-site-is-down\",\"name\":\"Free script to pause campaigns automatically when a site is down - Nils Rooijmans\",\"isPartOf\":{\"@id\":\"https:\/\/nilsrooijmans.com\/daily\/#website\"},\"datePublished\":\"2022-03-08T11:10:00+00:00\",\"dateModified\":\"2024-03-29T09:02:42+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/nilsrooijmans.com\/daily\/free-script-to-pause-campaigns-automatically-when-a-site-is-down#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/nilsrooijmans.com\/daily\/free-script-to-pause-campaigns-automatically-when-a-site-is-down\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/nilsrooijmans.com\/daily\/free-script-to-pause-campaigns-automatically-when-a-site-is-down#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/nilsrooijmans.com\/daily\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Free script to pause campaigns automatically when a site is down\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/nilsrooijmans.com\/daily\/#website\",\"url\":\"https:\/\/nilsrooijmans.com\/daily\/\",\"name\":\"Nils Rooijmans Daily Newsletter - Google Ads\",\"description\":\"Daily emails to boost your Google Ads Performance\",\"publisher\":{\"@id\":\"https:\/\/nilsrooijmans.com\/daily\/#\/schema\/person\/645ba0bda90c1467f9d23d332d1f3aa0\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/nilsrooijmans.com\/daily\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/nilsrooijmans.com\/daily\/#\/schema\/person\/645ba0bda90c1467f9d23d332d1f3aa0\",\"name\":\"Nils Rooijmans\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/nilsrooijmans.com\/daily\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/nilsrooijmans.com\/daily\/wp-content\/uploads\/2024\/05\/NilsRooijmans_Green_Background_300x300.jpg\",\"contentUrl\":\"https:\/\/nilsrooijmans.com\/daily\/wp-content\/uploads\/2024\/05\/NilsRooijmans_Green_Background_300x300.jpg\",\"width\":300,\"height\":300,\"caption\":\"Nils Rooijmans\"},\"logo\":{\"@id\":\"https:\/\/nilsrooijmans.com\/daily\/#\/schema\/person\/image\/\"},\"description\":\"Google Ads Performance Architect with a passion for PPC Automation &amp; AI, in particular via Google Ads Scripts.\",\"sameAs\":[\"https:\/\/nilsrooijmans.com\/\",\"https:\/\/www.linkedin.com\/in\/nilsrooijmans\/\"],\"url\":\"https:\/\/nilsrooijmans.com\/daily\/author\/nils\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Free script to pause campaigns automatically when a site is down - Nils Rooijmans","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/nilsrooijmans.com\/daily\/free-script-to-pause-campaigns-automatically-when-a-site-is-down","og_locale":"en_US","og_type":"article","og_title":"Free script to pause campaigns automatically when a site is down - Nils Rooijmans","og_description":"Do you like paying for clicks that go nowhere? I don&#8217;t.&nbsp; So, whenever one of my clients&#8217; websites goes down, I want to be in the know. Immediately. That&#8217;s why I use Uptime Robot to monitor the uptime of all my clients&#8217; websites. Uptime Robot alerts me when a website goes down, so I can &hellip; Continue reading \"Free script to pause campaigns automatically when a site is down\"","og_url":"https:\/\/nilsrooijmans.com\/daily\/free-script-to-pause-campaigns-automatically-when-a-site-is-down","og_site_name":"Nils Rooijmans","article_published_time":"2022-03-08T11:10:00+00:00","article_modified_time":"2024-03-29T09:02:42+00:00","og_image":[{"width":200,"height":186,"url":"https:\/\/nilsrooijmans.com\/daily\/wp-content\/uploads\/2024\/05\/NilsRooijmans_GreenBG_SQUARE_200x186.jpg","type":"image\/jpeg"}],"author":"Nils Rooijmans","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Nils Rooijmans","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/nilsrooijmans.com\/daily\/free-script-to-pause-campaigns-automatically-when-a-site-is-down#article","isPartOf":{"@id":"https:\/\/nilsrooijmans.com\/daily\/free-script-to-pause-campaigns-automatically-when-a-site-is-down"},"author":{"name":"Nils Rooijmans","@id":"https:\/\/nilsrooijmans.com\/daily\/#\/schema\/person\/645ba0bda90c1467f9d23d332d1f3aa0"},"headline":"Free script to pause campaigns automatically when a site is down","datePublished":"2022-03-08T11:10:00+00:00","dateModified":"2024-03-29T09:02:42+00:00","mainEntityOfPage":{"@id":"https:\/\/nilsrooijmans.com\/daily\/free-script-to-pause-campaigns-automatically-when-a-site-is-down"},"wordCount":179,"publisher":{"@id":"https:\/\/nilsrooijmans.com\/daily\/#\/schema\/person\/645ba0bda90c1467f9d23d332d1f3aa0"},"articleSection":["Google Ads"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/nilsrooijmans.com\/daily\/free-script-to-pause-campaigns-automatically-when-a-site-is-down","url":"https:\/\/nilsrooijmans.com\/daily\/free-script-to-pause-campaigns-automatically-when-a-site-is-down","name":"Free script to pause campaigns automatically when a site is down - Nils Rooijmans","isPartOf":{"@id":"https:\/\/nilsrooijmans.com\/daily\/#website"},"datePublished":"2022-03-08T11:10:00+00:00","dateModified":"2024-03-29T09:02:42+00:00","breadcrumb":{"@id":"https:\/\/nilsrooijmans.com\/daily\/free-script-to-pause-campaigns-automatically-when-a-site-is-down#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/nilsrooijmans.com\/daily\/free-script-to-pause-campaigns-automatically-when-a-site-is-down"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/nilsrooijmans.com\/daily\/free-script-to-pause-campaigns-automatically-when-a-site-is-down#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/nilsrooijmans.com\/daily"},{"@type":"ListItem","position":2,"name":"Free script to pause campaigns automatically when a site is down"}]},{"@type":"WebSite","@id":"https:\/\/nilsrooijmans.com\/daily\/#website","url":"https:\/\/nilsrooijmans.com\/daily\/","name":"Nils Rooijmans Daily Newsletter - Google Ads","description":"Daily emails to boost your Google Ads Performance","publisher":{"@id":"https:\/\/nilsrooijmans.com\/daily\/#\/schema\/person\/645ba0bda90c1467f9d23d332d1f3aa0"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/nilsrooijmans.com\/daily\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/nilsrooijmans.com\/daily\/#\/schema\/person\/645ba0bda90c1467f9d23d332d1f3aa0","name":"Nils Rooijmans","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/nilsrooijmans.com\/daily\/#\/schema\/person\/image\/","url":"https:\/\/nilsrooijmans.com\/daily\/wp-content\/uploads\/2024\/05\/NilsRooijmans_Green_Background_300x300.jpg","contentUrl":"https:\/\/nilsrooijmans.com\/daily\/wp-content\/uploads\/2024\/05\/NilsRooijmans_Green_Background_300x300.jpg","width":300,"height":300,"caption":"Nils Rooijmans"},"logo":{"@id":"https:\/\/nilsrooijmans.com\/daily\/#\/schema\/person\/image\/"},"description":"Google Ads Performance Architect with a passion for PPC Automation &amp; AI, in particular via Google Ads Scripts.","sameAs":["https:\/\/nilsrooijmans.com\/","https:\/\/www.linkedin.com\/in\/nilsrooijmans\/"],"url":"https:\/\/nilsrooijmans.com\/daily\/author\/nils"}]}},"_links":{"self":[{"href":"https:\/\/nilsrooijmans.com\/daily\/wp-json\/wp\/v2\/posts\/571","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nilsrooijmans.com\/daily\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nilsrooijmans.com\/daily\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nilsrooijmans.com\/daily\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/nilsrooijmans.com\/daily\/wp-json\/wp\/v2\/comments?post=571"}],"version-history":[{"count":1,"href":"https:\/\/nilsrooijmans.com\/daily\/wp-json\/wp\/v2\/posts\/571\/revisions"}],"predecessor-version":[{"id":572,"href":"https:\/\/nilsrooijmans.com\/daily\/wp-json\/wp\/v2\/posts\/571\/revisions\/572"}],"wp:attachment":[{"href":"https:\/\/nilsrooijmans.com\/daily\/wp-json\/wp\/v2\/media?parent=571"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nilsrooijmans.com\/daily\/wp-json\/wp\/v2\/categories?post=571"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nilsrooijmans.com\/daily\/wp-json\/wp\/v2\/tags?post=571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}