@Steven …
Duh! – i should have noticed myself that a different hook would be needed, sorry.
Yep, looks good now to me :)
Thanks so much for figuring this out.
I’m going to bring your solution to the attention of Thomas at Advanced Ads.