Our team of SEO Web Design gurus are standing by to assist you achieve your online marketing goals.

(541) 799-0040‬

SEO Web Design, LLC aims to improve business by delivering effective solutions based on innovative technologies and professional designs. Discover the variety of services we offer and convince yourself on the basis of the latest works that we've done. We love building fresh, unique and usable websites optimized specifically for your niche.

Responsive Web Design

SEO / SEM / Social Media

Conversion Rate Optimization

Email Marketing

Online Presence Analysis

Web Hosting
SEO Web Design / SEO  / Advanced Google Ads script to forecast ad performance

Advanced Google Ads script to forecast ad performance

Creating accurate projections of your future paid search spend is a really important part of your overall media buying plan.

How often have you been asked, how many leads would we get if we increase media spend by X.

Or considering that our conversion rate is 19% better year on year, how many more leads will we get this year.

The truth is though that putting projections together is tedious and time consuming.

So as we do with any boring, tedious but repeatable task, the developers at Clicteq (my employer) put together this advanced Google Ads script that creates forecasts for you based on past performance.

How the script works

The script analyses the performance from the last month and compares this to the performance of the same month the year before.

It then analyzes the changes in performance for all of the metric, for example if conversion rates have increased or if CTR is lower for example.

It then applies these same changes to the performance of last year to create projections for the next 12 months.

The script also allows you to model out scenarios, for example if you wanted to spend 10% more it would create projections with an additional 10% of spend.

It’s worth noting here though that the bigger the difference that you input the less accurate the projections because there is not always a linear correlation between CPCs.

How to setup the script

Before you run the script, however there are a couple of things that you need to change.

  1. You will first need to create a new Google Sheet. This is where the script will output the projections too, once you have created a new sheet copy the URL.
  2. On line 17, you can change which campaigns you want to include. To include all of the campaigns that contain the term “brand” for example, you would enter the word “brand” here. If on the other hand, you want to include all of the campaigns, then just leave this field blank.
  3. On line 20 you should enter the URL of the Google sheet that you want to output your forecasts (created in step 1).
  4. On line 30 is where you select increments of forecasts. If you want to see the metrics broken down by week then enter “Week.” If you want them monthly then enter “Month” or for quarterly enter “Quarter.”
  5. On line 31 you can configure how the cost will change. If you want the budget to stay the same then enter “1”. To increase the budget by 20% then enter “1.2” or to decrease the budget by 25% then enter “0.75”.
  6. On line 32 you can configure which currency that your account runs in, this should be the symbol that denotes the currency, for example “£” or “$”.

Here’s the Google Ads script

Opinions expressed in this article are those of the guest author and not necessarily Search Engine Land. Staff authors are listed here[1].

About The Author

Wesley is managing director at Clicteq[2]. He currently manages a $4M-plus Google Ads portfolio across a range of different sectors. He regularly writes in leading marketing publications such as Econsultancy and Campaign Magazine.


  1. ^ here (
  2. ^ Clicteq (

Powered by WPeMatico

Search Engine Land is the leading industry source for daily, must-read news and in-depth analysis about search engine technology.