Pugs are often erroneously tagged as dumb dogs.
Most aren't. In fact, most are smart enough and stubborn enough to figure out how to get their way or how to outlast you.
Since they are often very food driven, treats are very effective in training Pugs.