Hi Larry,
This might be related to historical cases due to Chrome's certain heuristics in handling flash ads (FYI, I didn't see the error on Firefox). From your ad tag, we are seeing it serves Flash VPAID and regular MP4 creatives alternatively. I did some testing where I manipulated the AdsManager's dimensions to be less than the constants defined
here (kLargeContentMinWidth and kLargeContentMinHeight):adsManager.init(
250,
150,
google.ima.ViewMode.NORMAL);
adsManager.start();
};
With these dimensions, I saw sometimes Chrome would pause a Flash ad. At that time it shows the undefined error. However, for other regular MP4 creatives, the SDK successfully fired COMPLETE and did not error out. Therefore, we are inclined to think that running into the "Uncaught TypeError: Cannot read property 'right' of undefined" is related to Chrome's heuristics in handling Flash ads.
As a workaround, I'd recommend maintaining a stable inventory on DFP where you are not supplying Flash creatives. Otherwise, you might set a custom timer that runs for the relative length of the would-be Flash ad, and destroy the SDK (via AdsManager.destroy()) once the time is up.
Vu Chau
IMA SDK Team