I think gameplay (in most cases) is more important.

Case by case basis, but-

great gameplay/bad story &gt;&gt; horrible gameplay/great story.

That said, 100% true that great stories and characters are what sticks with you after the game, and can elevate it beyond just entertainment.