ToNic Innovation 0 Posted April 9, 2012 Report Share Posted April 9, 2012 Hello, I have been playing around with ubot for about a week. So far I am amazed at what it is capable of and I am sure I have just scratched the surface. I have run into a roadblock that I have no idea how to solve. I am trying to utilize adwords in my bot system and need to know if the user will be using a new or existing Ad Group. I have had no success setting up a bot to click the New Ad Group button if the user chooses New. Likewise I'm unsuccessful setting up a bot to show existing Ad Groups so the user may choose them. Any help would be appreciated. Todd Bennett Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted April 9, 2012 Report Share Posted April 9, 2012 can you give me a screenshot of the page you are referring to? im in there now and ready to produce something to work for it, but need a little bit more direction as to what area, section you are in and wanting this functionality. Quote Link to post Share on other sites
ToNic Innovation 0 Posted April 9, 2012 Author Report Share Posted April 9, 2012 Here is a screen shot. http://i1133.photobucket.com/albums/m593/tonicemarketing/ubot.png Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted April 10, 2012 Report Share Posted April 10, 2012 here you go ui text box("Group Name", #group name search) if($exists(<innertext=#group name search>)) { then { alert("Can click the group now, or do anything you like with it.") click(<innertext=#group name search>, "Left Click", "No") } else { alert("Can click create a new ad group now and create with name given in UI") click(<innertext="New ad group">, "Left Click", "No") } } attached ubot file and here is an example video of use (please ignore the rambling a bit, and slow pc http://screencast.com/t/gZFvzl3YjRkadwords groups example.ubot Quote Link to post Share on other sites
ToNic Innovation 0 Posted April 10, 2012 Author Report Share Posted April 10, 2012 Thanks so much! Excuse my ignorance but where exactly do I add that code? Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted April 10, 2012 Report Share Posted April 10, 2012 updated post... Quote Link to post Share on other sites
ToNic Innovation 0 Posted April 10, 2012 Author Report Share Posted April 10, 2012 WOW! You went over and above by making the video to help me out! Thanks so much for your help! I can only hope to get knowledgeable enough to help other. If that happens I will not hesitate to do so.Thanks again Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted April 10, 2012 Report Share Posted April 10, 2012 Sounds great. Hope the example code and video helped.. Quote Link to post Share on other sites
ToNic Innovation 0 Posted April 10, 2012 Author Report Share Posted April 10, 2012 After playing with the code I realized this is not quite what I had in mind. I was trying to achieve this result without having to click in the browser. I realize this option is only available in the dev edition and I will be upgrading next week. So how can I do this where if they have existing ad campaigns it is listed in the UI and the user is able to choose either an existing or new campaign? Quote Link to post Share on other sites
pusaqall 1 Posted April 10, 2012 Report Share Posted April 10, 2012 I have learned something from you, Pal. I didn't know at first that group names should be case sensitive. Other functions also needs to be that way. Thanks for that.http://imagicon.info/cat/5-34/vbulletin-smile.gif Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted April 10, 2012 Report Share Posted April 10, 2012 After playing with the code I realized this is not quite what I had in mind. I was trying to achieve this result without having to click in the browser. I realize this option is only available in the dev edition and I will be upgrading next week. So how can I do this where if they have existing ad campaigns it is listed in the UI and the user is able to choose either an existing or new campaign? requires to scrape all groups and set them comma delimited, to a variabledthat variable should be named the same as the UI element, and pause alerting them that they should select it from the list in the UI Quote Link to post Share on other sites
ToNic Innovation 0 Posted April 10, 2012 Author Report Share Posted April 10, 2012 hmm okay. I will try to figur that out. Thanks again! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.