Total other loss was RMB 60 million ($9 million), compared to total other income of RMB 314 million in Q4 2017, mainly due to the loss from equity method investments.
Income tax expense was RMB 484 million ($70 million), compared to RMB 929 million in Q4 2017. Effective tax rate was 46%, compared to 18% last year, primarily due to iQIYI not being able to recognize tax benefit from its losses in the current period.
Net loss attributable to noncontrolling interests was RMB 1.5 billion ($220 million), which mainly consisted of losses from iQIYI allocated to noncontrolling interests subsequent to its IPO.
Net income attributable to Baidu was RMB 2.1 billion ($303 million), decreasing 50% year over year. Diluted earnings per ADS amounted to RMB 6 ($0.86).Net income attributable to Baidu Core was RMB 4.1 billion ($589 million), decreasing 22% year over year.Non-GAAP net income attributable to Baidu was RMB 4.6 billion ($672 million), decreasing 17% year over year.Non-GAAP diluted earnings per ADS amounted to RMB 13 ($1.92).Non-GAAP net income attributable to Baidu Core was RMB 6.5 billion ($939 million), decreasing 1% year over year.
Adjusted EBITDA was RMB 4.0 billion ($577 million) andadjusted EBITDA margin was 15%.Adjusted EBITDA to Baidu Core was RMB 6.9 billion ($1.00 billion) andadjusted EBITDA margin to Baidu Core was 34%.
As of December 31, 2018,cash, cash equivalents, restricted cash and short-term investments were RMB 141.5 billion ($20.57 billion).Excluding iQIYI, cash, cash equivalents, restricted cash and short-term investments were RMB 128.7 billion ($18.71 billion), as of December 31, 2018.Free cash flow was RMB 5.9 billion ($852 million).Excluding iQIYI, free cash flow was RMB 5.5 billion ($801 million).
Fiscal Year 2018 Results
Total revenuesreached RMB 102.3 billion ($14.88 billion), increasing 28% year over year, or 31% year over year excluding the impact of announced divestures.Online marketing revenues were RMB 81.9 billion ($11.91 billion), increasing 19% year over year. Baidu had approximately 856,000 active online marketing customers, increasing 10% year over year. Revenue per online marketing customer was approximately RMB 95, 800 ($13,900), an 8% increase from 2017. Other revenues reached RMB 20.4 billion ($2.96 billion), increasing 86% year over year, which was mainly due to the robust growth in iQIYI membership services , cloud and other businesses.
Revenue from Baidu Core reached RMB 78.3 billion ($11.38 billion), increasing 22% year over year, or 26% year over year excluding the impact of announced divestures, whilerevenue from iQIYI reached RMB 25.0 billion ($3.63 billion), increasing 52% from 2017.
Content costswere RMB 23.5 billion ($3.42 billion), increasing 75% year over year, mainly due to increased investment in iQIYI content and, to a lesser extent, in content for BJH accounts, Baidu feeds’ content network.
6