[Android][Multiple AdsRequests] 402 error is thrown while the ad is playing

53 views
Skip to first unread message

Timothy Tang

unread,
Aug 5, 2024, 3:47:16 AMAug 5
to Interactive Media Ads SDK
Hi, 
I have a setup similar to this thread:
https://groups.google.com/g/ima-sdk/c/05fOv0IZNnQ

In particular, 
I have multiple adsRequest (and thus 2 AdPod)
I want to play ads from both AdPod interchangeably.
After playing the 1st ads from sourceA, I want to play the 1st ads from sourceB.
The 1st ads from sourceB could be played, but after a few seconds, I received error 402 {errorMessage=VAST media file loading reached a timeout of 8 seconds., errorCode=402, type=adPlayError}

And same as https://groups.google.com/g/ima-sdk/c/05fOv0IZNnQ, in playing this ad I only got 
LOADED, CONTENT_RESUME_REQUESTED (after 402) and no STARTED. 

Also, another issue would be when we have multiple adsRequests firing simultaneously, how could we tell which VideoAdPlayerCallback added corresponds to which AdsManager ? I have tested, it seems not following the order of AdsManager being loaded. 

Thanks for your advice.

Thanks, 
Tim
ads_interchange_402.txt

IMA SDK

unread,
Aug 5, 2024, 10:27:28 AMAug 5
to emailof...@gmail.com, ima...@googlegroups.com
Hi Tim,

Thank you for contacting IMA SDK Support Team.

Could you tell me the issue in more detail? Are you trying to show same ad pod and changing the sources from A player to B player ?
Or using same player and request requesting A to request B?

If possible kindly provide the Sample project to us replicating issue. It will be good for us to understand the issue.

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=5004Q00002vEYP3QAO&entry.80707362=00260896

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.!5004Q02vEYP3:ref" (ADR-00260896)

Thanks,
 
Google Logo IMA SDK Team


123.r...@gmail.com

unread,
Aug 7, 2024, 3:52:09 AMAug 7
to Interactive Media Ads SDK
Hi,

I was facing the same issue on upgrading to latest version.
After lot of searching online forum and checking release notes, found no clue. 
Then I checked the sample app which worked fine and the diff was this part : 
I feel it should have been mentioned explicitly somewhere in release notes or in a migration guide. After implementation is done, we usually do not go back to sample implementation docs.
Hope it helps.
Reply all
Reply to author
Forward
0 new messages