Forum Moderators: martinibuster

Message Too Old, No Replies

Is there a way to force the alternate ad

in html, even when there is plenty of Ad inventory?

         

21_blue

4:04 pm on Feb 12, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I have a popular page where I'd like to display an alternate ad (or just white space) for x% of the time, even though there is plenty of ad inventory that Google wishes to supply (no PSAs have ever appeared on this page, even though it often yields a very low EPC). There are a couple of reasons for doing this, to overcome ad blindness and to experiment with reducing the supply of ad stock for this particular topic.

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.

jetteroheller

4:12 pm on Feb 12, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Make it more simple.

I go in my web statistic and take a statistic what page has shown PSAs.

With this statistic, I can look on all my pages showing PSAs.

21_blue

4:27 pm on Feb 12, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



We don't have any PSAs show anywhere on the site. My question is, how in html can I force an alternate ad x% of the time when there is plenty of ad inventory and no PSAs.

topr8

4:31 pm on Feb 12, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



well, server side you could randomly either serve adsense or some other ad along with the rest of the page this is very straightforward. ... this assumes you can run a server side script on that page.

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.

jurii

4:32 pm on Feb 12, 2006 (gmt 0)

10+ Year Member



You can't do this in HTML, you'll need a server side technique like PHP or whatever is available for you.

21_blue

4:33 pm on Feb 12, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can't do this in HTML

OK, thanks.

jetteroheller

4:37 pm on Feb 12, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



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.

joaquin112

7:37 pm on Feb 12, 2006 (gmt 0)

10+ Year Member



Bro - with Mod_rewrite make your HTML be parsed as PHP - that will be MUCH better in the long run and you won't lose any traffic/ranking at all. To do this it is very simple so try Googling it.

21_blue

8:49 pm on Feb 12, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



jetteroheller wrote:
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!).

jetteroheller

8:58 pm on Feb 12, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



count the hits on that ad

I have set up a subdomain for all CGI

cgi.example.com

When

theme.example.com/widget/page5.htm
shows a PSA replacement, it's listed in the referer log of example com

So I have a statistic which page has how often a PSA replacement

21_blue

9:10 pm on Feb 12, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



jetteroheller wrote:
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.

icedowl

11:38 pm on Feb 12, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Earlier this month I implemented the collapsing script ( [google.com...] ) that is available to us.

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.

21_blue

11:50 pm on Feb 12, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



icedowl, what happens with or without this script if you have, say, a skyscraper, but there are only two ads available?

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...:-)

icedowl

12:10 am on Feb 13, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Without the script the PSA will be shown. It only collapses the adblock if there are absolutely no ads available.

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.

21_blue

12:18 am on Feb 13, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks icedowl.

It would be useful for page design if we were able to preview ad blocks with variable numbers of ads. Another idea for Google, perhaps...

incrediBILL

5:37 am on Feb 13, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



This is trivial, just us a banner rotator script.

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.

incrediBILL

5:40 am on Feb 13, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



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>

21_blue

4:30 pm on Feb 13, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



incrediBILL wrote:
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 :-)).

incrediBILL

5:38 pm on Feb 13, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I can't find anything in the Adsense TOS that prohibits this, so I'll give it a try.

Not only isn't it against the TOS, it was suggested to me by AdSense support when I was originally trying to find the best color scheme to get the most clicks.

21_blue

5:50 pm on Feb 13, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



jetteroheller wrote:
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!