Actually Microsoft has a patent on something similar [1]. It uses Kinect to sense your mood before delivering an appropriate ad.
[1] http://www.geekwire.com/2012/happy-sad-microsoft-system-targ...
[1] http://www.geekwire.com/2012/happy-sad-microsoft-system-targ...