IMA HTML5 SDK : Uncaught error when player's dimension is slightly larger than ad image's dimension

24 views
Skip to first unread message

Joris Fluyt

unread,
Apr 5, 2023, 4:43:12 AM4/5/23
to Interactive Media Ads SDK
Hello,

When our player tries to schedule a non-linear AdSense ad  using the IMA HTML5 SDK on startup that needs to play after some seconds of playback (e.g. after 10 seconds) and where the player's dimension is slightly larger than the image's dimension, the SDK will throw the uncaught exception "The overlay ad content could not be displayed since creative dimensions do not align with display area." and the SDK does not dispatch an AdErrorEvent.

When the player's dimension is smaller than the image's dimension or when we schedule this ad to play immediately (on startup) with the player's dimension slightly larger than the image's dimension, the IMA SDK send us an AdErrorEvent.

I've tested this too with a VMAP where the timeOffset set to 10 seconds and on both our player and the IMA HTML5 Video Suite Inspector the same behaviour can be seen.

In the attachment you can find the VAST file that I used to test this. To reproduce, you can set the player's dimensions to a width of 621 and a height of 340 (it breaks once the height is smaller than 350).

If you have still some questions, feel free to ask.

Thanks,
Joris
fullscreen-non-linear.xml

IMA SDK

unread,
Apr 5, 2023, 8:42:49 AM4/5/23
to joris...@theoplayer.com, ima...@googlegroups.com

Hi Joris,

Thank you for reaching out to the IMA SDK forum.

For us to provide accurate guidance as well as to replicate the behavior you mentioned for when there is a 10 second offset for your ad, kindly provide the following information privately:

  • Vast ad tag (with 10 second offset)
  • Sample project/app where issue is reproducible
  • Screen Recording of the issue
  • Steps to reproduce the issue

Make sure to send these information privately via the "Reply to Author" option. If the file(s) you are looking to share are less than 25mb in total you can attach them to this case on your next reply. If you are having trouble attaching your file to this case or if your file(s) are larger than 25mb, you can share your files with me by performing the following steps:

1. Navigate to
https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=IMA+SDK&entry.460850823=5004Q00002kFWXfQAO&entry.80707362=00173616
2. Fill out all fields, and attach your file(s).
3. Please reply back on this thread when you have uploaded your file(s). Please do not share this link.

Looking forward to your response.

Regards,

Google Logo IMA SDK Team


ref:_00D1U1174p._5004Q2kFWXf:ref
Reply all
Reply to author
Forward
0 new messages