No, you should only ignore your dog's excessive barking if your dog's reason for barking is to get your attention! In this case, let your dog bark until he stops barking, turn to him quickly, give him a treat and reward him for his silence.