Thanks for the additional information. It is helpful. You should be able to use the paperclip to upload video or send it to***@******.*** but that can take some time. Let me give you my answer and some links to various videos and you can compare them to what your dog does.
There are various causes for a dog to cough which is basically what you are describing. Often it is the result of an illness such as an upper respiratory illness like kennel cough. Kennel cough usually only last about 3 weeks unless a bacterial infection develops as well. They can also develop other illnesses like bronchitis or canine flu. These would not last years undetected.
It is more likely to be a reverse sneeze situation or collapsing trachea or even Brachycephalic Airway Syndrome which we do see in dogs with short muzzles. You can read about this here:
Here is a video of a dog with this condition:
Here are websites and videos on reverse sneezing and collapsing trachea.
This should help you determine which is the cause. At that point, your vet can help you determine if surgery is warranted or not. Most dogs with a collapsing tracheal do just fine without surgery but there is always the chance it may collapse and not open back up. They do say stroking the throat reduces the severity and length of the attack.
I hope this information is helpful to you. If you would like any additional information or have more questions please don’t hesitate to press the reply to expert or continue conversation button so I can address any issues you still have . If you do find this helpful, please take this opportunity to rate my answer positively so I am compensated for my time.