A computer system, a computer-implemented method, and computer readable media configured to target advertisements based on emotional states are provided. Advertisers specify desired emotional states of users they intend to target with advertisements. Advertisers also provide emotional tags having the desired emotional state of users that should see the advertisements linked to the emotional tags. Online activities for users are obtained and processed to assign emotional states to the users. An advertisement engine selects advertisements that are emotionally compatible based on the assigned emotional states and the desired emotional states provided by the advertisers.