A girl with Palestinian roots has been condemned for taking part in an advertisement for sneakers dedicated to the Olympic Games.