How can I rotate ads in the ad space of my theme?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DatePoster
    So Fucking What
    • Mar 2011
    • 1053

    #1

    How can I rotate ads in the ad space of my theme?

    Not in a widget.

    Its raining white women, my prayers have been answered! Well she better move cause I been praying for a Cadillac
  • robber
    Web Developer
    • Jan 2011
    • 264

    #2
    Does it need to be weighted? if not you could load all your ads into a db, randomise on it, and then track the clicks out using an inbetween script which counts the clicks and then forwards the user onto wherever they are suppose to be ending up...

    Would that work for you? If you are unsure on how to do this, just ask and I can give you the scripts which will do it for you, and the lines to insert into you .htaccess file (if you want the links to not show your out file link), putting them through a script means that it could allow you to put up multiple banners per sponsor on your site but only need to keep one link record for them (unless you are wanting to track which banners got clicked).

    I'm not sure how best you would weight your search if you wanted to (i'm sure there is an easy way, but my minds blank)

    Hope this helps anyway

    Rob

    Comment

    • Adraco
      Confirmed User
      • May 2009
      • 3745

      #3
      Check out Smart Sports from the guys who did Smart Thumbs and Smart Tube
      http://www.smart-scripts.com/?action=smartspots

      For $50 it's a steal! I use the script over many, many domains. One license is ok to cover all your sites.

      Basically you create an ad spot in the script, and place that code on your site. Then when you want to add/subtract or change banners you just do it in one place in the script, which aslo gives you the amount of views, cliks and so on. Very nicely done.
      ----------------------------------------------------------------------------------
      The truth is not affected by the beliefs, or doubts, of the majority.

      Comment

      • Scott-ISMC
        Registered User
        • May 2011
        • 15

        #4
        www(dot)adzs(dot)nl
        You enter your own html, host all of your own ads, but tracking like NO OTHER Program out there as we speak, you will know which ads are working the best by CPM, with viewable impressions clicks the whole 9 yards.
        iShareMyCash Great Converting GF Prorgam.

        Comment

        • DatePoster
          So Fucking What
          • Mar 2011
          • 1053

          #5
          Originally posted by robber
          Does it need to be weighted? if not you could load all your ads into a db, randomise on it, and then track the clicks out using an inbetween script which counts the clicks and then forwards the user onto wherever they are suppose to be ending up...
          I have no idea what your talking about. I just want to rotate several ad codes without refreshing or atleast every refresh within the ad space of my theme.
          Its raining white women, my prayers have been answered! Well she better move cause I been praying for a Cadillac

          Comment

          • CamTraffic
            Confirmed User
            • Feb 2008
            • 6538

            #6
            use this http://www.computerhope.com/j18.htm
            been using it for years, never had an issue
            I am always buying traffic and white labels. Hit me up.
            Email me HERE!

            Comment

            • cooldude7
              Confirmed User
              • Nov 2009
              • 4306

              #7
              create randomfooterads.php


              Code:
              <?
              
              $textfile ="randomfooterads.txt";
              
              
              
              $items = file("$textfile");
              
              $item = rand(0, sizeof($items)-1);
              
              echo $items[$item];
              
              ?>


              create randomfooterads.txt

              <iframe width="950" scrolling="no" height="250" frameborder="0" src="http://ads.brazzers.com/ads/juggcash_inserts/index217.php?nats=NDQ0OTc1Ojc6NDE" allowtransparency="true" marginheight="0" marginwidth="0" name=""> </iframe>
              <iframe width="950" scrolling="no" height="250" frameborder="0" src="http://ads.brazzers.com/ads/juggcash_inserts/index216.php?nats=NDQ0OTc1Ojc6NDE" allowtransparency="true" marginheight="0" marginwidth="0" name=""> </iframe>
              <iframe width="950" scrolling="no" height="250" frameborder="0" src="http://ads.brazzers.com/ads/juggcash_inserts/index215.php?nats=NDQ0OTc1Ojc6NDE" allowtransparency="true" marginheight="0" marginwidth="0" name=""> </iframe>
              <iframe width="950" scrolling="no" height="250" frameborder="0" src="http://ads.brazzers.com/ads/juggcash_inserts/index214.php?nats=NDQ0OTc1Ojc6NDE" allowtransparency="true" marginheight="0" marginwidth="0" name=""> </iframe>
              <iframe width="950" scrolling="no" height="250" frameborder="0" src="http://ads.brazzers.com/ads/juggcash_inserts/index213.php?nats=NDQ0OTc1Ojc6NDE" allowtransparency="true" marginheight="0" marginwidth="0" name=""> </iframe>
              <iframe width="950" scrolling="no" height="250" frameborder="0" src="http://ads.brazzers.com/ads/juggcash_inserts/index212.php?nats=NDQ0OTc1Ojc6NDE" allowtransparency="true" marginheight="0" marginwidth="0" name=""> </iframe>
              <iframe width="950" scrolling="no" height="250" frameborder="0" src="http://ads.brazzers.com/ads/juggcash_inserts/index211.php?nats=NDQ0OTc1Ojc6NDE" allowtransparency="true" marginheight="0" marginwidth="0" name=""> </iframe>
              <iframe width="950" scrolling="no" height="250" frameborder="0" src="http://ads.brazzers.com/ads/juggcash_inserts/index210.php?nats=NDQ0OTc1Ojc6NDE" allowtransparency="true" marginheight="0" marginwidth="0" name=""> </iframe>

              now where u wanna show ads use

              Code:
              <?php include('randomfooterads.php'); ?>
              ------------------------------------------------------------------------------

              text file contains ad codes, one ad per line, and it gets rotated.

              hit thanks button.

              Comment

              • Marquis85
                Confirmed User
                • Apr 2009
                • 622

                #8
                Hi, if you're using Wordpress, I suggest the adrotate plugin. Works for me.
                Last 3 months SCORECash ratio: 1:237

                Comment

                • PussyMeister
                  Registered User
                  • Mar 2008
                  • 71

                  #9
                  adpeeps works pretty good.
                  Make you own blog themes!

                  My Little Network

                  Comment

                  • dc0ded
                    Confirmed User
                    • May 2011
                    • 1022

                    #10
                    adrotate plugin is the answer. wp has a plugin for almost anything. good luck.
                    Guaranteed Adult SEO Service- Just $275 per month

                    Comment

                    Working...