Google Ad Manager, DFP - Create auto refresh for ad slot (ad unit)

I’m trying to find the best way to have ad slots in publisher tag refresh without the need to refresh pages.

Option 1: This method was work until now: setInterval(function(){googletag.pubads().refresh([gptadslots[0]]);}, 3000);

Here is link of post where i found this method.

Option 2: My website use wordpress, so i give a try to this plugin: Reload ads without page refresh - Ad Inserter Pro

Here is video of web site using this plugin: https://drive.google.com/file/d/17WmqAu5Jf7JFbkQsxWGok-x_yztmamf2/view

The first insertion works fine, the next insertions fail.

Plugin auto refresh work fine for text or images, but for ad manager code, every second insertion fail.

I tried to add body and header code in same box inside plugin. But that did not work too.

Best Regards