Yahoo users will be able to stream some basketball games for free under a new deal with the NBA.

Verizon, which owns Yahoo, is hoping to use sports to build a digital ad business to rival Facebook and Google.

The company now lets anyone watch NFL games on a mobile Yahoo app; before games were limited to Verizon customers.

Other major tech companies including Facebook and Amazon are also bidding for sports streaming rights.

Verizon will offer just eight NBA games, out of more than a thousand during the regular season.

Local and nationally televised games may be blocked.

Verizon will also have a daily highlights show and may make other original sports programming.

It will work with the NBA on fan fantasy experiences, including custom highlights.