Ive seen many of these new adsense minisites using this technique Yes it saves time just entering you pub id into one file and using the include, but is this against google TOS? Share your views on this subject. Thanks
If the output is a standard adsense ad, the fact it was generated dynamicly to set colors or pub-id should not matter at all. It's the end result that the googelbot/public sees that matters.
I agree. The php will parse before the ad is ever displayed so the end user would never be able to tell that php was being used in it at all. Unless of course the php has a problem and causes the ad to get messed up.