Wellington - Warren Gatland on Wednesday said he still hopes to coach in New Zealand, potentially with the All Blacks, despite the hostile reception he received during this year's British and Irish Lions tour.

The 54-year-old New Zealander this week ruled out coaching the Lions again, citing personal attacks on him in the Kiwi media while touring his homeland.

But Gatland - whose side drew 1-1 with the All Blacks in the three-Test series - said the vitriol was confined to the press and ordinary New Zealanders had warmly embraced the tourists.

"I've got to say the hospitality we had in New Zealand was unbelievable," he told Auckland-based Radio Sport in a telephone interview.

He added: "The amount of people who spoke to me and contacted me to say that they were disappointed by some of the stuff that was written puts things into perspective."

One newspaper published a caricature of Gatland as a red-nosed clown during the tour and he said the media also targeted his rugby-player son Bryn when he was named in a team that faced the Lions.

While labelling elements of his treatment "disgusting", Gatland said he still harboured ambitions to coach in New Zealand once his contract with Wales expires after the 2019 World Cup.

"The plan is to finish in 2019, have a six-month break - coming back home, going to the beach and putting my feet up for a while," he said.

"Then see if there are any opportunities after that, perhaps in Super Rugby. The thing about New Zealand is you have to be in the right place at the right time because there's not a lot of coaching positions."

Gatland has spoken previously about coaching the All Blacks and said he remained hopeful it would happen, although it was not a dream he was actively pursuing.

"(If) you come back to New Zealand and if there's an opportunity to get involved in Super Rugby and you're successful other things open up for you," he said.

"That's the way I look at it. I promise you there's not a strategy in place of me coming back to New Zealand and wanting to coach the All Blacks."

Gatland is one of the most successful Lions coaches after guiding the 2013 team to a 2-1 series win over Australia, then following up with this year's drawn series against the world champion All Blacks.