Adsense functionality

Discussion in 'PHP' started by promotingspace.net, Jul 31, 2007.

  1. #1
    Hi
    You know you place a piece of code into your pages and that code shows ads.
    I can imagine an algorithem enabling us to manage clicks. ( when visitors click on the ad, i know how to do whatever that is required)
    But how about the display? we give them a code ( Java or PHP. let's work with php at this time) and that code should display an ad.
    Let's assume the code knows the keywords for that page. then the code should connect to the adcenter ( that is on another server) database and search for related ads. How can that code do this?
    If I understand this part, I think the rest should be easier
    thanks
     
    promotingspace.net, Jul 31, 2007 IP
  2. goldensea80

    goldensea80 Well-Known Member

    Messages:
    422
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    128
    #2
    Think!
    That adsense code is Javascript, it can get content, URL of the page and send to Google server to get the properly ads.
     
    goldensea80, Jul 31, 2007 IP