Hi all, Jackson Sui,
However, when trying to use setSessionId, we get the exception "[...].setSessionId is not a function", both when used on the global google.ima.settings and when used on the settings object retrieved with AdsLoader.getSettings().
Diving a bit deeper in the ima code, we see a lot of property export statements, like: goog.exportProperty(module$contents$ima$imaSdkSettings_ImaSdkSettings.prototype, "setNumRedirects", module$contents$ima$imaSdkSettings_ImaSdkSettings.prototype.setNumRedirects);
, but these statements are *missing*:
goog.exportProperty(module$contents$ima$imaSdkSettings_ImaSdkSettings.prototype, "setSessionId", module$contents$ima$imaSdkSettings_ImaSdkSettings.prototype.setSessionId);
goog.exportProperty(module$contents$ima$imaSdkSettings_ImaSdkSettings.prototype, "getSessionId", module$contents$ima$imaSdkSettings_ImaSdkSettings.prototype.getSessionId);
We suspect adding them would solve the problem.
Regards,
Janroel Koppen
1. IMA HTML5 SDK
2. n/a
3. no
4. click the button, watch the Console