Hi guys, I found something interesting and I think it would be a great share here. There is a tips that I found it here to show adsense using javascript to search engine traffic which have a good CTR, and hide them from regular/social media traffic (which proved to be a junk traffic). You know, the adsense code is not actually placed in the page. It's grabbed by iframe tag similar to amazon code block that use iframe. But It's a good stuff to decrease Pageview and increase CTR, and it also good solution for those who think they are smartpriced or whatever. I wonder if that code is legal and won't flag google for strange placement method?
http://planetozh.com/blog/my-projects/wordpress-plugin-who-sees-ads-control-adsense-display/ There is a plugin for wordpress who manages ads but it seemed difficult for me because i want to block the traffic coming from google image search I do not know how. Maybe there is some one who know how to do it.
It will be much better if you rewrite this bit of code on PHP and do not change adsense code at all. Do not put adsense into iframe.
I agree with the "rewrite to PHP idea". The problem is, most of us use wp-super-cache or anything else to speed up our wordpress blog (I'm talking about wordpress here. No clue about other cms system). So if we use PHP to generate the code, it's more likely to be cached as a html and it won't function properly. Javascript is the only way to display the ads with behavior and will work even we have a caching system. Similar to that plugin from planetozh.com. The author agreed that his plugin is useless when we have cache plugin installed and activated. Now, the problem is, we need to use javascript to display adsense code. Do we have other option to use instead of using "iframe" to call adsense code? I was a former Chitika user and they have the chitika premium ads that only display to SE visitor only. and as an alternative to show ads to non SE traffic, they shared the tip to call adsense code from somewhere else (in http://mysites.com/adsense.html for example). They said it is legit, but I'm not sure...
The best way to find out if your adsense code is valid or not is to inspect the html source when the page is displayed with adsense ads. If the code in the html source is exactly the same as provided by Google, than it is ok. The adsense crawler looks for that code and if there is any variations, it will flag it.
Hi Luxs, thanks for your idea. But there is no change in the adsense code actually. it's only browse from other external source via iframe and not directly placing the code inside our webpage/post. It seems the author of this code at my link above (the first post above) try to use iframe to call the code, not to change the structure of adsense code.