CAN I CREATE ADSENSE CODE DYNAMICALLY?

Question by PHPMine.com:
Can I create adsense code dynamically?
I want to create a blog-type site where my adsense ads would show a certain percent while the rest would show the author’s adsense ads.
I was looking at the different adsense codes generated by the wizard and notice very tiny difference other than the “google_ad_client”. can i get away with asking the authors to provide their “google_ad_client” number and have my script pick which to show, either his “google_ad_client” or mine?
——————————————
Answer by patrickxd
its already dynamic! See this article.
http://www.lem4.com/1s
——————————————
Add your own answer in the comments!









about 2 years ago
if you have a domain controller.
look into doing romain profiles.
scripting is a possibly as well if you have a familiar with vb, and vb scripting.
about 1 year ago
I would suggest that you provide a text box in the ‘My account’ ares of your site where a member could enter his adsense publisher id. If the user doesn’t enter the publisher id, you can get away with showing your own ads till he does so.
Now you can use a java script that shows the ads a certain % of times, say 50%. This script employees the random function. Pls note that the random() returns a random value between 0 and 1.
Hope that helps
Rakeshsgk
http://www.3stepadmoney.blogspot.com