Stop paying for clicks when you’ve hit conversion capacity with this script –

A conversion onslaught. The issue that some businesses can only dream of, while for others it’s a nightmare made real. Having more leads than you can qualify or orders than you can fulfill is a recipe for disaster as your overstretched staff try to deal with under-serviced (and inevitably unhappy) customers. What’s more, if you continue to run PPC ads after you’ve hit capacity, you’re basically throwing your money down the drain.

Trying to fine-tune your performance by limiting budget isn’t the answer, and keeping a constant eye on conversions to manually pause campaigns when you’ve hit capacity is a job in and of itself. Other solutions like 24/7 Bidding Scripts can have some influence on your conversions, but they’re more concerned with how performance is spread across the day (e.g. using it to only drive leads when your call center is open) than they are with total conversion volume.

If only there were a way to stop all paid search activity in your account as soon as you’ve won as many leads/conversions you can fulfill.

Well, now you can! Let the capacity controller script know how many conversions you can handle, and it will stop serving ads (and spending money) once you’ve hit that number. And to make sure you’re not wasting any opportunities, it can automatically re-enable these paused ads at midnight so you’re back up and running for the next day.

What does it do?

Set to run hourly, this script will keep track of your account-wide conversion volume throughout the day. Once your number of conversions that day is equal to or greater than the number you’ve fed it, it will pause all of your enabled campaigns, essentially shutting down your account for that day. This prevents you from receiving more conversions than you have the capacity for. It will also apply a label of your choice to these newly-paused campaigns for better visibility within your account.

Leaving your entire account paused indefinitely is not recommended, so the script can also be instructed to re-enable all of those campaigns at midnight. This ensures your account is bringing in conversions the following day.

Unless you opt-out of emails, you will receive an alert every time it pauses or re-enables your account, allowing you to keep track of the script’s activity, and giving you a general sense of how often and/or how quickly you are hitting your conversion capacity every day. You can also “dry run” the script, meaning it will still email you an alert when you’ve hit your conversion limit, but it won’t make any changes in your account. Here’s how to use it:

Create your label

The script will automatically mark all the campaigns it pauses with the label you feed it, but it can only do so if that label already exists in your Google Ads account. It also looks for this label to identify which campaigns to re-enable and un-label at midnight. If you tell the script to mark these campaigns, for example, “Paused Due To Near Conversion Limit,” but if that label doesn’t exist in your account, the script will error. 

If you haven’t worked with labels before, simply select any campaign, ad group, or keyword in your Google Ads account. A blue bar will pop up above your cursor. Select the “Label” drop down menu, and then click “New Label.” You can then name the label, add a description, and select a color. Click “Create,” and then click off the label pop up. The label will now exist in your account without being applied anywhere.

Create your script

Next, onto the script itself. In the same account, select Tools & Settings > Bulk Actions > Scripts from the top bar. Click the blue plus button in the top left of the scripts page to create a new script, give it a sensible name to make sure you can find it again later if you need to, and grant it any authorization requests that pop up.

You will then need to paste all of this code into the input box, and then modify the inputs section at the beginning of the script as below:

  • var_CONVERSION_LIMIT_INCLUSIVE = # This is the threshold after which you’d like to pause your account’s activity. If you have capacity for 100 conversions a day, for example, this will read var CONVERSION_LIMIT_INCLUSIVE = 100;
  • var LABEL_NAME = “” Type the name of the label you created in your Google Ads account within the speech marks. Double-check for typos – it needs to be verbatim or it will error!
  • var DRY_RUN = true/false The script has the ability to dry run, meaning it will email you if you hit your conversion limit but won’t make any changes within your account. To ensure it automatically pauses your account when you’ve hit your threshold, this should read var DRY_RUN = false;
  • var SEND_EMAILS = true/false What it says – a true/false choice of whether you’d like it to alert you by email when it makes changes to your account. This needs to be “true” for it to dry run effectively.
  • var EMAIL_RECIPIENTS = “” Add the email addresses of the people you’d like to be notified between the speech marks as a comma-separated list. For example, “[email protected],[email protected]
  • var ENABLE_CAMPAIGNS = true/false This controls whether you’d like the script to re-enable at midnight – if so, this should be set to “true.” This one is especially important as you risk unwillingly pausing all your campaigns until you manually re-enable them.

