Why McDonald's is building an advertising business

McDonald's is following the lead of Amazon and Walmart as it starts its own media network.