Your best bet is to call Air New Zealand and ask what fare code you're booked into and then check the UA chart to see if you earn miles -
http://www.united.com/page/article/0,,1181,00.html
Also, if you're flying before March 4, you can sometimes earn by crediting your CO account as the two airline programs sometimes have slight variations in earning fare classes -
http://www.continental.com/CMS/en-US...spx?ItemId=405
Good luck.