Welcome to WebmasterWorld Guest from 54.167.157.247

Forum Moderators: incrediBILL & martinibuster

Message Too Old, No Replies

Adsense on dynamic page

Ads not showing in .pl pages

   
7:09 pm on Sep 20, 2010 (gmt 0)

10+ Year Member



I have a site doing well on Adsense. All pages
are static with an .html extension, no fancy thing.

I want to add a dynamic part, but there is no
paying ads on the new section. The section is
relying on a perl script and all pages have
an .pl extension.

Just the no-profit ads are display in the new section.

When I change the extension and put an .html
extension, just saving the same page, but with
a static extension, the paying ads are display.

I check around others site, and can't find any
dynamic site using the simple .pl extension.

It's possible to use the .pl or I must look in
another direction.
7:21 pm on Sep 20, 2010 (gmt 0)

WebmasterWorld Administrator lifeinasia is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



Google apparently knows and loves the .html page. However, it knows nothing about the .pl page. So until it comes and sees what the pages is all about, targeting will likely be off (or non-existent).

If you switch all your pages from .html to .pl, it's likely that you will take a short-term hit until Google comes back and re-checks all the pages.

An alternative that you may want to look into instead is telling your application server to process all your .html pages as if they had a .pl extension. (In other words, the default setup is that your web server processes .html pages directly, while all .pl pages first get processed through the PERL application server then get passed to the web server. You would configure your PERL application server to processes all .html and .pl files before sending to the web server.) How you actually do that depends on what web server/OS you're using.
7:38 pm on Sep 20, 2010 (gmt 0)

5+ Year Member



I know its sounds kinda sketchy but have you tried an external Adwords account and targeting your site manually to see if you get impressions?

It can make a difference to volume but have you set that the channel can be targeted by advertisers?
12:16 am on Sep 21, 2010 (gmt 0)

10+ Year Member



Check the page headers. Ads are also not served for pages with mobile headers (text/vnd.wap.wml, etc.)

try


#!/usr/bin/perl
print "Content-type: text/html\r\n\r\n";
11:31 am on Sep 22, 2010 (gmt 0)

5+ Year Member



IMHO if you have doubt that adsense is showing relevant ads only on html pages (highly unlikely IMO) then try using .htaccess file to redirect html page request to your .pl pages.
I am no pearl expert but is this possible?

Thanks
Rajiv
 

Featured Threads

Hot Threads This Week

Hot Threads This Month