If you don't find an answer, please click here to post your question.
Reply
Regular Visitor
Posts: 1
Registered: ‎07-26-2016

How can I change adTagUrl in google-ima-ads-manager when video starts to play?

Hi,

 

I tried using setEmbedCode to change the adTagUrl dynamically on "embedCodeChanged". But it takes 1-2 seconds to set the new embedCode and assets. Is there any better way to change adTagUrl dynamically? 

 

Thanks

Ooyalan
Posts: 25
Registered: ‎12-02-2013

Re: How can I change adTagUrl in google-ima-ads-manager when video starts to play?

hello bobjoe,

 

Could you share the code or URL where you are implementing to validate if it can be optmized, per your description it sounds that you are doing it the best it could be, but I'd like to review it,

 

Best,

 

Elias

Ooyala.