Is this an entire new fence? Is this going to be nothing but an electric fence or is it electric wire over an existing fence? If it's like one I did for a relative, I used the chain link fence as the ground.
Instead of a ground rod, try using galvanized pipe, it'll work and is easier to drive.
If it's new fencing an you're using wood post, get some high tensile wire, roll a coil onto the bottom of each post. Use fence staples to hold it in place and run the wire up the side of the post and use a ground wire from the charger to a ground wire run around the perimeter and tie it to each wire in the ground on each post. PITA, but it works great.
If it's T-post, tie each post to the perimeter ground wire. PITA also.
Burying a ground rod horizontal works if it deep enough.
Burying some 2x4 kennel fencing around the perimeter and tying it to the perimeter ground works and keeps them from digging under too.
All your connections at the attachment points need to be crimped, not just wire twisted around another. It'll start arcing after a while and burn through given enough time. I got tired of hearing my neighbors fence arcing and fixed it myself. Do it right the first time and there will not be a second time.
From personal experiences, most "cheap" solar chargers ****. Gallagher brand kick **** and hold up pretty good. The batteries need to be replaced every so often.
Set the charger in full sun for at least three days prior to turning it on and using it.
https://www.gallagherfence.net/collections/fence-chargers-energizers/power-source_solar-capable