Auction ads is simple program that display auction ads from ebay, live in your website
different from adsense, auction ads need specific keyword to display properly
I use simple php rand() function to help me randomize my auction ads keyword.
Here’s my code :
<?php
$keyword=array(‘computer’,'laptop’,'handphone’);
$key2=rand(’0′,count($keyword));
?>
For example :
change this code :
<script type=”text/javascript”><!–
auctionads_ad_client = “99791037f859934050be”;
auctionads_ad_campaign = “”;
auctionads_ad_width = “728″;
auctionads_ad_height = “90″;
auctionads_ad_kw = “nokia“;
auctionads_color_border = “CFF8A3″;
auctionads_color_bg = “FFFFFF”;
auctionads_color_heading = “00A0E2″;
auctionads_color_text = “000000″;
auctionads_color_link = “008000″;
–></script>
<script type=”text/javascript” xsrc=”http://ads.auctionads.com/pagead/show_ads.js” mce_src=”http://ads.auctionads.com/pagead/show_ads.js” >
</script>
into this code :
<script type=”text/javascript”><!–
auctionads_ad_client = “99791037f859934050be”;
auctionads_ad_campaign = “”;
auctionads_ad_width = “728″;
auctionads_ad_height = “90″;
auctionads_ad_kw = “<?php echo $keyword[$key2];?>“;
auctionads_color_border = “CFF8A3″;
auctionads_color_bg = “FFFFFF”;
auctionads_color_heading = “00A0E2″;
auctionads_color_text = “000000″;
auctionads_color_link = “008000″;
–></script>
<script type=”text/javascript” xsrc=”http://ads.auctionads.com/pagead/show_ads.js” mce_src=”http://ads.auctionads.com/pagead/show_ads.js” >
</script>
word ‘nokia‘ will be replace by ; computer, laptop or handphone
you can add keyword as much as you want .
It’s sell time
great idea
seandainya bisa retrieve popular item dari ebay pop dan trus dirandom sbg keyword di auctionads pasti bisa lebih keren lagi hasilnya :p