XML 59 R4.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
Consolidated Statements of Operations - USD ($)
shares in Thousands, $ in Thousands
12 Months Ended
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Revenue:      
Total revenue $ 1,321,659 $ 907,208 $ 861,390
Costs and expenses:      
Cost of revenue 524,089 304,658 258,971
Research and development 505,889 270,323 256,012
Sales and marketing 464,091 226,524 212,030
General and administrative 99,790 98,941 108,653
Total costs and expenses 1,593,859 900,446 835,666
Income (loss) from operations (272,200) 6,762 25,724
Interest income 14,039 6,549 5,309
Interest expense (16,971) (255) (22)
Other income (expense), net 322,467 13,407 6,572
Income (loss) before income taxes 47,335 26,463 37,583
Provision for (benefit from) income taxes 5,410 11,006 10,944
Net income (loss) $ 41,925 $ 15,457 $ 26,639
Net income (loss) per share attributable to common stockholders:      
Basic $ 0.04 $ 0.02 $ 0.03
Diluted $ 0.04 $ 0.02 $ 0.03
Weighted average common shares used to compute net income (loss) per share attributable to common stockholders:      
Basic 938,709 862,460 869,067
Diluted 974,020 889,584 897,165
Online Game [Member]      
Revenue:      
Total revenue $ 1,047,237 $ 670,877 $ 665,593
Advertising and Other [Member]      
Revenue:      
Total revenue $ 274,422 $ 236,331 $ 195,797