Welcome to WebmasterWorld Guest from 54.205.106.138

Forum Moderators: incrediBILL & martinibuster

Message Too Old, No Replies

How to Show non-public ads

You can use includes files

     
1:54 pm on Jul 16, 2003 (gmt 0)

Preferred Member

10+ Year Member

joined:June 13, 2003
posts:379
votes: 0


I have had problem with one major entry page for my site, which was showing public ads after a few days of targeted ads. My Impressions, CTR, CPM were all down because of it.

I tried several tests and found that this works best.

1. Save adsense code in a file (i.e. google.asp)
2. include it as a server side

It will start over the targeting process for your pages.
If you already have includes file for your ads, change the name to another one (i.e. google2.asp)

It works great for me.

Any other good ideas?

4:39 pm on July 16, 2003 (gmt 0)

Preferred Member

10+ Year Member

joined:June 13, 2003
posts:379
votes: 0


Hmm,

I guess it was not the answer.

I just found that I lost the major Entry page from Google SERP...

So google has no idea what this page is about...

Even Media Bot seems to have a problem with this page.

It is very accessible without any login to this page.

Any thoughts?

4:14 am on July 17, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member jenstar is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Dec 22, 2002
posts:4663
votes: 0


The fact that your page is out of Google should not affect whether you show targeted ads or the PSA ads.

I would be concerned about this:

1. Save adsense code in a file (i.e. google.asp)

Right on the Adsense FAQ it states:
4. Can I alter the AdSense ad code?
No. Please paste the AdSense ad code into your web pages without making any modifications.

So I would remove your google.asp code, and paste the AdSense code into your page. They might have replaced all your ads with the PSA ads for this reason.

5:02 am on July 17, 2003 (gmt 0)

New User

10+ Year Member

joined:Mar 5, 2003
posts:6
votes: 0


Jenstar thats not editing the code
5:43 am on July 17, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member jenstar is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Dec 22, 2002
posts:4663
votes: 0


If it is done as an include, the actual Google AdSense code would be on a separate page/file from the true page the ads would be served on. I think this would affect how AdSense would know which ads to display for various pages, which is probably resulting in the PSA ads. Using an include isn't exactly the same as "paste the AdSense ad code into your web pages without making any modifications", because you aren't pasting the AdSense code itself into the pages the ads would be served on.

On my own site, AdSense is displaying a variety of ads, based upon the content specific to each page, not the overall theme of the site as a whole.

Of course, I could be underestimating Google's abilities ;)

6:02 am on July 17, 2003 (gmt 0)

Senior Member

joined:Oct 27, 2001
posts:10210
votes: 0


Include files shouldn't pose any problem for AdSense, just as they don't for the Googlebot. Google's crawlers see the same thing that a user sees: the assembled page that's delivered by the server.

(FWIW, I use include files in my margins (including the right margin that contains my AdSense skyscraper), and Google is serving targeted ads.)

Frames would cause a problem, though. Or so I'd assume.

6:25 am on July 17, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member chiyo is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:June 21, 2000
posts:3170
votes: 0


I would guess the great majority of publishers are using the code in an include, especially those who already have sections of each page where ads are displayed as may be the case with people with large professional sites. Like the others say, an include is read (by robots and readers) only after the whole page is put together server side. It makes it MUCH easier to place and delete code from various ad servers, affiliate programs as you get to know the revenue flow for each.

It is not modifying the code or against google's TOS as far as i understand it.

11:04 am on July 17, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:June 9, 2003
posts:59
votes: 0


No, it's not modifying the code, but doesn't it go against the requirement to 'paste the AdSense ad code into your web pages'?
11:16 am on July 17, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Nov 8, 2001
posts:766
votes: 0


No because at the end of the day server side includes are all put together server side. The client machine, whether it is your pc or googles spiders only see the compelete final page.

So as long as the include file contains the unmodified adsense code then it will be "pasted into your page"