Integrating PeakClick Ads on your website

Discussion in 'PHP' started by seopup, Mar 25, 2006.

  1. #1
    Hi ,

    A forum user contacted me today asking how to integrate PeakClick , thought to share the code , someone may need it .

    
    <?
    $ad_keyword='seo'; // your keyword to show ads for 
    
    $sf_url="http://feed.peakclick.com/res.php?aff=2795&subaff=3&ip=".$_SERVER["REMOTE_ADDR"]."&keyword=".urlencode($ad_keyword)."&num=5";
    
    $adx=@file($sf_url);
    foreach($adx as $k=>$v)
    {
    	$ads[]=explode("|",$v);
    	
    }
    
    //showing ads 
    echo '<div id="ads">';
    
    foreach($ads as $k=>$v)
    {
    	echo "\n".'<a href="'.$v[4].'">'.$v[1].'</a><br>'.$v[2].'<br><br>';
    	
    }
    
    echo '</div>';
    
    ?>
    
    PHP:
     
    seopup, Mar 25, 2006 IP
  2. Psychotomus

    Psychotomus Guest

    Messages:
    427
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    peak click is what?
     
    Psychotomus, Mar 30, 2006 IP
  3. misohoni

    misohoni Notable Member

    Messages:
    1,717
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    200
    #3
    Peakclick is a PPC search tool at http://peakclick.com

    Thanks SeoPup, did you manage to use the search boxes also as I can't see how to add my affiliate ID?
     
    misohoni, Mar 6, 2007 IP
  4. letrodectus

    letrodectus Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    hey guys :) my first post, hope you'll find the info useful:

    so -What is PeakClick?

    PeakClick is a Pay Per Click search engine

    Step 1: Webmasters install PeakClick's code into their pages. Every time your page visitors load your pages, PeakClick's links appear.
    Step 2: Your site visitors click on the PeakClick links.
    Step 3: Your PeakClick account is credited and your accumulated balance is paid out to you every 15 days.

    PeakClick pays you for all valid clicks generated by your traffic.

    High speed search results allow your surfers to retrieve the information they need quickly and accurately.

    Surfers receive relevant and numerous results due to their database of thousands of paid advertisements. Peak Click has better bids for SE traffic (you have to have Advanced feed version (by defaulf you are on Standart feed)- contact support to get it)

    So how to send traffic - you can show the feed on your pages or you can also put a link to thier public feeds.

    they also offer a toolbar. Every click on a result found using the toolbar will count to your ID.

    and finally you can use the search boxes - to add your ID to it add this to the code:
    <input type="hidden" name="aid" value="your ID">

    After you register at PeakClick your account is "Not Approved". After sending some traffic you can ask for approve. Submit a ticket or write an e-mail to - they are pretty fast.

    they pay without hold and have different paying methods like wire transfer
    epassport, Webmoney, fethard, western union and paypal. they pay twice a month, but if you can actually request it anytime.
     
    letrodectus, Mar 27, 2007 IP