An abscess in the tooth can cause painful swelling on one side of the face.
A gum infection can also cause facial swelling.
Your dog will more than likely show signs of pain and may have difficulty eating as well.
If your dog has a tumor, it may be the source of the swelling.