WEB best way to chain ads

Discussion in 'OT Technology' started by drpepper, Aug 26, 2008.

  1. drpepper

    drpepper Active Member

    Joined:
    Nov 13, 2006
    Messages:
    38,076
    Likes Received:
    2
    Location:
    San Antonio
    what software or method can i use to chain my ads in rotation adsense, burst, custom, etc
     
  2. Browning

    Browning Active Member

    Joined:
    Feb 14, 2005
    Messages:
    89,465
    Likes Received:
    10
    Code:
    <?php
    $bannerAd[1] = 'banner code here';
    
    $bannerAd[2] = 'banner code here';
    
    $bannerAd[3] = 'banner code here';
    
    $adCount = count($bannerAd);
    $randomAdNumber = mt_rand(1, $adCount);
    echo $bannerAd[$randomAdNumber];
    ?>
     
  3. drpepper

    drpepper Active Member

    Joined:
    Nov 13, 2006
    Messages:
    38,076
    Likes Received:
    2
    Location:
    San Antonio
    sorry i wasnt more specific.
    i need something that will let me adjust how much inventory i want to give a specific ad. like 20% for ad 1, 50% to ad 2 and 30% to ad 3. etc.

    Also, something that will give me a nice clean simple adcode.
     
  4. Browning

    Browning Active Member

    Joined:
    Feb 14, 2005
    Messages:
    89,465
    Likes Received:
    10
    oh sorry:o

    I had a thread where an OTer posted something like that. I think it was Josh but I'm sure it has been purged by now. I'll look


    edit-found the thread but that wasn't posted in there so it must have been on a different forum:o
     
  5. drpepper

    drpepper Active Member

    Joined:
    Nov 13, 2006
    Messages:
    38,076
    Likes Received:
    2
    Location:
    San Antonio
    if anyone is interested, i found some nifty free open source software

    http://www.openx.com

    its pretty cool and easy to figure out and use

    [​IMG]
     
  6. Browning

    Browning Active Member

    Joined:
    Feb 14, 2005
    Messages:
    89,465
    Likes Received:
    10
    is this allowed by adsense? If so:coold:
     
  7. drpepper

    drpepper Active Member

    Joined:
    Nov 13, 2006
    Messages:
    38,076
    Likes Received:
    2
    Location:
    San Antonio
    it should be. its just ad delivery software. as long as you dont put them on timed refresh, i think its ok.
     

Share This Page