1. Go to the upper right-hand corner look for the little "Gear" setting icon, and select "Configure inbox"
2. Uncheck the "Social" and "Promotions" check boxes and voila! your done!
I believe this will impact your mobile device setting as well. However, I believe you can opt to keep tabs for desktop and turn off mobile from within your mobile device gmail app.
Mobile Setting Screentshot: