2.6K members online now
2.6K members online now
Welcome to the Official Google AdWords Community
Find optimization tips and how-to guides and videos by the Google team, AdWords Experts and other industry experts
Rising Star

3 Simple AdWords scripts for easy account management.

Are you using AdWords scripts? If your answer is No, it’s time to start using some simple but very powerful AdWords scripts to save your time and better manage your accounts.


Let me begin with the definition of AdWords Scripts:


What are AdWords scripts?


According to Google:


“AdWords scripts let you make automated changes in your AdWords account. Using JavaScript code, you can change bids, pause ad groups, and add keywords with written scripts directly instead of manually within your AdWords account.”


Well, actually, the possibilities go even beyond managing bids, ad groups, keywords etc. You can do almost anything using the right script.


In this article, I would like to discuss 3 simple AdWords scripts you can use to make your 'life as a PPC manager', rather easy.


Multi Bidder


Multi bidder is a very powerful script that can be used for complex bid management activities. You can use different arguments using a simple Google spreadsheet to manage the complex bid managements.

The example given by AdWords library explains how you can use multi-bidder script to:


  • Look at statistics for THIS_WEEK_SUN_TODAY.
  • Finds all keywords in Campaign #1 that received more than 1 impressions and whose CTR is greater than 0.25%
  • Increases their bids by 10%, while not exceeding $1.40.


Multi Bidder


Do some experiments and use different arguments to find the best working formula for you!


Account Audit Script


This script made by Russell Savage lets you perform pre-defined tasks for account automation. For example, this script checks all your extensions and gives back a report saying “mobile extension is missing” or “You have x number of sitelinks and you may use more”. You can actually edit this script to suit your requirements.  For example, you can pre-define how many sitelinks you want to have in a campaign. When the number of sitelinks is lesser than the number you define in the scripts, it will automatically check and let you know the status.


You don’t need to be a programmer to make these changes. Going through the code twice or thrice would help you understand how to make the necessary changes.


Once you run the script you can see log details like this that inform issues with the account.




AdWords Link Checker


Link checker is a powerful script to automatically check landing pages of the ad texts to identify the broken URLs. If you are managing a large AdWords account with hundreds of campaigns you must know how tiresome this task can be.


AdWords scripts library has MCC and single account version for this. Actually, the last time I checked this script, it gave me the results from paused campaigns as well. To avoid this, you can do a simple edit to the code with following conditions to check enabled campaigns only.



var iters = [

    //For Ad Level Urls


      .withCondition("Status = 'ENABLED'")

      .withCondition("AdGroupStatus = 'ENABLED'")

      .withCondition("CampaignStatus = 'ENABLED'")

      .withCondition("Type = 'TEXT_AD'")


    //For Keyword Level Urls


      .withCondition("Status = 'ENABLED'")

      .withCondition("DestinationUrl != ''")

      .withCondition("AdGroupStatus = 'ENABLED'")

      .withCondition("CampaignStatus = 'ENABLED'")





Other than these simple scripts, AdWords scripts library has a wide range of scripts that you can use for simple tasks like reporting to complex tasks like managing ad customizers!!!


about Nisal Lakmal

Heading the digital paid marketing team in a Sri Lankan Based Google/DoubleClick Partner Company called EmarketingEye. Want to know something more? Contact me through nisal@emarketingeye.com

Neha Gupta Top Contributor
March 2015

 Thank you for sharing Nisal!

PPCBossman Top Contributor
March 2015

Thanks Nisal.  I'm always on the lookout for (new to me) additional, useful and easy to manipulate scripts.  The account audit looks very interesting and I think I'll give it a shot!.



Nisal L Rising Star
March 2015
Thanks for the feedback. Smiley Happy I'll share when I find something interesting.
ScottyD Top Contributor
March 2015

Thanks Nisal!

pankaj1782 Top Contributor
March 2015

Thanks Nisal. This is really interesting!

Anjana J
March 2015

Great Article. Appriciating a lot. 

Rakesh Kumar Top Contributor
March 2015
Thanks Nisal for writing a great article!!!
Konstantine S
March 2015

brilliant. never used them before but definetely give them a try!


vivek v
April 2015

Hi Nisal,


Can we make changes or add new text ads & banners through Adwords Script?





Nisal L Rising Star
April 2015

Hi Vivek,


Yes you can make changes in ad text using scripts. Creating ad texts in normal scenario may not be possible using scripts but certainly you can make changes. 


For a Eg you can use following scripts to do changes in Ad text. However dependng on your requriment you may have to create new scripts. Please refer following examples for better understanding.


Ad Customizer      - https://developers.google.com/adwords/scripts/docs/solutions/customizer Ad Parameterizer  -  https://developers.google.com/adwords/scripts/docs/solutions/parameterizer