server side of adsense
- by dole
Hi there
Google ask you to add a javascript code to your page and it will generate the links. The script has some id which are sent to the server, but I don't know how.
<script type="text/javascript"><!--
google_ad_client = "ca-pub-1234567890123456";
/* snipet_name */
google_ad_slot = "123456789";
google_ad_width = 728;
google_ad_height = 90;
//--></script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
I'm curious to know how the client and slot ids are send to the server. Javascript is client side and I wish to know how those parameters are sent to the server in order to query a db and to return the links.
A link, sample, explanation related to PHP will work great for me.
TY