RE: [ima-sdk] [AOS] ALL_ADS_COMPLETED is not notified for some cases

115 views
Skip to first unread message
Message has been deleted

IMA SDK

unread,
Mar 31, 2023, 12:04:35 PM3/31/23

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

https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=IMA+SDK&entry.460850823=5004Q00002kDo1UQAS&entry.80707362=00173051

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,

Google Logo IMA SDK Team


ref:_00D1U1174p._5004Q2kDo1U:ref

เหนือ น่าน

unread,
Mar 31, 2023, 12:07:40 PM3/31/23


รับ Outlook สำหรับ Android


จาก: 'IMA SDK' via Interactive Media Ads SDK <[email protected]>
ส่งแล้ว: วันศุกร์ที่ 31 มีนาคม ค.ศ. 2023 23:04 น.
ถึง: [email protected] <[email protected]>
สำเนาถึง: [email protected] <[email protected]>
ชื่อเรื่อง: RE: [ima-sdk] [AOS] ALL_ADS_COMPLETED is not notified for some cases
--
You received this message because you are subscribed to the Google Groups "Interactive Media Ads SDK" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/ima-sdk/NXznb000000000000000000000000000000000000000000000RSE7BI00_xsFgoodS423sKYxctqQDw%40sfdc.net.

เหนือ น่าน

unread,
Mar 31, 2023, 12:09:56 PM3/31/23


จาก: 'IMA SDK' via Interactive Media Ads SDK <[email protected]>
ส่งแล้ว: วันศุกร์ที่ 31 มีนาคม ค.ศ. 2023 23:04 น.
ถึง: [email protected] <[email protected]>
สำเนาถึง: [email protected] <[email protected]>
ชื่อเรื่อง: RE: [ima-sdk] [AOS] ALL_ADS_COMPLETED is not notified for some cases

--

IMA SDK

unread,
Mar 31, 2023, 12:34:06 PM3/31/23

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,

pineapplevine1

unread,
Sep 17, 2024, 1:03:01 AMSep 17
to Interactive Media Ads SDK

I have one more question.
Could you let me know the cases where there is no post-roll?
We have confirmed both cases where the notification of ALL_ADS_COMPLETED is sent and not sent when playing ads according to the following steps. Could you tell us the cause?
Additionally, we have confirmed that the same issue occurs with ExoPlayerExample(v3.34.0).

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

Our expected behavior is that all_ads_completed will be notified when the last ad is played. However, since there are cases where it is not notified, we would like to know the cause.

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>

IMA SDK

unread,
Sep 17, 2024, 8:01:31 AMSep 17

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. 

This message is in relation to case "ref:!00D1U01174p.!5004Q02kDo1U:ref" (ADR-00173051)

Thanks,

 
Google Logo IMA SDK Team


IMA SDK

unread,
Sep 19, 2024, 11:55:15 AMSep 19
Hello,

This is Jackson from the IMA SDK to help with your issue. I was able to reproduce the issue, where the 'ALL_ADS_COMPLETED' event is not fired. I used the following steps:

- Use the longer content video (tears of steel)
- Use the shared VMAP tag.
- Start the IMA ExoPlayer sample app
- Watch the pre-roll ad.
- Seek to the 3rd ad break (~10 min), watch that mid-roll ad.
- Seek to about 20 seconds before the end of content and watch to the end.
- No 'ALL_ADS_COMPLETED' event is fired, the expectation is the event should fire when the content ends.

I tested this in a non-ExoPlayer extension sample, and did not see this issue. Based on that I think the bug is within the ExoPlayer extension, since the player needs to set up a content complete callback, which IMA SDK is looking for in order to send the 'ALL_ADS_COMPLETED' event. It is possible there is some issue in the extension where this callback is not set up correctly. 

I'll raise this issue to the ExoPlayer team to address the bug. For now, a work-around is to not use the ExoPlayer-extension. I will let you know when I have more information on this thread.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02kDo1U:ref" (ADR-00173051)

Thanks,
 
Google Logo
Jackson Sui
IMA SDK Team


Message has been deleted

pineapplevine1

unread,
Oct 22, 2024, 12:51:52 AMOct 22
to Interactive Media Ads SDK
Hello,
I would like to contact you again regarding the matter I recently inquired about.
What is the status of this progress? We would appreciate it if you could let us know.

Best regards.

IMA SDK

unread,
Oct 23, 2024, 10:02:11 AMOct 23
Hello,

I was able to confirm with the ExoPlayer team that this is expected behavior, where if a user seeks near the end, the 'ALL_ADS_COMPLETED' event is not fired, and post-rolls are not played.

The reason for this is to prevent users abusing that option, to seek to the end, have 'ALL_ADS_COMPLETED' fire, then seek back to the beginning to watch the content ads free. Currently, the ExoPlayer-IMA extension does not offer an alternative to this behavior.

Please let me know if you have any other questions.
Reply all
Reply to author
Forward
0 new messages