Hi There,
I am on the latest IMA android sample branch. I am facing Ad Error:402 ad timeout in the following scenario,
1. Please configure a pre-roll having 2 pod ads in advanced example with change media option on a button. [If you want I can share the zipped code privately.]
2. When the '1 of 1' ad is playing click on change media button and let the next 1st ad play. If you see ad time out then check the 3rd step or else click on change media once again and keep trying for 5-6 times.
3. The issue can be see on the 2nd ad as well.
You can see the logs attached and in this scenario what i observed that IMA does not send 'STARTED' ad event. It send LOADED, CONTENT_PAUSE_REQUESTED then does not send STARTED and in continuation IMA send FIRST_QUARTILE event.
Please check this as we are facing this issue very frequently in our app and it was very hard to reproduce on IMA advanced example as it does not use ExoPlayer to play.
-Thanks
Gourav