Your dog is a dog, you cannot impose your will on her. I agree with @pussinboots her whining is a communication that she is excited and wants to play, interact. If she is an only dog and you do not provide her with enough exercise, social and play time with other dogs, people, she is bored and neurotic, not her fault. Dogs become neurotic because of their owners.
If you are meeting her needs for social and play time then she is just a high strung dog that gets overly excited at stimulus. Let her be herself, and do your part to give her a stimulating life. Some dogs need more stimulation just like some people, if she is an extroverted and highly curious pup that is who she is.