Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

VideoJS IMA SDK issue in VMAP adpod

24 views
Skip to first unread message

Sunil Kumar

unread,
Sep 9, 2024, 10:11:31 AM9/9/24
to ima...@googlegroups.com, IMA SDK, ima-sdk...@google.com
Hi Support Team, 

Can you please help me on VideoJS  IMA SDK playing VMAP Ads? I am trying to load below account VMAP ads in videojs but it is giving me ads timeout instantly without waiting for the timeout limit which I have set.  

Please review the URL below and advise why I am receiving ads timeout as soon as I load ads. Ideally it should wait for atleast given timeout second i.e. 5000 ms? 

image.png
var imaOptions = {
              id: db.vpmed.id,
              adTagUrl:pobj.pre_adunit,
              debug: true,
              timeout: 5000, // Changed this to 500
              adsRenderingSettings: {
                restoreCustomPlaybackStateOnAdBreakComplete: true
              }
            };



https://pubads.g.doubleclick.net/gampad/ads?iu=/1007232/GNT_LiveTV_preroll 


Warm regards,
Sunil Kumar


IMA SDK

unread,
Sep 9, 2024, 1:52:23 PM9/9/24
to suni...@gmail.com, ima-sdk...@google.com, ima...@googlegroups.com

Hi Sunil Kumar,

Thank you for contacting the IMA SDK support team.

I have reviewed the URL you have provided in the Google sample project and the issue you have mentioned ads timeout as soon as ad loads is not reproducible. Timeout (in milliseconds) when loading a video ad media file. If loading takes longer than this timeout, the ad playback is canceled and the next ad in the pod plays, if available. Use -1 for the default of 8 seconds. Can you also confirm whether the mentioned issue is replicating in our Google sample application? If yes, Kindly provide the below details for further investigation:

  • VAST tag URL
  • SDK version being used
  • Code snippet or minimal sample project replicating the issue(If possible)

You can provide the following details via reply privately to the author option or directly provide it to the link below.

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=5004Q00002vFxITQA0&entry.80707362=00267290

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. 

This message is in relation to case "ref:!00D1U01174p.!5004Q02vFxIT:ref" (ADR-00267290)

Thanks,
 
Google Logo IMA SDK Team


IMA SDK

unread,
Sep 10, 2024, 7:27:04 AM9/10/24
to suni...@gmail.com, ima...@googlegroups.com
Hi Sunil,

I've checked all info which you've shared and there is no issue with the code. I was able to load the ads with your VAST only one time in VSI. But later on i am not receiving any ads and it's returning empty response. 
There is no issue from IMA SDK.

I would suggest you to contact your AdManager representative to provide valid ads in VAST. Test ads won't be having ads every time. Check once with production ads if available.

Thanks

Sunil Kumar

unread,
Sep 10, 2024, 7:46:28 AM9/10/24
to IMA SDK, ima...@googlegroups.com
Hi Support Team, 

Many thanks for your valuable time and support on this. I will check with AdManager regarding this. 

Best regards,
Sunil Kumar

Sunil Kumar

unread,
Sep 12, 2024, 3:39:52 AM9/12/24
to IMA SDK, ima...@googlegroups.com
Hi Support Team, 

Can you please advise if there is any way that I can play pre roll ads before the main content .m3u8 playback request? In my current implementation as per documentation I have to preload the main content .m3u8 before the ads play then only my ads is playing? 

Please advise me on this. 

Best regards,
Sunil Kumar


IMA SDK

unread,
Sep 12, 2024, 8:46:34 AM9/12/24
to suni...@gmail.com, ima...@googlegroups.com
Hey Sunil,

Ads will load only when your actual content starts as ads are associated with video content and cannot be run without any content.
Reply all
Reply to author
Forward
0 new messages