I had it like this when Adsense first came out.. and Google visted my site and told me it was against the T&Cs.
Have they changed on this policy as I see a lot of sites doing it?
1. Registration Pages 2. Search Results Pages
I am running them on a forum and have not had any problems...other than a horrible CTR, but that's probably standard for advertisements on a forum.