Original: Even before the end of the show, one of these minor competitions had her win a leading role alongside Heidi Klum in a nationwide TV commercial for McDonald's.
Simplified: During the show she won a role alongside Heidi Klum in a TV commercial for McDonald's.