Place the Google Adsense JavaScript on your web page. The JavaScript then sends a request back to Adsense’s server, with the website visitor’s IP address. Adsense server then translates the visitor’s IP address to the exact geographic location, say Malaysia for instance (this is where Google Maps comes in). Adsense then search for ads from Malaysia and narrows down the result with the targeted keywords. Brilliant.