Generating New Keywords and their Search Volumes using the Google Ads API

Generate new keywords for SEO with the monthly Search volumes

This workflow is an improvement on the workflows below. It can be used to generate new keywords that you can use for your SEO campaigns or Google ads campaigns

Generate SEO Keyword Search Volume Data using Google API and Generating Keywords using Google Autosuggest

Usage Send the keywords you need as an array to this workflow Pin the data and map it to the set Keywords node Map the keywords to the Google ads API with the location and Language of your choice Split the results and set them data Pass this to the next nodes as needed for storage Make a copy of this spreedsheet and update the data accordingly

Having challenges with the google Ads API? Read this blog

Setup

Replace the trigger with your desired trigger eg a webhook or manual trigger

Map the data correctly to the set Keywords node On the Generate new keywords, Update the {customer_id} on the url and login-customer-id with your actual one. Update the developer-token` also with your values.

The url should be corrected as below https://googleads.googleapis.com/v18/customers/{customer-id}:generateKeywordIdeas

You should send the headers as below

        {
          "name": "content-type",
          "value": "application/json"
        },
        {
          "name": "developer-token",
          "value": "5j-tyzivCNmiCcoW-xkaxw"
        },
        {
          "name": "login-customer-id",
          "value": "513554 "
        }
     

and the json body should take the following format

{ "geoTargetConstants": ["geoTargetConstants/2840"], "includeAdultKeywords": false, "pageToken": "", "pageSize": 2, "keywordPlanNetwork": "GOOGLE_SEARCH", "language": "languageConstants/1000", "keywordSeed": { "keywords": {{ $json.Keyword }} } }

Troubleshooting

If you get an error with the workflow, check the credentials you are using

Check the account you are using eg the right customer id and developer token

Follow the guide on the blog to set up your Google ads account

Made by @Imperol

0
Downloads
11627
Views
8.94
Quality Score
beginner
Complexity
Author:Zacharia Kimotho(View Original →)
Created:8/14/2025
Updated:8/25/2025

🔒 Please log in to import templates to n8n and favorite templates

Workflow Visualization

Loading...

Preparing workflow renderer

Comments (0)

Login to post comments