He's doing this to get your attention. You're going to have to spend more time with him--dobes are not easy to keep in a household if they don't have enough interaction time with their owners--they are needy.
Intactness doesn't really have anything to do with his behavior. Dobes are smart--he's nipping and barking because that works for him. Even though the attention he is getting with this method is negative, in his mind, at least you're interacting with him.
So, what do you do?
1. Stop yelling and kicking at him.
2. He needs you to spend more time with him--but that doesn't necessarily mean it has to be outdoor exercise.
Try games which exercise his mind. MMcCown, a member here, makes a few suggestions in this informative post:
"I highly recommend brain games.
These are some of our favorites and we still play them regularly, even at 14 months.
1. Muffin Tin Game: Using a regular muffin tin and several tennis balls or similar sized balls, put a few high-value treats in the muffin tin and place the ball on top. When starting out, just put the treats in the tin without covering them. As the dog begins to understand, ”hide” the treats by putting a ball on top. When he gets the hang of it, place balls on empty spaces or switch up which spots have treats and which don’t. Here’s a video if my description is lacking:
Dog Enrichment Made Easy: The Muffin Tin Game
2. Treasure Hunt: Put your dog in a down stay somewhere out of sight. Using some extra odiferous treats, walk around and place them in semi-visible places around the house. Then, release him and say “find it” and walk around with him to help him get started. If he is superfast, consider hiding the treats in more challenging spots or adding more spots for him to find.
3. Hide and Seek. Start out the same as in number 2, then go somewhere out of sight and call your dog. If you are just starting out, keep some of those smelly treats on you to help him find you. Hide in somewhat easy places, like behind a door (not IN the closet, but in the space behind an open door), or around a wall, just out of sight. Be sure not to hide so well you distress the dog. Keep your voice high and happy when you call him and encourage him as he searches.
4. The Mother Lode. Take an empty cardboard box (be sure to remove any packing tape or labels he could eat and ALL the packaging materials unless it is plain brown packing paper) and put in a few squeaky toys, a stuffed toy, a few hand towels, a handful of his regular kibble, and a few really high-value treats like freeze-dried beef chunks, cheese cubes, or chicken breast. Then fold the flaps together to keep the top closed. Give a few gentle shakes to let your dog know there are amazing goodies inside. Put the box on the ground and encourage him to “get it!” and watch him tear up the box. If he gets stuck, help him by encouraging words and maybe opening one of the flaps.
5. Snuffle Mat. This is a fabric mat that has lots of fabric ”fingers” creating a sort of shaggy rug.Youcan make one or buy one. Then take half his kibble and scatter it in the mat, making sure to evenly distribute it into the fingers. Encourage him to explore the mat and enjoy searching for his dinner. If he is slow to start add a couple of freeze-dried treats or something else he enjoys.
We also recently started a nose work class which tires him out every Monday evening. We also take CD prep classes on Wednesday (a recent start) and obedience class on Thursday. The good news is that I have a well-worked dog. The bad news, I am exhausted 😁
Hope this helps!"
3. So fix that part--give him the attention he craves. BUT--he also needs an off switch so he's not pestering you all the time. Teach him how to settle, as a specific exercise, with a specific command. "Settle" or even teach him how to "Go to your bed"
From Meadowcat, another member here:
"The "Sit on the Dog" exercise that ECIN shared is a good one, too. I might give a tiny bit more leash, but it's essentially just sitting there, ignoring the dog, and the dog learning to simply relax on their own. Some dogs don't know how to do that and they need to be taught/encouraged. This is a great exercise to do, especially when so many of us are home right now. You can do this at home while you're working on a laptop, on your phone, etc. Just put your dog on the leash, make sure they have enough leash to lay down comfortably but not wander too far, and then just...ignore them. Give it a good 20-30 minutes. Don't interact with them. This is great for teaching them to simply settle down on their own and rest. It's not a "stay" it's just a "settle down."
He's learned nipping and barking to get your attention, so it might be tough for him to learn to relax and quit bugging you. Since you seem to established a better way to interact with him, you probably should be the one to work on teaching him to settle and then let your SO use the technique too, once your dog has an idea what the command settle means.