Hello,
Thank you for reaching out to IMA SDK Support Team.
I tried reproducing the issue according to the steps you have provided. However, it seems like I was not able to replicate the behavior on my end. With this, would you be able to share with us the screen recording of the behavior and screenshot of the events you are referring to? Asking this so our team could have a better illustration of the issue. Hoping for your kind understanding of this.
You may send the requested details privately via the "Reply To Author" button or with the below process.
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
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.
On a side note, I am removing first message in this thread since it contains a private information.
Regards,
![]() |
IMA SDK Team |
Hello,
Thank you for reaching out to us.
Do you have any concerns related to IMA SDK? Or is it related to the issue in this thread? If so, please provide us the details. We'll be happy to assist you.
Regards,
Hi,
I will check with our team about your question and one of my team members will reach out to you once we have an update. Meanwhile, I would greatly appreciate your patience.
![]() |
IMA SDK Team |
![]() |
|
Steps:
1. Play the pre-roll
2. Seek to the playback position(11:00) of Mid3 (skipping the playback of Mid1 and Mid2)
3. Play the last ad, Mid3
In the case where 'ALL_ADS_COMPLETED' is notified:
4. Seek to the end of playback
5. 'ALL_ADS_COMPLETED' IS notified
In the case where 'ALL_ADS_COMPLETED' is not notified:
4. Wait until the end of playback
5. 'ALL_ADS_COMPLETED' is NOT notified
Specs:
Pixel5(AOS 14)
Contents :
Movie :
https://storage.googleapis.com/wvmedia/clear/h264/tears/tears_h264_high_1080p_20000.mp4
Ads :
<vmap:VMAP xmlns:vmap="http://www.iab.net/videosuite/vmap" version="1.0">
<vmap:AdBreak timeOffset="start" breakType="linear" breakId="preroll">
<vmap:AdSource id="preroll-ad-1" allowMultipleAds="false" followRedirects="true">
<vmap:AdTagURI templateType="vast3">
<![CDATA[ https://pubads.g.doubleclick.net/gampad/ads?slotname=/21775744923/external/vmap_ad_samples&sz=640x480&ciu_szs=300x250&cust_params=sample_ar%3Dpremidpost&url=&unviewed_position_start=1&output=xml_vast3&impl=s&env=vp&gdfp_req=1&ad_rule=0&useragent=Mozilla/5.0+(Windows+NT+10.0%3B+Win64%3B+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/111.0.0.0+Safari/537.36,gzip(gfe)&vad_type=linear&vpos=preroll&pod=1&ppos=1&lip=true&min_ad_duration=0&max_ad_duration=30000&vrid=1264775&cmsid=496&video_doc_id=short_onecue&kfa=0&tfcd=0 ]]>
</vmap:AdTagURI>
</vmap:AdSource>
</vmap:AdBreak>
<vmap:AdBreak timeOffset="00:03:20.000" breakType="linear" breakId="midroll-1">
<vmap:AdSource id="midroll-1-ad-1" allowMultipleAds="false" followRedirects="true">
<vmap:AdTagURI templateType="vast3">
<![CDATA[ https://pubads.g.doubleclick.net/gampad/ads?slotname=/21775744923/external/vmap_ad_samples&sz=640x480&ciu_szs=300x250&cust_params=sample_ar%3Dpremidpost&url=&unviewed_position_start=1&output=xml_vast3&impl=s&env=vp&gdfp_req=1&ad_rule=0&cue=15000&useragent=Mozilla/5.0+(Windows+NT+10.0%3B+Win64%3B+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/111.0.0.0+Safari/537.36,gzip(gfe)&vad_type=linear&vpos=midroll&pod=2&mridx=1&rmridx=1&ppos=1&lip=true&min_ad_duration=0&max_ad_duration=30000&vrid=1264775&cmsid=496&video_doc_id=short_onecue&kfa=0&tfcd=0 ]]>
</vmap:AdTagURI>
</vmap:AdSource>
</vmap:AdBreak>
<vmap:AdBreak timeOffset="00:6:40.000" breakType="linear" breakId="midroll-2">
<vmap:AdSource id="midroll-2-ad-1" allowMultipleAds="false" followRedirects="true">
<vmap:AdTagURI templateType="vast3">
<![CDATA[ https://pubads.g.doubleclick.net/gampad/ads?slotname=/21775744923/external/vmap_ad_samples&sz=640x480&ciu_szs=300x250&cust_params=sample_ar%3Dpremidpost&url=&unviewed_position_start=1&output=xml_vast3&impl=s&env=vp&gdfp_req=1&ad_rule=0&cue=15000&useragent=Mozilla/5.0+(Windows+NT+10.0%3B+Win64%3B+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/111.0.0.0+Safari/537.36,gzip(gfe)&vad_type=linear&vpos=midroll&pod=2&mridx=1&rmridx=1&ppos=1&lip=true&min_ad_duration=0&max_ad_duration=30000&vrid=1264775&cmsid=496&video_doc_id=short_onecue&kfa=0&tfcd=0 ]]>
</vmap:AdTagURI>
</vmap:AdSource>
</vmap:AdBreak>
<vmap:AdBreak timeOffset="00:10:00.000" breakType="linear" breakId="midroll-3">
<vmap:AdSource id="midroll-3-ad-1" allowMultipleAds="false" followRedirects="true">
<vmap:AdTagURI templateType="vast3">
<![CDATA[ https://pubads.g.doubleclick.net/gampad/ads?slotname=/21775744923/external/vmap_ad_samples&sz=640x480&ciu_szs=300x250&cust_params=sample_ar%3Dpremidpost&url=&unviewed_position_start=1&output=xml_vast3&impl=s&env=vp&gdfp_req=1&ad_rule=0&cue=15000&useragent=Mozilla/5.0+(Windows+NT+10.0%3B+Win64%3B+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/111.0.0.0+Safari/537.36,gzip(gfe)&vad_type=linear&vpos=midroll&pod=2&mridx=1&rmridx=1&ppos=1&lip=true&min_ad_duration=0&max_ad_duration=30000&vrid=1264775&cmsid=496&video_doc_id=short_onecue&kfa=0&tfcd=0 ]]>
</vmap:AdTagURI>
</vmap:AdSource>
</vmap:AdBreak>
</vmap:VMAP>
![]() |
|
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=5004Q00002kDo1UQAS&entry.80707362=001730512. 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.
We have created an application that reproduces the case in question, using the latest version of Android Studio.
The files were uploaded via navigated google forms.
The reproduction procedure is as follows
1. Create an ad tag file to be used for the case reproduction and place it on an arbitrary server accessible via http.
2. Change the value of the constant SAMPLE_VAST_TAG_URL defined in MyActivity.java from “Please change” to the URL of the placed ad tag file.
3. Build and launch the application and start playback.
4. Tap the Step1 button when the pre-roll ad has finished playing and the content begins to play.
5. Wait for the mid-roll ad to finish playing, which will be played back in snapback.
6. Continue watching and wait for the third mid-roll ad to complete playing.
Case1:
7-1. Continue watching until playback of the content is complete.
Result: ALL_ADS_COMPLETED is not notified.
Case2:
7-2. Tap the Step2 button. (Seek to the end of the content.)
Result: ALL_ADS_COMPLETED is notified.
As described above, there is a difference in the behavior of whether ALL_ADS_COMPLETED is notified or not depending on whether or not to seek to the end of the content as the last step while a portion of the three mid-roll ads are not being played.
---
Ad tag ---
![]() |
|