We're using the SDK both in our top-level window, and two iframes deep (problem also occurs one iframe deep). Even though we reach the adsLoader.requestAds just fine, no network requests are ever created by the IMA, nor does the IMA debug version give us any logs. I've spent a lot of time removing everything from our SDK until I was left with a very bare-bones implementation, but the problem persists.
Note:
root.html and
no-iframe.html should be served from different domains for this bug to trigger.
Either one of the following things will get rid of the bug:
- Run both root.html and no-iframe.html from the same domain
- Do not call adSDK.init() in root.html
Neither of the above are possible solutions for us in production.
Note that we had a similar issue with the IMA SDK (no request, no logs) about a year ago. Back then it turned out I had to move the requestAds function around. However, it's concerning that IMA is not giving us any debug messages whatsoever, and instead just doesn't work.
I'll be doing more tests today with the IMA samples to see if those have the same problems and report back.