Forum Moderators: martinibuster

Message Too Old, No Replies

Is there a way to test for PSA's?

         

Jon_King

12:35 pm on May 1, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Is there a way to test for PSA's and not display the ad unit at all?

For whatever reason a PSA appears about 80% of the time on a particular home page and nowhere else in the site.

If I use the alternate color attribute I get a big open block on the page which is quite unprofessional in appearance. So I want to display the page as if there were no AdSense on it at all instead of a PSA or blank block.

Is there a way?

Dreamquick

1:26 am on May 2, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes and no.

You can't find out if you'll get a PSA before serving AdSense because there is no callback mechanism or interface you can query - you just include Google's magic javascript and it does the rest.

That means in order to find out if you are serving up a PSA you need to have tried to serve at least one advert - in doing so you allow the iframe to be established thus forcing you into showing a potential PSA.

So what are your options for dealing with unwanted PSAs?

1) Use a custom PSA which shrinks the IFRAME its embedded in. Great idea, but I have a suspicious feeling this method could cause problems with the javascript security model. Probably worth checking out if you have time because if it worked it'd be simple & effective.

2) Use a custom PSA which track its usage on a per-page basis. Once the # PSAs served for a page hits a certain limit the adsense feed can be temporarily removed from that page. Requires some coding and a database, but it shouldn't be too complex.

3) Run a nicely targetted custom PSA which uses alternative adverts that are suited to the topic of your site. Not something I've tried but it strikes me as being practical if you can get good alternate material.

- Tony

Jon_King

2:44 am on May 2, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks Tony. I have added alternate adverts, which amounts to links to internal pages on my site. This seems to be the easiest way to deal with PSA's. But really I'd just a soon have no advertising at all if a targeted AdSense ad is not showing. I will continue to look for a way to deal with untargeted ads. Untargeted ad equals no space, this is my goal.

PatrickDeese

2:56 am on May 2, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I don't know if you saw this post from Brett, that has an adsense tester?

[webmasterworld.com...]

There are some other "adsense tools" on a lot of other sites.

If you don't want an ad to show, you could make the alt be a blank page that shows your background.

Also, I have a site where the alternate ad promotes lesser trafficked sections of the same site.