Can I earn money via Adwords or Amazon Affiliates program on H1B ?

I have a website that is getting good traffic. I just put ads on it and looks like I can make some money via the amazon affiliates program. The program asks for all the details like SSN and you tax number.

My question is what kind of income is categorized as ok for a person on a h1b ? Because I know Rent from property is ok. what is ok and whats not ok ?