Forum Moderators: martinibuster
Others in this forum have previously described doing this, and achieving greater click-through rates, but as far as I recall it was always using a server-side system, such as a php page. The page I'm referring to, however, is html with a top 5 ranking on a very popular keyword with lots of natural IBLs, so I don't want to jeopardise its' ranking in any way.
Is there a way of doing this in html/javascript or the Adsense control panel, that conforms to the Adsense TOS? I've done a web and WW search but not managed to find anything.
i don't really implement any client side javascript myself (except for adsense code and similiar) so am not sure if you can have a js function doing the same thing cliient side, i expect you can.
We don't have any PSAs show anywhere on the site
Are You shure?
I just made a statistic
463 different pages from my sites have shown
PSA replacements since 1 February.
Most of them show normal ads, when I visit them.
I think that had been visitors from exotic countries, where no ads had been for this pages.
Are You shure?
Actually, no I'm not. What I meant to say was that I have never seen a PSA except for (a) when developing a page on my computer or (b) for a very brief time when we first started using adsense, and after uploading a new page (new pages seem to present targetted ads instantly now). You suggest that PSAs may be shown in other countries, and I agree that that might be the case, I don't know.
As far as I know I don't have any statistics that tell me how often PSAs have been called. I presume you measure it by putting an alternate ad into the Adsense control panel, and then count the hits on that ad? Or is there another way of doing it from the log files?
If there are PSAs appearing in other countries, this sounds like a possible way of further monetisation (though the altruistic part of me thinks that allowing PSAs is a charitable act, giving back a bit of what I get from Adsense).
joaquin wrote:
Bro - with Mod_rewrite make your HTML be parsed as PHP
Thanks for the tip. That looks very useful. Though, it also raises the question as to whether we should be moving from html to some form of content management system (yes, we still use the old html quill pen to produce pages!).
So I have a statistic which page has how often a PSA replacement
Thanks for the idea - a real gem. In fact, I wish I'd done something like this a year ago, it's so simple and useful!
Ah well, better late than never. My next task is to set up an alternative ad and start collecting stats on PSA displays. I may not do it exactly the way you've done it, jetteroheller, but the idea/concept is a valuable one, thanks.
I don't use it for the skyscraper adblocks because when the adblock collapses the page's appearance looks just plain silly. However, in the time since I added the script (7-10 days or so), the script has been called over 1,000 times according my AWSTATS report for just one site. Providing I understand the use of the collapsing script correctly, that means there would've been over 1,000 PSAs shown on that site without using the script. Make of it what you will.
My guess is that with this script, the space used is collapsed, and two ads are shown. But without this script the two ads are shown in the whole space allocated for a skyscraper (ie most of it is empty space?) That is, without this script a PSA would only be shown if there were no ads available?
Or (without this script) does a skyscraper normally get filled partly with paying ads and partly with PSAs?
Apologies for the convoluted question, but the subject does seem quite complex, and my brain has stopped working as a result of watching Mission Impossible II on Freeview for the last couple of hours...:-)
If there are any ads available the script will not collapse the adblock and the ads will display as usual, even if there is only one ad in the entire block. It does not do any collapsing when there is a 'paying ad' to show.
To my eyes there is a slight but visual delay when the ad is being collapsed if there is more content below it. I can see the content below the adblock jump up in location on the page. That disturbs me more than anything else about the resulting appearance of the page. I'd rather just let the PSA show. Of course, when there is no content below the adblock this jump isn't noticeable. Also, the jump is least noticeable on adblocks such as banners and leaderboards.
Put in AdSense code and something else, set it to display for a certain percentage, done.
You could use the banner rotator to try alternative AdSense color schemes so sometimes it's blended, sometimes not, or just make the links RED 50% of the time, experiment and see what statistically works better and use channels to track the results.
It only collapses the adblock if there are absolutely no ads available
Why would you let the ads collapse when you can put affiliate ads in it's place?
Waste of perfectly good inventory space.
Also, don't forget to catch that percentage of people with javascript disabled.
<script>
...adsense stuff...
</script>
<noscript>
...other ads for those without javascript...
</noscript>
This is trivial, just us a banner rotator script.
Thanks incrediBILL. Now I know the right term to do a search on ("banner rotator script") the SERPS have come up with loads of stuff. I can't find anything in the Adsense TOS that prohibits this, so I'll give it a try.
I've now got two really useful things from one thread :-)).
I just made a statistic
After setting up an alternate ad yesterday, I've just had a look at our log files and the alternate was called for 1.3% of ads. But as we have two or more ads on many pages, that could mean there were no ads on anything up to 3% of page views.
So the next trick is to monetise it!