Get started with the new Google Ads scripts experience

May 13, 2022

Google Ads scripts are a flexible, powerful way to make automated changes in your Google Ads account. Using custom JavaScript code, you can use scripts to change bids, pause ad groups, add keywords, and other common tasks. To make it even easier to work with scripts in your account, we’re rolling out a new scripts experience featuring improved performance, support for campaign bid strategies, and more.

Faster performance and better validation

You’ll now be able to process more entities—meaning campaigns, ad groups and keywords—in the same amount of time. To help you work at a greater scale, we’ve also removed the entity limits on processing, although time limits still remain in place. 

In addition, we’ve also improved the script validation process. Validation is a way to simulate the execution of your script—meaning that you can check your script for errors and ensure that the output is what you expect before it runs. Going forward, the validation process will make sure that account and campaign limits are respected, keyword bids don’t exceed their campaign budget, URLs are properly formatted, and more.

Support for bidding strategies

To help you manage your bidding, you can now set your bidding strategies with scripts. This includes full support for bidding strategies that require an additional parameter, such as a target ROAS or target impression share.


 



 

Optmyzr, a marketing software company, uses the new scripts experience to help with campaign optimization. “The new experience brings scripts so much closer to the capabilities of modern PPC—we can now manage our bids based on business rules related to profit targets, promotions, and even the weather. It's also easier to write code because entity naming conventions have been standardized. Finally, we love the powerful query capabilities like sorting results, making it much easier to do things like finding the most profitable keywords,” said Frederick Vallaeys, Co-Founder and CEO at Optmyzr.

As part of this update, we’ve also added support for ES6, a newer version of JavaScript. Note that legacy scripts will be going away on October 31st, 2022. Read more about scripts in the Google Ads Help Center.

Posted by David Stevens, Product Manager, Google Ads

Was this helpful?
How can we improve it?

Need more help?

Sign in for additional support options to quickly solve your issue

true
Subscribe to our Best Practices newsletter

Approved by the team who built Google Ads, the Google Ads Best Practices newsletter provides actionable tips and tactics to help you get the most out of your campaigns.

Subscribe

Search
Clear search
Close search
Google apps
Main menu
Search Help Center
true
73067
true
false
false