It will be held at more than 35 venues across the Auckland region, and is expected to contribute $53.5 million to New Zealand's GDP, including $37 m to Auckland's GDP.
Prime Minister John Key, who is also the Minister of Tourism, said the news was a "significant win".
"This international event will draw tens of thousands of people to the country and inject millions of dollars into the economy," Mr Key said.
"This is a vote of confidence in New Zealand as a venue for major international sporting events and, we hope, this is one of many more to be staged here following on from the success of the Rugby World Cup."
It will be the first time the games are held in New Zealand. They were last held in Sydney in 2009, and will take place in Italy's Turin next year.