You can bet those Bull Terrier actors had intensive training! Their trainers likely worked on basic obedience, socialization, and exposure to crowds, noises, and distractions. Since Spuds played a fun-loving character, the dogs likely received positive reinforcement training using treats, praise, and play.
The goal was shaping behaviors for a happy, easygoing dog who could handle filming commercials and public appearances in a healthy way.