Submit Your Article Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Code > JavaScript

Reply
 
LinkBack Thread Tools
Old March 3rd, 2007, 10:05 AM   #1
New Member
 

Join Date: Feb 2007
Location: Wouldn't you like to know Jacko?
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Kimochi is on a distinguished road
Check if user has clicked an adsense ad.

I want to be able to open a new window when somebody clicks one of my adsense ads.

Any ideas on how to do this? I've tried adding different onClick and onFocus properties but none of them work!

Thanks.

Last edited by Kimochi; March 3rd, 2007 at 10:24 AM..
Kimochi is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old March 3rd, 2007, 11:03 AM   #2
Elite Veteran
 
Ryan Fait's Avatar
 

Join Date: May 2006
Location: Las Vegas
Posts: 3,784
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Ryan Fait is a jewel in the rough Ryan Fait is a jewel in the rough Ryan Fait is a jewel in the rough Ryan Fait is a jewel in the rough
Re: Check if user has clicked an adwords ad.

Do not do this. Google will not pay you if you alter the functionality in any way.
Ryan Fait is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old March 3rd, 2007, 11:43 AM   #3
New Member
 

Join Date: Feb 2007
Location: Wouldn't you like to know Jacko?
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Kimochi is on a distinguished road
Re: Check if user has clicked an adwords ad.

The original window will still go to the ad, I just want a popup saying "thanks for visiting!..." to open when somebody clicks an ad. I'm not modifying the functionality of it at all.
Kimochi is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old March 4th, 2007, 02:15 AM   #4
Elite Veteran
 
Ryan Fait's Avatar
 

Join Date: May 2006
Location: Las Vegas
Posts: 3,784
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Ryan Fait is a jewel in the rough Ryan Fait is a jewel in the rough Ryan Fait is a jewel in the rough Ryan Fait is a jewel in the rough
Re: Check if user has clicked an adwords ad.

That's exactly what you're doing. Do not modify anything regarding the ad, the action of clicking it, its look, or how it works. You need to understand that Google will do anything to avoid giving you money; they have a team to scrutinize payees. Such a script will void the Terms and Conditions immediately. Feel free to do what you want, but don't expect a paycheck.
Ryan Fait is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old March 4th, 2007, 12:31 PM   #5
Most Reputable Member
 
spinal007's Avatar
 

Join Date: Mar 2004
Location: Good Ol'London
Age: 24
Posts: 1,684
Blog Entries: 1
Thanks: 1
Thanked 4 Times in 4 Posts
Rep Altering Power: 0 spinal007 has a spectacular aura about spinal007 has a spectacular aura about
Re: Check if user has clicked an adwords ad.

I know it can be done. You'll just need to get down and dirty with a lot of Javascript and you'll need to understand how Goole displays the ads inside out.

Having said that...
1. This would not be legal.
2. The last thing I want as a user is a stupid little message saying thanks. Just shut the hell up and show me the link I clicked on. I don't care how thankfull you are.

PS.: Alternatively, you can add some code to the onunload window event.
__________________
Diego - Web-Developer & London SEO Expert
jQuery Plugins: Multiple File Upload, Star Rating, FCKEditor | NEW: XML to JSON
spinal007 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Tags
adsense , clicked


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Google adwords and keywords ect littlebilly Search Engine Optimization (SEO) 3 August 31st, 2007 11:26 AM
simple check if user exists mlecho PHP 3 August 28th, 2007 11:48 AM
call check if user function exist csun PHP 2 July 17th, 2007 02:14 AM
Check User Amari Classic ASP 10 December 19th, 2004 10:29 PM


Search Engine Optimization by vBSEO 3.2.0 RC8