Skip to Content
Main Content

Hiker Looking Out Over Mountains

6 Minute Read | October 1, 2020

How to Get Started with Google Ads Scripts with No Coding Experience

Ads Scripts can help digital marketers with reporting, save time with optimizations, and can help automate tedious tasks. A Google search for Ads scripts yields little guidance for writing your own; however, you’ll find lots of promotions for the purchase or download of pre-written scripts. Sounds good, right? In reality, I’ve found that purchased scripts are great for some basic automations but tweaking those scripts can pose an overwhelming challenge. Instead, I recommend learning the basics of ads scripts so you can create your own or tweak existing scripts. Here’s how.

Where to Start

Google uses JavaScript-based language to automate Google Ads. So, start your learning path with a short introductory course on JavaScript. Of the many courses available on YouTube and through Google, I recommend Ben Collins’ course.

Note: Google App scripts uses JavaScript to automate such Google Apps as Google Sheets, Google Docs, Google Slides, Gmail etc. While it is not the same as Google Ads scripts, an introductory App script course will acclimate you to Google’s documentation.

Getting Set Up

Once you gain a basic understanding of JavaScript and/or Google App scripts, just dive in. To create your first script, open Google Ads, click on Tools & Settings and then click on Scripts.

Google Ads Scripts screen shot

You must allow Google Ads scripts to make changes on your (or your designated user’s) behalf; click Authorize.

Google Ads Scripts screen grab

A pop-up will, um, pop up. Choose an account on whose behalf you want Google to run the automations. I recommend choosing the same Google account you would typically use to edit the account. Then click Allow. Now you are ready to create and run your first Google Ads Script. The easiest place to start is with “Hello World.” The script should look like this:

Google Ads Scripts screen grab

After typing the script, click Save at the bottom and then click Preview. The Preview button will open your logs, which should display the string “Hello World.” It should look like this:

Google Ads scripts screen grab

Next, start referencing Google Ads specific variables. Find the documentation here.

It may be difficult to understand the documentation without previous coding experience, but it is still helpful to click through and read it. Also, the Guides tab opens many resources and instructions for getting started.

Start by defining variables and logging them to see if you are getting the output you expect. Also, make note of the different variables’ outputs. Once you start getting the hang of defining variables, you can start adding functions to manipulate your variables.

Troubleshooting

Coding always raises issues. When you encounter one, search Google to see if a solution for that exact problem is already posted. You can also post your problem online. Visit the very useful Google Ads scripts forum

This is a great resource, but forum posters might not get back to you about your exact concern. The next troubleshooting step involves trying various combinations of logging to determine exactly where the problem lies. Sometimes, Googling your problem generically without worrying about a Google Ads script specific answer is the best bet for finding a solution. As a last resort, check with some friendly developers, who often have good noses for resolving JavaScript issues even if they have no direct experience with Google Ads scripts. As a digital advertising specialist, I have found it very useful to reach out to developers when really hung up on an issue in Google Ads scripts.

Next Steps

Once you’ve created and successfully previewed an ad script, you’re ready to set it to run automatically. You can run it manually, but in many cases it makes sense to set the script to run daily, weekly or monthly:

Google Ads Scripts screen grab

Be sure to continuously check the logs of your currently running scripts under the Script History Tab. The first couple of times your script runs, cross check the script history logs with what actually happened in the account. Make sure that everything is running as you expect.

Final Thoughts

Learning Google Ads scripts is a bit of a pain for a non-developer. But the gain – a useful tool for a digital advertising strategist – makes the effort worthwhile. As I mentioned earlier, Ads scripts can help with reporting, save time with optimizations, and can help automate tedious tasks. Resist the temptation to download or purchase scripts. Instead, learn to create your own. In the long run, they will give you fewer headaches, much more freedom, and will save time and effort.

If writing your own Ads scripts or running your own ad campaigns seems overwhelming, we’re here to help! Northwoods’ digital advertising team expertly sets up, manages, monitors and adjusts ad campaigns to meet both B2B and B2C goals, and can turn poorly performing ad campaigns around. Contact us to get started.

Authored By

Northwoods Team

Your Trusted Digital Trail Guides

hand-drawn owl

Get Expert Tips

