Not on. Not at all. The dog doesn't understand, it's just marking over a strong smell. But it's owner should know better and pull it away.
Our gatepost is a marking post for all the local dogs and their owners inevitably apologise if I'm out there but we don't mind, its what dogs do, but on a recycling bin which has to come into the house, or any similar thing, no. Not on.
Feeling uneasy with tradespeople in the house.