{"id":17922,"date":"2021-11-18T11:58:29","date_gmt":"2021-11-18T06:28:29","guid":{"rendered":"https:\/\/www.karooya.com\/blog\/?p=17922"},"modified":"2021-11-18T11:58:29","modified_gmt":"2021-11-18T06:28:29","slug":"script-monitor-google-ads-campaign-budget","status":"publish","type":"post","link":"https:\/\/www.karooya.com\/blog\/script-monitor-google-ads-campaign-budget\/","title":{"rendered":"A Simple Script to Monitor Google Ads Campaign Budget"},"content":{"rendered":"\n<p class=\"lead\">Budget becomes one of the most critical aspects to watch when you start your campaign. However, if you have multiple campaigns to monitor or multiple accounts to look into, then monitoring each one gets tedious.<\/p>\n\n\n\n<!--more-->\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>To solve this problem, we have built a script that will send an alert if the campaign is hitting closer to the budget allocated.<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-about-google-ads-budget-script\"><strong>About Google Ads Budget Script<\/strong><\/h4>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>In this script, you need to set up the email ID where you want to receive the alerts and the percentage cap for your campaign budget. Once the campaign budget nears the budget cap specified by you, you will receive an email alert. You can decide on doing the following once you receive the budget exhaustion alert:<\/p>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<ul class=\"wp-block-list\"><li>Increase your budget to continue running your campaign for the day<\/li><li>Pause the campaign and reactivate it the next day<\/li><\/ul>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Don&#8217;t forget to set the frequency of the script to hourly. This will ensure that the budget is monitored before it reaches its limit.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/www.karooya.com\/blog\/wp-content\/uploads\/2021\/11\/google-ads-scripts-frequency-hourly.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.karooya.com\/blog\/wp-content\/uploads\/2021\/11\/google-ads-scripts-frequency-hourly-1024x336.png\" alt=\"google ads scripts frequency hourly\" class=\"wp-image-17973\" width=\"768\" height=\"252\" srcset=\"https:\/\/www.karooya.com\/blog\/wp-content\/uploads\/2021\/11\/google-ads-scripts-frequency-hourly-1024x336.png 1024w, https:\/\/www.karooya.com\/blog\/wp-content\/uploads\/2021\/11\/google-ads-scripts-frequency-hourly-300x99.png 300w, https:\/\/www.karooya.com\/blog\/wp-content\/uploads\/2021\/11\/google-ads-scripts-frequency-hourly-768x252.png 768w, https:\/\/www.karooya.com\/blog\/wp-content\/uploads\/2021\/11\/google-ads-scripts-frequency-hourly.png 1431w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/a><\/figure><\/div>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Here are the variable components that you will need to add:<\/p>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>WARNING_PERCENTAGE_CAP <\/strong>&#8211; It is the percentage of a campaign&#8217;s budget that needs to have been spent for the tool to consider that campaign over the cap and warn about it<\/p>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>CAMPAIGN_NAME_CONTAINS &amp; CAMPAIGN_NAME_EXCLUDES<\/strong> &#8211; These variables are to help you reduce the number of campaigns to a smaller number.<\/p>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>EMAILS<\/strong> &#8211; Add the email address where you want the hourly update to be sent to. If you&#8217;d like to send to multiple addresses then have them separated by commas.<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Get Your <strong>Google Ads Budget Alert<\/strong> Script <a href=\"https:\/\/www.karooya.com\/resources\/aw-script\/budget-alert.js\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a><\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>Related Links:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/www.karooya.com\/blog\/category\/karooya-adwords-script\/\" target=\"_blank\" rel=\"noreferrer noopener\">Free Google Ads Scripts by Karooya<\/a><\/li><li><a href=\"https:\/\/www.karooya.com\/blog\/issues-handling-large-scale-search-terms\/\" target=\"_blank\" rel=\"noreferrer noopener\">Issues with handling large scale search terms<\/a><\/li><li><a href=\"https:\/\/www.karooya.com\/blog\/google-close-variants-performance\/\" target=\"_blank\" rel=\"noreferrer noopener\">How Google Close Variants Are Impacting Overall Performance?<\/a><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Budget becomes one of the most critical aspects to watch when you start your campaign. However, if you have multiple campaigns to monitor or multiple accounts to look into, then monitoring each one gets tedious.<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ub_ctt_via":"","footnotes":""},"categories":[3,14],"tags":[],"class_list":["post-17922","post","type-post","status-publish","format-standard","hentry","category-googl-search-tips","category-karooya-adwords-script"],"featured_image_src":null,"author_info":{"display_name":"Kirti","author_link":"https:\/\/www.karooya.com\/blog\/author\/kirti\/"},"_links":{"self":[{"href":"https:\/\/www.karooya.com\/blog\/wp-json\/wp\/v2\/posts\/17922","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.karooya.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.karooya.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.karooya.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.karooya.com\/blog\/wp-json\/wp\/v2\/comments?post=17922"}],"version-history":[{"count":8,"href":"https:\/\/www.karooya.com\/blog\/wp-json\/wp\/v2\/posts\/17922\/revisions"}],"predecessor-version":[{"id":17993,"href":"https:\/\/www.karooya.com\/blog\/wp-json\/wp\/v2\/posts\/17922\/revisions\/17993"}],"wp:attachment":[{"href":"https:\/\/www.karooya.com\/blog\/wp-json\/wp\/v2\/media?parent=17922"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.karooya.com\/blog\/wp-json\/wp\/v2\/categories?post=17922"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.karooya.com\/blog\/wp-json\/wp\/v2\/tags?post=17922"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}