Skip to content

Commit

Permalink
fix: Resolves Domain keyword Ideas generation issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
towfiqi committed Mar 3, 2024
1 parent 50160f5 commit 252ae9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/adwords.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export const getAdwordsKeywordIdeas = async (credentials:AdwordsCredentials, adw
language: `languageConstants/${language}`,
pageSize: test ? '1' : '1000',
};
if (seedType === 'custom' && seedKeywords.length > 0) {
if (['custom', 'searchconsole', 'tracking'].includes(seedType) && seedKeywords.length > 0) {
reqPayload.keywordSeed = { keywords: seedKeywords.slice(0, 20) };
}
if (seedType === 'auto' && domain) {
Expand Down

0 comments on commit 252ae9a

Please sign in to comment.