Friends i would like to use adsense code in software. Does google allow me to do that or i get banned from them.
That would be ok, but I would suggest not doing it because you can get banned anytime. Use other ad network.
If not anything just read, AdSense program policies from https://support.google.com/adsense/bin/answer.py?hl=en&answer=48182 And read "Ad placement" section, they clearly say you can't!
You can only use adsense codes on Google adsense TOS following websites/blogs or forums. Nothing else.
o adsense in any software, especially those having call for action words like "download now" or "click here"