Yahoo Inc. Chief Executive Marissa Mayer received nearly $36 million in total compensation for 2015, down 14.5% from the previous year.

The Sunnyvale, Calif.-based company, hard hit by shrinking revenue and stiffer competition in mobile search, didn’t award any cash bonuses to executives for 2015, according to a filing Friday with the Securities and Exchange Commission.

In...