How to get a url for random pre-roll ads?

10 views
Skip to first unread message

Jay

unread,
May 26, 2025, 3:34:34 AMMay 26
to Interactive Media Ads SDK
Hey, 

I am using videojs plugin for pre-roll ads on live stream.

Now, how do I create a DAI url that will give me random ads to display and after ads showing I will gain  a percentage.

Adsense used to have such feature but they went away with it. 

IMA SDK

unread,
May 26, 2025, 10:16:36 AMMay 26
to jayson....@gmail.com, ima...@googlegroups.com
Hi,

Thank you for contacting IMA SDK Support team.

I've gone through your shared description but I am unable to get your exact issue, could you explain your use case/ business logic me in detail for further investigation. Also if possible kindly share the sample project/snippet which you are referring to along with the document url.

In order for us to conduct a more thorough investigation of your issue, could you kindly share the below information:
  • Provide stream details: if it is live or video on demand (VOD). Furthermore, if the content is live, what is the stream format and the asset key? If the content is VOD, what is the stream format, CMS ID, and Video ID?
  • If DRM is used, please provide a "clear stream" that has no DRM.

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=500Ht00001qYCl7IAG&entry.80707362=00308324

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.

Thanks,
 
Google Logo IMA SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-05-26 14:16:26Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01qYCl7:ref" (ADR-00308324)



Reply all
Reply to author
Forward
0 new messages