Imidacloprid seems to be totally ineffective against mealybugs in my experience, and I don't think it is labelled or recommended anywhere for controlling them, both spray and soil drench. I have been fighting the same mealybug infestation for years, using imidacloprid repeatedly didn't seem to help at all. Hort oil so far has worked better but they always come back. The fact that it works for you gives me some hope and maybe I will try again!
Tanglefoot works to stop ants, but it is messy and annoying to apply to large number of trees.