I wrote this blog post a few years ago that uses pre-request scripts to renew OAuth tokens. Based on how the specific setup is of the Adobe Experience Platform, you might have to change a couple of things, but this is at least the skeleton to make things work.