I found out the answer to the problem using the Google Adsense help forum. Basically, it wasn't anything related to the code. It's because I haven't verified everything adsense related yet (like my PIN), so that PSAs were shown. Therefore, no ads were shown.
Thanks for all of your help and support, Amit