homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Google / Google AdSense
Forum Library, Charter, Moderators: incrediBILL & martinibuster

Google AdSense Forum

Clearing out Public Service Ads
A program to browse a several thousand page site to remove PSAs

10+ Year Member

Msg#: 445 posted 7:29 pm on Aug 22, 2003 (gmt 0)

I am wanting to know if there is a program out there that will browse through a large site to clear out the public service ads. I've noticed quite a few of my webpages are serving up targetted ads based on the overall theme of the site, but would like to get the Mediapartners-Google spider to visit all of my pages so visitors will always see targetted ads when they first come into the site. Any suggestions?



10+ Year Member

Msg#: 445 posted 12:13 am on Aug 23, 2003 (gmt 0)

It's not an either/or with targetted vs. pubic service ads. It changes back and forth depending on the number of ads available.

You need to check back frequently to see if a page is always serving public service ads.

And when you do find pages that are always serving PSAs, try to figure out why. You might be able to make an easy change to get more targetted ads.


10+ Year Member

Msg#: 445 posted 12:41 am on Aug 23, 2003 (gmt 0)

If a page has been seen at least once then it seems to remain indexed until the little mediapartners robot detects that you have removed the ad code from the page - so you would not need to do this unless you have a very large number of extremely low volume pages - ie: more pages than visitors.

As far as a tool for visiting all of your pages goes, the usual run of site testing tools won't work - since they won't execute the javascript. You'll need to work with something that will automate a copy of IE.

You could hack something together using the visualbasic/WSH sendkeys command - but this will rely on your site either having a naming convention that can be run through a for-next loop (folder1/page1.htm, folder1/page2.htm, foldern/pagen.htm) or being able to extract a list of filenames from your development tool and having your code process that.

There are also proper GUI testing products that would do a better job - but they tend to come at a hefty price.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Google / Google AdSense
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved