[IMA SDK HTML5] Uncaught TypeError: Cannot read properties of undefined (reading 'queryId')

166 views
Skip to first unread message

Adrian Poix

unread,
Apr 21, 2023, 5:39:33 AM4/21/23
to Interactive Media Ads SDK
Hi team,

Since a few months, I have an error in my Chrome console : "Uncaught TypeError: Cannot read properties of undefined (reading 'queryId')" coming from IMA SDK for HTML5.

Here is a capture of the error : 

Capture d’écran 2023-04-21 à 11.38.07.png

It points to this code :

Capture d’écran 2023-04-21 à 11.39.04.png

Can you help me to debug this ?

Adrian

IMA SDK

unread,
Apr 21, 2023, 7:57:53 AM4/21/23
to a.p...@viously.com, ima...@googlegroups.com
Hi Adrian,

Thank you for reporting this to us. Would you able to share to us a sample app where the issue is reproducible? You may it via the steps below.
 

1. Navigate to

https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=IMA+SDK&entry.460850823=5004Q00002kotozQAA&entry.80707362=00175763

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.



Regards,
Google Logo IMA SDK Team


ref:_00D1U1174p._5004Q2kotoz:ref

Adrian Poix

unread,
May 4, 2023, 5:35:58 AM5/4/23
to IMA SDK, ima...@googlegroups.com
Unfortunately, I'm not able to share a code sample but I provided screenshots.

We have those errors since we have disabled the Secure signals feature in GAM.

Can you check it ?

 
Logo
Adrian POIX
Partner - VP Of Engineering
 

IMA SDK

unread,
May 4, 2023, 9:17:29 AM5/4/23
to a.p...@viously.com, ima...@googlegroups.com

Hi Adrian,

In order for us to reproduce this issue and provide accurate guidance, we would be needing a sample implementation. If it's not possible to share your code, can you confirm if this is reproducible using our sample found here: https://developers.google.com/interactive-media-ads/docs/sdks/html5/client-side/download? If yes, then you may share your modified copy. You may share it via the steps below:



1. Navigate to https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=IMA+SDK&entry.460850823=5004Q00002kotozQAA&entry.80707362=00175763
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.

Regards,

Adrian Poix

unread,
Sep 26, 2023, 4:07:31 AM9/26/23
to Interactive Media Ads SDK
Hello,

I have resolved the problem by analyzing the detailed logs provided in ima3_debug.js.

The issue stemmed from a race condition that occurred during the following processes:

-Loading the ima.js script
-Initializing the ad display container
-Initializing IMA

Best regards,

IMA SDK

unread,
Sep 26, 2023, 7:40:35 AM9/26/23
to a.p...@viously.com, ima...@googlegroups.com

Hi Adrian,

 

Glad to hear that your issue has been resolved.

 

Don't hesitate to reach out for any IMA related concerns and provide us with information we requested.
 

This message is in relation to case "ref:_00D1U1174p._5004Q2kotoz:ref"

Thanks,

 
Google Logo IMA SDK Team


Reply all
Reply to author
Forward
0 new messages