Hello, I was wondering if anyone has any information on whether or not having adsense code in a php file, and just using php's include("sideads.php") to add the same ad code to each of my pages is in violation of the TOS? I don't believe it would cause any content issues, because google sees the pages after they are processed server side, so it would appear as though the ad code was placed directly in the HTML itself. But if anyone ever navigated to www.website.com/sideads.php, it would display a page with no content and only ads, which is against the TOS as far as I know. Is this ok as long as I never put a link to this page? Or is there a better way to do something like this? Thanks for any input, Kevin
Since PHP will "assemble" your pages including the adsense code in your sideads.php file it would be no different than having it directly in your main php file. I do this all the time to make it easier to manage multiple adsense placements more easily.