Forum Moderators: martinibuster

Message Too Old, No Replies

Cant Make Alternative Ads show up

Nothing but blank spot shows where ad should be

         

dazzlindonna

3:59 am on Feb 19, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Ok, I've searched the entire Adsense forum, and have seen other people have had the problem, but no solution was ever presented.

Problem: Display a clickable image alternative ad.

The adsense code:


<script type="text/javascript"><!--
google_ad_client = "pub-********xxxxx";
google_alternate_ad_url = "http://www.mydomain.com/kitad.html";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_color_border = "FC8040";
google_color_bg = "FFFFFF";
google_color_link = "000000";
google_color_url = "999999";
google_color_text = "FF9900";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

The kitad.html page:

<a href="http://www.myaffilateurl.com" target="_top"><img src="http://www.my-domain.com/images/myimage.gif" border="0" /></a>

Nothing else is on the kitad.html page but this code (no header tags, etc).

Result: A blank spot where the ad should show.

Has anyone who has experienced this problem figured out how to solve it? If so, please let me know what I'm doing wrong.

Thank you.

richmondsteve

4:06 am on Feb 19, 2004 (gmt 0)

10+ Year Member



I've never had any problems with my alternate ad pages. Mine all include html, head and body tags. It sounds like yours don't. Have you tried including those?

Also, be aware that if the page you are using for your alternate ad has dimensions larger than the ad block it's being loaded in, only the area of proper size starting at the top left corner will be visible. In other words, in your case be sure that the image in the alternate ad page appears in the top 468x60 pixels of that page.

dazzlindonna

4:27 am on Feb 19, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I've also tried including the head, html and body tags. Same problem.

And the ad is the standard 468x60 banner ad size which should fit perfectly in the spot.

Anyone else?

too much information

4:30 am on Feb 19, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Isn't the google code in an iFrame? couldn't you just bust the frame with your alternate ad and have it display as if it was just put on the page on it's own?

dazzlindonna

4:35 am on Feb 19, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I would be worried that that would be a violation of the TOS somehow. And besides, it should just plain work. It's not like I'm trying to do anything bizarre here. Just the simple instructions as given by Google. I assume I must be an idiot to not be able to get this work, but I just can't figure out what I'm doing wrong.

edit: hmmm...i am using css div tags for placement, and the code is within a div tag. and although this works absolutely fine for displaying the regular ads, maybe this somehow messes up the alternate ads? just throwing it out there as a possibility...

varya

6:51 am on Feb 19, 2004 (gmt 0)

10+ Year Member



My adsense code is in a div, and I use pure css layouts and my alternate ads display just fine.

I do use head and body tags on the alternate page, but that's it.

dazzlindonna

2:24 pm on Feb 19, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks everyone for the help. I know what the problem is (and would like to share in case it helps someone else). Turns out the ad is showing up just fine and there is nothing wrong with the code, but my popup blocker is for some reason thinking this is something that should be blocked so only I wasn't seeing the ad. I don't know why it affects only the alternate ad and not the normal adsense ads, but if i turn the pop up blocker off, i see it fine. So thanks!

Auction_Mum

10:57 pm on Feb 19, 2004 (gmt 0)

10+ Year Member



Could it be related to this problem? Below is an excerpt from email from commissionmonster I got today.

"We were recently informed by some clients that they were experiencing issues with our creative links
because some ad blocking software (mainly Norton’s) was filtering out the cookie because the URL
had the word “ad” in the string."