Schedule it to run

Once you’ve modified your inputs, click “SAVE” at the bottom and return to the scripts on the main page. Find your newly created script and set its frequency (third column as standard) to hourly – you want this script to be checking if your account has hit its conversion limit as often as possible.

And you’re good to go!

Three things to keep in mind with this script:

  1. It will only run every hour as that’s the most frequent script scheduling option in Google Ads; the script won’t pause your account at the exact number of conversions every time. If you’ve exceeded your limit ten minutes into the hour, you will still be running ads and driving conversions for 50 minutes after that point. 
  2. If you have a noticeable conversion lag, conversions will still increase after your last paid click of the day. 
  3. If you’re importing conversion data from Google Analytics, your conversion numbers reported in Google Ads will always lag a few hours behind real-time as the transfer is not instantaneous. If this is how you’re tracking your conversions, the script will respond to hitting your conversion limit with a considerable delay during which time you may be above that limit.

Opinions expressed in this article are those of the guest author and not necessarily . Staff authors are listed here.


RECOMMENDED POSTS

Find Out More

Marketing Tips You Need

Keep In Touch

Quick Subscribe

Client Reviews Tell The Tale.

Dan was a delight to work with. I needed a few headshots taken for my LinkedIn profile and Dan provided the easiest and most comfortable experience using state-of-the art equipment in a very professional setting. Also, the turn-around time on results was quick and I felt completely engaged and satisfied during the entire process. I highly recommend his services.Donny RitcharoenDecember 19, 2023
I got headshots taken and they turned out so well! The lighting was amazing.Tessa ChanMay 30, 2023
We used Appture to build a lodging website, and they were awesome! Dan went above and beyond to show us the functions and make all of our changes. Appture is our go to for web design from now on!Abigail HaleOctober 26, 2022
Dan did a fantastic job making me feel comfortable while shooting. He also made me look great! I don't photograph well, so I am very pleased with the results and speed at which I got the final product.Lily GostinSeptember 13, 2022
Appture knows their business and will go the extra mile for their customers. They do high quality work and provide great ongoing support.Chris McCorkindaleMay 24, 2022
Anita CauthornMay 24, 2022
It’s so rare in these times to find one man with so much wow factor and more rare to find men with similar interest and passion in their life journey as myself . Dan Elliott has been introduced to many in what is now considered as the Terror Dome , a place where many dreams are not deferred they are detoured to routes that lead to dead ends , he comes in full of optimism so infectious that he, maybe with out knowing is energizing those who have ventured where others would fear going with just the right jolt to forge on in the way of helping fallen humanity … His various fields of expertise has helped many in my region and I can only imagine the number he has effected beyond those I know … from day one I knew “ this was a man of kindred spirit “ Dan Elliott is a Gem and adds glimmer to things he touches … I’m a Witness ….and eternally grateful….L.Rashaan RichMay 21, 2022
Dan and his group are highly capable and knowledgeable. They work fast and get the job done. I highly recommend Appture.Justin FrankMarch 26, 2022
They are highly specialized in their work and constantly seek innovation.Ismail YenigulMarch 14, 2022
Dan is a marketing wizard. Honest, Experienced and a read deal. I am blessed to have him in my journey online :) Highly recommended.Sabbir HasanMarch 7, 2022
So much to say. Creative, Intelligent, Talented, Limitless, Affordable. It's amazing what these guys can do.Hack mackMay 17, 2019
We'd used some other agencies before, but man, they simply knocked us all over. After being in business for 30 years, I wonder how much more business we'd be doing if we'd hired them earlier.Rebecca HoneaMay 17, 2019