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
set Keywords
nodeReplace 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 }}
}
}
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
Implement complex processes faster with n8n