3651918/Blog/How-to-Get-Started-with-Google-Ads-Scripts-with-No-Coding-Experience6
<p>Ads Scripts can help digital marketers with reporting, save time with optimizations, and can help automate tedious tasks. A Google search for Ads scripts yields little guidance for writing your own; however, you&rsquo;ll find lots of promotions for the purchase or download of pre-written scripts. Sounds good, right? In reality, I&rsquo;ve found that purchased scripts are great for some basic automations but tweaking those scripts can pose an overwhelming challenge. Instead, I recommend learning the basics of ads scripts so you can create your own or tweak existing scripts. Here&rsquo;s how. </p> <h2>Where to Start </h2> <p>Google uses JavaScript-based language to automate Google Ads. So, start your learning path with a short introductory course on JavaScript. Of the many courses available on YouTube and through Google, I recommend <a href="https://courses.benlcollins.com/p/apps-script-blastoff" linktype="3" target="_blank">Ben Collins&rsquo; course</a>. <br /> <br /> Note: Google App scripts uses JavaScript to automate such Google Apps as Google Sheets, Google Docs, Google Slides, Gmail etc. While it is not the same as Google Ads scripts, an introductory App script course will acclimate you to Google&rsquo;s documentation. </p> <h2>Getting Set Up </h2> <p>Once you gain a basic understanding of JavaScript and/or Google App scripts, just dive in. To create your first script, open Google Ads, click on Tools &amp; Settings and then click on Scripts. </p> <p><img alt="Google Ads Scripts screen shot" class="animate-in lazy" data-src="/Northwoods-2020/Blogs/How-to-Get-Started-with-Google-Ads-Scripts-with-No-Coding-Experience---Image-1.png?Large" src="/Northwoods-2020/Blogs/How-to-Get-Started-with-Google-Ads-Scripts-with-No-Coding-Experience---Image-1.png?Large?Thumbnail" /> </p> <p>You must allow Google Ads scripts to make changes on your (or your designated user&rsquo;s) behalf; click Authorize. </p> <p><img alt="Google Ads Scripts screen grab" class="animate-in lazy" data-src="/Northwoods-2020/Blogs/How-to-Get-Started-with-Google-Ads-Scripts-with-No-Coding-Experience---Image-2.png?Large" src="/Northwoods-2020/Blogs/How-to-Get-Started-with-Google-Ads-Scripts-with-No-Coding-Experience---Image-2.png?Thumbnail" /> </p> <p>A pop-up will, um, pop up. Choose an account on whose behalf you want Google to run the automations. I recommend choosing the same Google account you would typically use to edit the account. Then click Allow. Now you are ready to create and run your first Google Ads Script. The easiest place to start is with &ldquo;Hello World.&rdquo; The script should look like this: </p> <p><img alt="Google Ads Scripts screen grab" class="animate-in lazy" data-src="/Northwoods-2020/Blogs/How-to-Get-Started-with-Google-Ads-Scripts-with-No-Coding-Experience---Image-3.png?Large" src="/Northwoods-2020/Blogs/How-to-Get-Started-with-Google-Ads-Scripts-with-No-Coding-Experience---Image-3.png?Thumbnail" /> </p> <p>After typing the script, click Save at the bottom and then click Preview. The Preview button will open your logs, which should display the string &ldquo;Hello World.&rdquo; It should look like this: </p> <p><img alt="Google Ads scripts screen grab" class="animate-in lazy" data-src="/Northwoods-2020/Blogs/How-to-Get-Started-with-Google-Ads-Scripts-with-No-Coding-Experience---Image-4.png?Large" src="/Northwoods-2020/Blogs/How-to-Get-Started-with-Google-Ads-Scripts-with-No-Coding-Experience---Image-4.png?Thumbnail" /> </p> <p>Next, start referencing Google Ads specific variables. Find the documentation <a href="https://developers.google.com/google-ads/scripts" linktype="3" target="_blank">here</a>. </p> <p>It may be difficult to understand the documentation without previous coding experience, but it is still helpful to click through and read it. Also, the Guides tab opens many resources and instructions for getting started. </p> <p>Start by defining variables and logging them to see if you are getting the output you expect. Also, make note of the different variables&rsquo; outputs. Once you start getting the hang of defining variables, you can start adding functions to manipulate your variables. </p> <h2>Troubleshooting </h2> <p>Coding always raises issues. When you encounter one, search Google to see if a solution for that exact problem is already posted. You can also post your problem online. Visit the very useful <a href="https://groups.google.com/g/adwords-scripts" linktype="3" target="_blank">Google Ads scripts forum</a>.&nbsp; </p> <p>This is a great resource, but forum posters might not get back to you about your exact concern. The next troubleshooting step involves trying various combinations of logging to determine exactly where the problem lies. Sometimes, Googling your problem generically without worrying about a Google Ads script specific answer is the best bet for finding a solution. As a last resort, check with some friendly developers, who often have good noses for resolving JavaScript issues even if they have no direct experience with Google Ads scripts. As a digital advertising specialist, I have found it very useful to reach out to developers when really hung up on an issue in Google Ads scripts. </p> <h2>Next Steps </h2> <p>Once you&rsquo;ve created and successfully previewed an ad script, you&rsquo;re ready to set it to run automatically. You can run it manually, but in many cases it makes sense to set the script to run daily, weekly or monthly: </p> <p><img alt="Google Ads Scripts screen grab" class="animate-in lazy" data-src="/Northwoods-2020/Blogs/How-to-Get-Started-with-Google-Ads-Scripts-with-No-Coding-Experience---Image-5.png?Large" src="/Northwoods-2020/Blogs/How-to-Get-Started-with-Google-Ads-Scripts-with-No-Coding-Experience---Image-5.png?Thumbnail" /> </p> <p>Be sure to continuously check the logs of your currently running scripts under the Script History Tab. The first couple of times your script runs, cross check the script history logs with what actually happened in the account. Make sure that everything is running as you expect. </p> <h2>Final Thoughts </h2> <p>Learning Google Ads scripts is a bit of a pain for a non-developer. But the gain &ndash; a useful tool for a digital advertising strategist &ndash; makes the effort worthwhile. As I mentioned earlier, Ads scripts can help with reporting, save time with optimizations, and can help automate tedious tasks. Resist the temptation to download or purchase scripts. Instead, learn to create your own. In the long run, they will give you fewer headaches, much more freedom, and will save time and effort. </p> <p><em>If writing your own Ads scripts or running your own ad campaigns seems overwhelming, we&rsquo;re here to help! Northwoods&rsquo; digital advertising team expertly sets up, manages, monitors and adjusts ad campaigns to meet both B2B and B2C goals, and can turn poorly performing ad campaigns around. <a href="/Contact-Us" linktype="2" target="_self">Contact us</a> to get started.</em> </p>
/Northwoods-2020/Hero-Images/Hiker-Looking-Out-Over-Mountains.pngHiker Looking Out Over MountainsGoogle Ads Scripts can help digital marketers with reporting, save time with optimizations, and automate tedious tasks. Here's how to get started writing your own with no coding experience! @northwoods https://bit.ly/2HRvAja #GoogleAdsNorthwoods Team/Northwoods-2020/People/NWS-Bug-Grey.png?ThumbnailNorthwoods logo bughttps://ctt.ac/s0O66<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/embed/v2.js"></script><script>hbspt.forms.create({ region: "na1", portalId: "23630176", formId: "40c5bbae-05a2-42ea-94dd-1662181fd56e" });</script>/Northwoods-2020/Blogs/Social-Media-Cards/Blog---How-to-Get-Started-with-Google-Ads-Scripts-with-No-Coding-Experience.jpg?LargeHow to Get Started with Google Ads Scripts with No Coding Experience2020-10-01T00:00:00Google Ads Scripts can help digital marketers with reporting, save time with optimizations, and automate tedious tasks. There are many pre-written Google Ads scripts available for download or purchase; instead, consider creating your own or tweaking existing scripts to get the best results. Here's how.3621620/People/Northwoods-TeamNorthwoodsTeamYour Trusted Digital Trail Guides<p>For more than 25 years, the digital experts at Northwoods have been helping clients improve their websites, software, and digital strategy and marketing. How can we help you meet your goals?&nbsp;</p> <p><a href="/Northwoods-2020/Services" linktype="2" target="_self">Learn more about our services</a>.</p>Northwoods Team/Northwoods-2020/People/NWS-Bug-Grey.pngAdd-In Type - NWS Data ModulesCategory - NWS Data ModulesCommittee - NWS Data ModulesDivision - NWS Data ModulesEvent Audience - NWS Data ModulesEvent Service - NWS Data ModulesEvent Type - NWS Data ModulesLocality - NWS Data ModulesModule - NWS Data ModulesNWS Data ModulesTopic - NWS Data ModulesPackage Type - NWS Data ModulesPersonID - NWS Data ModulesNorthwoods TeamProductVersion - NWS Data ModulesRecorded Webinar TopicsRegion - NWS Data ModulesSite Display - NWS Data ModulesSkillLevel - NWS Data ModulesTopic - NWS Data ModulesVideoAudience - NWS Data ModulesVideoClassification - NWS Data ModulesVideoStatus - NWS Data ModulesTeamAdd-In Type - NWS Data ModulesCategory - NWS Data ModulesCommittee - NWS Data ModulesDivision - NWS Data ModulesEvent Audience - NWS Data ModulesEvent Service - NWS Data ModulesEvent Type - NWS Data ModulesLocality - NWS Data ModulesModule - NWS Data ModulesNWS Data ModulesTopic - NWS Data ModulesDigital AdvertisingDigital MarketingPackage Type - NWS Data ModulesPersonID - NWS Data ModulesNorthwoods TeamProductVersion - NWS Data ModulesRecorded Webinar TopicsRegion - NWS Data ModulesSite Display - NWS Data ModulesNWS DigitalSkillLevel - NWS Data ModulesTopic - NWS Data ModulesVideoAudience - NWS Data ModulesVideoClassification - NWS Data ModulesVideoStatus - NWS Data Modules02024-02-20T12:33:40.60000