This is the legacy documentation for Google Ads scripts. Go to the current docs.

Google Ads scripts provide a way to programmatically control your Google Ads data using simple JavaScript in a browser-based IDE. You can use scripts to automate common procedures or interact with external data—for one to many Google Ads accounts.

Getting started
Only entry-level familiarity with JavaScript is needed—the IDE helps with syntax highlighting, auto-complete, and previewing. All you need is a Google Ads account to start writing your first script.

Get started

What's new

August 6, 2020
Added beta support for search.
February 24, 2020
Added support for new style responsive display ads.
August 8, 2019
Added support for price extensions.

Read more