Ima SDK 3.69.0 Error (Probably from 26.09.2025) - Can't find variable: URLSearchParams inside bridge script

11 views
Skip to first unread message

Witalij Parszenko

unread,
2:33 AM (19 hours ago) 2:33 AM
to Interactive Media Ads SDK

One-Line Summary: A ReferenceError for URLSearchParams occurs inside the bridge iframe when loading ads with the latest IMA SDK, causing ad failures on older browsers.


Description

When an ad is requested using the latest version of the IMA SDK, the SDK's bridge iframe (bridge{version}_pl.html) executes code that calls URLSearchParams. However, on environments that do not have native support for this API (such as older browsers), a fatal ReferenceError: Can't find variable: URLSearchParams is thrown.

This suggests that the isolated iframe environment for the ad creative does not include the necessary polyfill for URLSearchParams. The error breaks the ad rendering process.


Environment

  • SDK: Google IMA SDK for HTML5

  • Version: Latest (as of September 2025)

  • Context: Ad loading within a cross-origin "bridge" iframe created by the IMA SDK.

  • Browsers Affected: Environments without native URLSearchParams support (e.g., Internet Explorer 11, older versions of other browsers).


Steps to Reproduce

  1. Integrate the latest version of the Google IMA SDK on a webpage.

  2. Request a VAST ad on a browser environment that requires a URLSearchParams polyfill.

  3. Observe the browser's developer console.


Expected Result

The ad should load and play correctly. The IMA SDK's internal iframe should be self-contained and provide any necessary polyfills (like URLSearchParams) to ensure compatibility with its supported environments.


Actual Result

A ReferenceError is thrown from within the SDK's bridge iframe, preventing the ad from loading. See the attached console screenshot for details.

Suggested Fix: Please include a polyfill for URLSearchParams within the bridge iframe's context to ensure backward compatibility.



Zrzut ekranu 2025-09-30 o 14.30.38.png
Reply all
Reply to author
Forward
0 new messages