I'm using Drupal 5 and have installed the OpenAds module. Nice work on the module.

However, I run an OpenAds 2.011 server. This version of the server was previously PhpAdsNew, and is much more widely used and supported than the Media Max Manager (or OpenAds 2.3) which this module was developed for.

I was wondering if there was a way to support 2.011.

I am able to get ads to display, but they display the wrong ads for the wrong zones, even though I have my OpenAds 2.011 server configured correctly, to NOT display certain ads.

The OpenAds module documentation indicates that a user take the zone id and code from this piece of code which is generated by the OpenAds 2.3 invocation code...

       <script language='JavaScript' type='text/javascript'>
       <!--
	   az_adjs(52,'siteea111cd');
       //-->
       </script>

The invocation code generated by OpenAds 2.011 does not give a "code" that is required by the OpenAds Drupal module.

The invocation code generated by OpenAds 2.011 looks like this:

<script language='JavaScript' type='text/javascript' src='http://www.mydomain.com/adserver/adx.js'></script>
<script language='JavaScript' type='text/javascript'>
<!--
   if (!document.phpAds_used) document.phpAds_used = ',';
   phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);
   
   document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
   document.write ("http://www.mydomain.com/adserver/adjs.php?n=" + phpAds_random);
   document.write ("&amp;what=zone:16&amp;target=_top");
   document.write ("&amp;exclude=" + document.phpAds_used);
   if (document.referrer)
      document.write ("&amp;referer=" + escape(document.referrer));
   document.write ("'><" + "/script>");
//-->
</script><noscript><a href='http://www.mydomain.com/adserver/adclick.php?n=a48fbe01' target='_top'><img src='http://www.symetrikdesign.com/adserver/adview.php?what=zone:16&amp;n=a48fbe01' border='0' alt=''></a></noscript>

In this example above, I used Zone 16, and Code a48fbe01 but all my ads from all campaigns are displayed, not JUST the ones that I have configured to appear in that zone in the OpenAds 2.011 server configuration.

Comments

gerd riesselmann’s picture

Since I do not have an old version at my fingertips, I'd say: Rather not... :-)

cookiesunshinex’s picture

If it would help, I can give you full admin access to a 2.011 version of the install for you to play around with.

I'm sure the differences cannot be that much different because I'm able to display ads using the zone id and code that I'm able to determine, but it displays the wrong ads within that zone.

Also, I have configured The openads JavaScript delivery filename: as adjs.php which does exist in OpenAds 2.011

Noki’s picture

As you already realized this module is for Openads 2.3. You might also know that I sponsored this module.

Due to various reasons I will not support any development for Openads 2.0:

1. 2.3 performs much better in high traffic environements
2. 2.3 supports Variable and Channel-Targeting
3. 2.3 has Finance Data support
4. 2.3 supports Companion Positioning

I use Openads 2.3 in production for over a year now and It's quite stable. For me there is no reason to look backward to 2.0.

More differences:
http://www.openads.org/products/choosing-your-adserver-solution.html

Do yourself a favour and switch to 2.3 after 2.3.32 is released.

Noki’s picture

Status: Active » Closed (fixed)