I have a 2 year old Toller. Our backyard, about 100'x25', is fenced and she has run of it.
One side was heavily overgrown by a privet hedge. We trimmed it back severely and put a chainlink fence right next to it. That left some bare dirt that had been shaded by hedge where I planted grass seed. She spent a lot of time digging there. I bought some powder that was supposed to keep dogs away, but she liked it. I put down some plastic fencing; she tried to get through it, but then gave up.
That was a year ago, and moving the plastic fencing every time I mowed or raked got to be a pain; so I removed it. She started digging again. She doesn't dig anywhere else. I suppose I should be grateful for that, but would really like to stop her from digging next to the fence.