Jump to content

Adsense?


sug15

Recommended Posts

Hey, I have been trying to make adsense work on my results on the page http://somebots.com/voke/. I want the adsense in the results when you type something in. When I do this normally, it just doesn't appear. When I use this:

	document.write('<table align=center cellspacing=0 cellpadding=0 border=0><tr><td valign=TOP align=center>'); 
document.write('<scr' + 'ipt type="text\/javascript" >');
<!--
google_ad_client = "pub-8143092012646781";
google_ad_slot = "5107166443";
google_ad_width = 728;
google_ad_height = 15;
//-->
document.write('<\/script>');
document.write('<scr' + 'ipt type="text\/javascript" src="http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js">');
document.write('<\/script>');
document.write('</td></tr></table>');

In my main.js file it also doesn't work. As soon as that code is executed it tried to redirect to some wierd google page, but never succeeds.

 

Here's my normal adsense code:

<script type="text/javascript"><!--
google_ad_client = "pub-8143092012646781";
/* Answer Box */
google_ad_slot = "5107166443";
google_ad_width = 728;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

 

Thanks!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.