Hello Ping,
Michael here from IMA SDK Team. Thank you for reaching out to us.
Would you be able to elaborate more on your concern? On what SDK platform (refer here) you are encountering the issue (include its SDK version)? Is there any specific device affected by the issue? Can you provide any sample app where the issue is reproducible?
Regards,
|
||||||
Hello CP,
Thank you for responding back to us.
Please be informed that cuepoints of the Ad is pre-configured in your ad tag url. If the url has only pre-roll in it, then IMA SDK will only request and play the ad at the start of the video content even if the video content itself is in a looped phase. Should you want to play ads in mid point or after the video completes, you may want to ask your ad provider for something with mid-roll and post-roll ads content. You may check our sample tags here.
On the other hand, should you really want to make new ad request at the middle of the content, you have to ensure calling adsLoader.destroy and adsManager.destroy methods before calling new adsRequest. More information can be found on the lifecycle of the SDK.
Regards,
Hello CP,
Thank you for your response.
I believe that should work if you put your own logic to your code that when it returns the error, it will go back to the function of requesting ads. However, it may disrupt the flow of your app if it keeps returning an 1009 error. We suggest to follow the SDK lifecycle.
Regards,