Have a small breed dog, we've had him from a pup and for 2 1/2 years.
Generally very good, have youngish dc and he's very good around them. Very affectionate and loves attention.
Take him out every morning on the school run where he goes to toilet and out for 5 in the evening, but keep a mat near our front door as we live in an apartment and not always able to leave at the drop of a hat with toddler.
I keep mine and my older dcs bedroom doors shut during the day (mainly to keep toddler out) so he doesn't go in there but if he's in the living toom will place mark - but only when I'm not in there, and it seems he does it within minutes of me leaving the room.
Now I know he will mark on anything like carrier bags/washing baskets so don't leave them on the ground but the last few days he's marked against my sofa and against a few of toddlers toys, which obviously can't keep away.
Any suggestions?