Current location: Hot Scripts Forums » General Community » Script Requests » Google Ad Rotation Code


Google Ad Rotation Code

Reply
  #1 (permalink)  
Old 02-01-06, 08:40 PM
LaPirata LaPirata is offline
Newbie Coder
 
Join Date: Jan 2006
Location: Eastcoast US
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Google Ad Rotation Code

I am currently using Google Adsense. I have entrophy banner rotation and html code randomization. BUT it says put ONE line of code...or redirect to a specified URL.

The example code is:

<script type="text/javascript"><!--
google_ad_client = "pub-numbersnumbers";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "image";
google_ad_channel ="numbersnumbers";
//--></script>

My question is, how am I able to rotate 10 different Google Ads? I'm sure this is newbie stuff, but well...that's me lol. If anyone is interested in scripting something up real quick i'd appreciate that greatly. Anyone that saw my "How to send wallpapers and ringtones" post...I have deceided to breakdown and buy a script which really sucks. It's funny, they are only characters..it's just the know how to put them in a certain order and you can make the world go round...and sell it for $300! So if anyone is interested in having a code to send wallpapers and ringtones without going through a thirdparty, let me know. We can put our money in escrow and buy the code!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 02-01-06, 09:02 PM
LaPirata LaPirata is offline
Newbie Coder
 
Join Date: Jan 2006
Location: Eastcoast US
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Just to show you guys i'm over here trying and not sitting back waiting for somone to hand me code. I just had a braingstorm...instead of using an actual banner rotation system...use random text script...it will then turn the javascript code into the banner...?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 02-02-06, 01:42 PM
LaPirata LaPirata is offline
Newbie Coder
 
Join Date: Jan 2006
Location: Eastcoast US
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
I have the perfect code! You upload "individual" text files with different banners, graphics, html etc. in each one. Then run a simple php script. If anyone needs an efficient code for randomization message me.

Don't you just love when you answer your own questions? All I think about is, if I never posted this I would have got the code faster by looking for it sooner.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 11-07-08, 03:27 PM
Energy Recruitment Energy Recruitment is offline
New Member
 
Join Date: Sep 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Google Ad Rotation Code

hi,
PHP Ad Rotator for Integrating Google AdSense with Other Affiliate Programs
I'm offering the source code of a PHP ad rotator below that I wrote to provide more flexibility in optimizing revenue across my blogs and Web sites. Google AdSense is a great program, but what if its ads aren't actually the most financially profitable for my Web sites? What if the ads Google serves up aren't as fresh or interesting as I'd like? What if I want to experiment with mixing ads from the Amazon Affiliate program or NetFlix ads from LinkShare or SpamArrest? What if I want to vary the percentage mix in response to click through reports to increase my returns?
Basically, here are a few AdSense limitations that I wanted to work around:

1. I wanted to integrate rotation of ads from multiple affiliate programs such as LinkShare, CommissionJunction and Amazon to keep ads fresh and optimize revenue from each program
2. I wanted to control and easily adjust the proportion of delivery of ads from individual programs to increase the frequency of profitable ad programs
3. I wanted to deliver ads in different proportion to several different Web sites and blogs that I operate e.g. NewsCloud, Idealog and CommonBits including blogs operated at template-based services such as TypePad. I also wanted to have different ad frequency and ad mix for different sites.
4. I wanted to more flexibly control the size of ads and add or remove ads

5. I wanted to insert my own house ads into my ad mix

6. I wanted to avoid substitution of free charitable ads on my sites

So, I created a PHP class (adServer.class.php) which essentially does everything above and a static PHP file (staticAd.php) that would deliver ads to external Web sites via Javascript or HTML for iFrames.

Now I can review my affiliate reports at the end of the month and increase the percentage delivery of the most profitable programs while easily adding in new ads, removing stale ads while keeping the rotation of my ads fluid and diversified - rather than beholden to a single vendor.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #5 (permalink)  
Old 12-28-10, 01:28 AM
Southman Southman is offline
New Member
 
Join Date: Dec 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
@Energy Recruitment

Quote:
PHP Ad Rotator for Integrating Google AdSense with Other Affiliate Programs
I'm offering the source code of a PHP ad rotator below that I wrote to provide more flexibility in optimizing revenue across my blogs and Web sites.
Anything happen with this script - where can we find it?

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #6 (permalink)  
Old 12-28-10, 05:41 PM
Nico's Avatar
Nico Nico is offline
Community Leader
 
Join Date: Sep 2005
Location: Spain
Posts: 8,074
Thanks: 11
Thanked 88 Times in 83 Posts
Seeing as the post is 2 years old, and the user has posted only once, you're unlikely to get a response.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #7 (permalink)  
Old 12-29-10, 04:31 AM
Southman Southman is offline
New Member
 
Join Date: Dec 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
@Nico

I still have the need for an optimising PHP Ad Rotator - Do you have any idea where I can get one?

Tnx
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get Indexed in Google Quickly rorycanyon General Advertisements 3 03-21-07 10:11 AM
Google is going to take over the world iddx The Lounge 24 05-23-05 01:58 PM
How to sale php code to customer without giving him code pradeep_soft PHP 4 03-12-04 01:10 PM


All times are GMT -5. The time now is 08:57 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.