A few codes get passed around for the Barbie.com games. The favourites in circulation are cupcake111, orange, and dog — try them in that order if the first doesn't take.
One small but crucial detail: type the word only, without the quotation marks around it. That trips up more people than a wrong code ever does.
These codes come and go as the site updates, so if all three fail, the promotion has likely ended rather than you mistyping.