Hi all,
Here's what I'd like to automate:
I'd like to run a job where I enter a keyword that I want to research.
The Google Keyword tool at https://adwords.google.co.uk/select/KeywordToolExt... is then opened and the keyword searched for. (May need to enter captcha code)
When the results appear, for all keywords with Global Monthly Search Volume of over 1000 the 'Add' button is clicked to the right of that keyword to select it.
When all qualifying keywords have been selected, the link to download these keywords as a text file is selected and a Notepad file is opened displaying the keywords.
That is part one completed and if I could do that, then that would be great.
However, here's part two which would make things even better :-)
I'd next like to copy everything from the text file we just created and paste it into another keyword tool (called Inz) in another browser window and hit the submit button.
Now here's what I assume would be the most complicated bit....
The results from Inz appear in the webpage and are not saveable so doing it manually I would cut from the webpage and paste elsewhere to use them. The results are in the format of: keyword and a number of results so for example:
red car 456
blue car no results
green car 456,000
Would it be possible to take these results and paste them somewhere (don't mind if excel format, text or anything), then go back to the original Google Keyword search, take the Global Monthly Search Volume for each of the keywords in this new file, and list it next to the keyword?
So in other words, for the entire job, all I would do is enter 1 keyword and the final result would be a list of keywords from the Google Keyword tool who all have more than 1000 monthly searches. Each would be listed with it's number of searches and also with the number that has come from the Inz Tuel next to it.
If anyone could help with either part 1 of the above, or both parts one and two that would be great.
Regards,
Chris


Jaló Chris! This is an interesting task that you are describing. I have checked the first part of the whole process and it seems pretty impossible to automate it unless you do a small trick. Let me explain the problem first and then how you can work around it:
The obvious problem is the captcha image. However, we can probably make our job wait till you manually enter the captcha if there is one (or prompt you to enter one). The real problem here though is the following: WinAutomation has no way of knowing how many items will appear in the screen and if the number that appears in the "global monthly ... blah blah..." is higher than 1000. And even if it did know, there is no clear way on how to press the appropriate "Add" button.
The work around that I thought about includes the following steps:
1) WinAutomation reads the list of keywords from a text file
2) Loops through each keyword doing the following:
a) navigates to the keyword search tool page
b) sends the current keyword to the appropriate field
c) if there is a captcha, save it locally and launch it with Windows picture and fax viewer prompting the user to enter its value
d) submit the keyword and wait for the results (a specific image needs to be picked that will verify the end of the search)
e) Send a Ctrl+F keystroke combination
f) Send the exact keystrokes: Download all keywords: text, .csv (for excel)
g) This will select the specific part of the screen so "Move Mouse to Image" to move the mouse at the (for excel) part of the screen which is highlighted
i) Send a mouse click, wait for window to open and save file locally
j ) THEN, and ONLY THEN, we will open the saved csv file with Excel (can be done with "Read Text from File" too but I prefer Excel since it is easier to modify), and remove all the lines that have a number in their 4th column that is smaller than 1000.
h ) Save the modified file (that now only contains the keywords that we want) and move on to the next keyword (step <a> ).
What do you think of this solution for the first part of your task?
Error is not blindness, error is cowardice
Error is not blindness, error is cowardice