Our Akita was fussy about pills and food, and got to the point where she could chew the food off of a pill then spit the pill out, either right away or a little later. Our usual strategy was to simply change up the foods and keep trying. Sometimes real food, sometimes "pill pockets". We succeeded more often than not, but it wasn't the best way to keep her arthritis pain under control.
One day checking her into our boarding kennel, and telling the owner/breeder of our difficulty, she asked if we had succeeded that morning or not.
We said "no", so she tilted the dog's head up with the mouth open, grabbed the pill and just chucked it deep into the back of her throat. "With as many dogs as I have, I don't have time to mess around." I'm not sure if me or my dog were more surprised that it worked.
Near as I can tell, the only secret to it is practice, and aim. So you might give that a try, too.
Fortunately, our current dogs aren't fussy and will work with PB...