Whether you’re running Google Ads campaigns or optimizing your SEO strategy, finding the right keywords is crucial—but it’s also tedious. Manually brainstorming, researching, and updating keywords eats up time that could be better spent on strategy, creativity, or even just a well-deserved coffee break.
What if there was a way to automate the heavy lifting? That’s where n8n and the Google Ads API come in. n8n, a powerful workflow automation tool, lets you connect apps and services to create custom workflows. You can build a powerful workflow that can automate keyword generation saving you hours of work and ensuring your campaigns are always optimized.
In this article, we’ll walk through how to set up an automated keyword generation system using n8n and the Google Ads API. Whether you’re a marketer looking to streamline your process or a tech enthusiast curious about automation, this guide will show you how to work smarter, not harder. Let’s get started!
Setting this up
When you integrate your Google Ads into this workflow, you will unlock these features:
- Generate new keywords ideas
- Get the historical data for a given keyword
- You will need to create a cloud project and allow the Google Ads API.
- Go to the Google Ads Manager Account page and create an account.
- Once the account is created, click the “Tools” button from the top and then click the “API Center” menu.
- When the API Center page opens up, copy the “Developer token” go back to your n8n, and insert it in the Developer token field.
- Go to this page to create a Test Google Ads account. Once you have done that, you will now have 2 accounts, one is a Google Ads manager account and one is a Google Ads test account.
- From the top right corner of the Google Ads dashboard, click your Avatar/profile image to view the list of accounts, and copy the Account ID of the “closed” account which is the test account.
- Copy this into your login-customer-id and part of the url

Once you have completed all the above steps, click the “Test Step” button. If you have set everything up properly, you should see the generated Keywords
The final workflow should look like this


Grab the workflow
Grab this template free of charge on SEO DOCTOR