Nontrivial solutions for Monge-Amp\`ere type operators in convex domains