Use this to show Adwords results on your site

Discussion in 'Products & Tools' started by Submerged, Aug 25, 2006.

  1. #1
    Okay, I got this idea from a different post. A guy asked if he could show search results on his site... later I found out he meant from a search bar on his site. But that's okay, it gave me an idea. I just made a quick thing to let other webmasters show which Adword ads show up at the right of the normal google search screen when any certain term is searched for.

    Right now, it is very basic. If people actually want to use it, I can make it way more customizable, but I don't want to take the time to upgrade it if noone is interested. So let me know if you are :)

    It's really quite simple. On your site, include this code in a page that can run PHP:

    <?
    $query = "Put your search term here";
    include "http://www.fretboardtheory.com/showads.php?q=$query";
    ?>
    PHP:
    This will then show all the results (Google shows a max of 8 on the search page - some searches will have less than 8 though) that would show up. But it will display it on your page. You can allow users to input a query, or have one set up, or whatever.

    I realize that right now it is pretty inflexible with how it prints out - however, if people actually are interested in using it, then I can make it far more customizable. So, if you think you would have a use for it, please let me know and I will develop it more.

    Thanks!
    -Alex

    PS. The script will only be on fretboardtheory.com temporarily - it will soon be on google-central.com. I just put GC on asp hosting instead of PHP accidently and I have to wait for it to switch back so it can run the script.
     
    Submerged, Aug 25, 2006 IP