Generate SEO Keywords with Google Ads API & n8n Automation

Discover how to automatically generate new SEO keywords with monthly search volumes using n8n and Google Ads API. This workflow saves hours by creating targeted keyword lists for SEO and Google Ads campaigns efficiently.
httpRequest
googleSheets
splitOut
+3
Workflow Identifier: 1333
NODES in Use: executeWorkflowTrigger, set, httpRequest, splitOut, googleSheets, set

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

Visit through Desktop for Best experience

What This Workflow Does

This workflow takes a list of starting keywords and finds new keyword ideas from Google Ads API.
It also gathers important info like monthly search numbers, how hard the competition is, and top bids for ads.
All results go into a Google Sheet so you can look and use them easy.
It saves a lot of time because no manual searching or copying needed.


Who Should Use This Workflow

This is good for people who need fresh keyword ideas fast.
Especially for beginners with many clients who want fresh SEO or ad keywords every week.
If you spend lots of time looking keywords one by one, this helps to get many at once.


Tools and Services Used

  • n8n platform: Runs the automation and connects nodes.
  • Google Ads API: Provides new keyword ideas and stats.
  • Google Sheets: Stores and shows keywords with details.
  • Google OAuth2 credentials: Securely access Google Ads and Sheets APIs.

Inputs, Processing, and Outputs

Inputs

  • An array of seed keywords placed in the starting trigger node.
  • Google Ads API credentials like developer-token, customer-id, and login-customer-id.
  • Google Sheets details: spreadsheet ID and sheet name to save results.

Processing

  • The trigger node grabs the keyword array and sends to the Set Keywords node.
  • The HTTP Request node calls the Google Ads API with those keywords.
  • The API responds with keyword ideas plus monthly searches, competition, and bids.
  • The Split Out node separates each keyword idea for easy handling.
  • The Edit Fields node extracts and changes names of key info, converts numbers for bids.
  • The Upsert node adds or updates rows in Google Sheets with keyword data.

Outputs

  • Google Sheet filled with new keyword ideas and their search and competition info.
  • Separated keyword items ready for other workflows or reports if linked onward.

Beginner Step-by-Step: How to Use This Workflow in n8n

1. Import the Workflow

  1. Download the provided workflow file using the Download button on this page.
  2. Open your n8n editor and click “Import from File.”
  3. Select the downloaded file to load the workflow into your workspace.

2. Add Credentials and IDs

  1. Find the Google Ads API credentials stored in n8n or add new ones with developer-token, customer-id, and login-customer-id.
  2. Check the HTTP Request node labeled Generate new keywords and update the URL replacing {customer-id} with your actual ID.
  3. In the Upsert Google Sheets node, enter your spreadsheet ID and sheet name.

3. Test the Workflow

  1. Run the workflow once manually or trigger it to see if new keywords come back and update the sheet.
  2. Check for any errors related to credentials, API call, or sheet access.

4. Activate for Production

  1. After successful tests, enable or activate the trigger node (like manual or webhook) so the workflow runs automatically when started.

If using self hosting n8n or running on a VPS, see self-host n8n for help with setup.


Customization Ideas

  • Change the country by editing geoTargetConstants in the API call body.
  • Set different languages by adjusting the language property in the HTTP request JSON.
  • Get more keyword ideas per run by increasing pageSize but watch API limits.
  • Use another data store instead of Google Sheets, like Airtable or a database node.
  • Replace the trigger node with a webhook to start the workflow from another app.

Edge Cases and Troubleshooting

  • 401 Unauthorized or Invalid Credentials: Check that developer-token, customer-id, and login-customer-id are correct and active in the Google Ads API credentials.
  • Empty Results from Keyword Ideas: Make input keywords broader or fix geoTarget and language constants for better coverage.
  • Google Sheets Not Updating: Confirm the sheet name and ID are correct and the Google Sheets credential has write permission.

Summary

✓ Automatically create keyword ideas with search volume and competition figures.
✓ Save data cleanly in Google Sheets without manual effort.
→ Helps quickly find new keywords based on input seeds.
→ Reduces manual work and errors in keyword research.
→ Sets up repeatable runs inside n8n with easy triggers.


Frequently Asked Questions

No, Google Ads API credentials are required to generate keyword ideas and obtain related metrics.
Yes, each API call consumes Google Ads API quota. Adjust frequency and results count to manage limits.
Yes, data stays within your Google Accounts, secured by OAuth and Google APIs.
Yes, modify the language constants in the HTTP Request node to change target languages.

Promoted by BULDRR AI

Related Workflows

Automate Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation Workflows in n8n

A complete beginner guide to building an AI SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free