v3.19.3.a.u2
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Millions
12 Months Ended
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Operating activities      
Net income $ 34,343 $ 30,736 $ 12,662
Adjustments:      
Depreciation and impairment of property and equipment 10,856 8,164 6,103
Amortization and impairment of intangible assets 925 871 812
Stock-based compensation expense 10,794 9,353 7,679
Deferred income taxes 173 778 258
(Gain) loss on debt and equity securities, net (2,798) (6,650) 37
Other (592) (189) 294
Changes in assets and liabilities, net of effects of acquisitions:      
Accounts receivable (4,340) (2,169) (3,768)
Income taxes, net (3,128) (2,251) 8,211
Other assets (621) (1,207) (2,164)
Accounts payable 428 1,067 731
Accrued expenses and other liabilities 7,170 8,614 4,891
Accrued revenue share 1,273 483 955
Deferred revenue 37 371 390
Net cash provided by operating activities 54,520 47,971 37,091
Investing activities      
Purchases of property and equipment (23,548) (25,139) (13,184)
Purchases of marketable securities (100,315) (50,158) (92,195)
Maturities and sales of marketable securities 97,825 48,507 73,959
Purchases of non-marketable investments (1,932) (2,073) (1,745)
Maturities and sales of non-marketable investments 405 1,752 533
Acquisitions, net of cash acquired, and purchases of intangible assets (2,515) (1,491) (287)
Proceeds from collection of notes receivable 0 0 1,419
Other investing activities 589 98 99
Net cash used in investing activities (29,491) (28,504) (31,401)
Financing activities      
Net payments related to stock-based award activities (4,765) (4,993) (4,166)
Repurchases of capital stock (18,396) (9,075) (4,846)
Proceeds from issuance of debt, net of costs 317 6,766 4,291
Repayments of debt (585) (6,827) (4,377)
Proceeds from sale of interest in consolidated entities 220 950 800
Net cash used in financing activities (23,209) (13,179) (8,298)
Effect of exchange rate changes on cash and cash equivalents (23) (302) 405
Net increase (decrease) in cash and cash equivalents 1,797 5,986 (2,203)
Cash and cash equivalents at beginning of period 16,701 10,715 12,918
Cash and cash equivalents at end of period 18,498 16,701 10,715
Supplemental disclosures of cash flow information      
Cash paid for taxes, net of refunds $ 8,203 $ 5,671 $ 6,191