President Vladimir Putin has signed into law plans to restrict beer advertising.