Forum Moderators: martinibuster

Message Too Old, No Replies

Can I adserve adsense code?

         

sodani

7:47 pm on Jul 17, 2007 (gmt 0)

10+ Year Member



I use an ad server that allows me to serve html/javascript code but if I serve up adsense code, adsense ads don't seem to be generated. Does anyone know if what I'm trying to do is possible?

celgins

7:59 pm on Jul 17, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I haven't a clue what you're trying to do. Google serves Adsense code through it's own servers.

You can't redirect it through your own.

AussieWebmaster

9:36 pm on Jul 17, 2007 (gmt 0)

10+ Year Member



yes it is... you just have to make sure you have the full script put into your ad server... not the table rows etc... just the code from <script etc on

greatstart

9:53 pm on Jul 17, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I saw someone else using AdSense on an adserver and running it through their site, but the code was not visible when viewing the source code on the pages. The ads were displaying just fine. I didn't know if this was acceptable by the AdSense TOS.

sodani

9:19 pm on Jul 18, 2007 (gmt 0)

10+ Year Member



AussieWebmaster - I'm not sure which part of the code you're referring to. There aren't any tables and it's all in a <script> tag...

<script type="text/javascript"><!--
google_ad_client = "abcxyz"; google_ad_width = 468; google_ad_height = 60; google_ad_format = "468x60_as"; google_ad_type = "text_image";
//2007-07-18: casinocenter
google_ad_channel = "7096594532";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "2D3CA2";
google_color_text = "000000";
google_color_url = "008000";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

incrediBILL

10:58 pm on Jul 18, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I've been serving AdSense ads from a banner/html ad server for ages so YES, it works.

As a matter of fact, one of the old AdSenseAdvisors recommend I use an ad server to do A/B testing of AdSense optimizations on a single page to see which one got the most clicks.

sodani

11:54 pm on Jul 18, 2007 (gmt 0)

10+ Year Member



Bill, did you use the adsense code as is?

jhood

1:32 am on Jul 19, 2007 (gmt 0)

10+ Year Member



We have also been doing it for years. If set up properly, it is completely transparent. We sometimes have specific campaigns that are placed directly by agencies, so using the ad server allows us to serve the number of impressions the client has ordered, then default to AdSense for the rest.

We use phpAdsNew, an open-source Linux program that works just fine. It is advisable to have the ad server program on a dedicated server, especially if you have a lot of traffic.

sodani

4:12 am on Jul 19, 2007 (gmt 0)

10+ Year Member



I'm using atlas. It has the option of serving 'html/script' as either an iframe or javascript. Any ideas on testing?