Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

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

245 views
Skip to first unread message
Message has been deleted

IMA SDK

unread,
Mar 31, 2023, 12:04:35 PM3/31/23
to pineapp...@gmail.com, ima...@googlegroups.com

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
to IMA SDK, pineapp...@gmail.com, ima...@googlegroups.com


รับ Outlook สำหรับ Android


จาก: 'IMA SDK' via Interactive Media Ads SDK <ima...@googlegroups.com>
ส่งแล้ว: วันศุกร์ที่ 31 มีนาคม ค.ศ. 2023 23:04 น.
ถึง: pineapp...@gmail.com <pineapp...@gmail.com>
สำเนาถึง: ima...@googlegroups.com <ima...@googlegroups.com>
ชื่อเรื่อง: 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 ima-sdk+u...@googlegroups.com.
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
to IMA SDK, pineapp...@gmail.com, ima...@googlegroups.com


จาก: 'IMA SDK' via Interactive Media Ads SDK <ima...@googlegroups.com>
ส่งแล้ว: วันศุกร์ที่ 31 มีนาคม ค.ศ. 2023 23:04 น.
ถึง: pineapp...@gmail.com <pineapp...@gmail.com>
สำเนาถึง: ima...@googlegroups.com <ima...@googlegroups.com>
ชื่อเรื่อง: 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
to henux...@gmail.com, ima...@googlegroups.com, pineapp...@gmail.com

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 AM9/17/24
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 AM9/17/24
to pineapp...@gmail.com, ima...@googlegroups.com

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 AM9/19/24
to ima...@googlegroups.com, pineapp...@gmail.com
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 AM10/22/24
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 AM10/23/24
to pineapp...@gmail.com, ima...@googlegroups.com
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.

pineapplevine1

unread,
Dec 6, 2024, 1:24:53 AM12/6/24
to Interactive Media Ads SDK
Hello,

We understand that the 'ALL_ADS_COMPLETED' event should not be triggered when seeking near the end of the content. However, we have confirmed that the 'ALL_ADS_COMPLETED' event is indeed triggered when seeking near the end of the content in our environment. We believe this behavior is contrary to the expected behavior of ExoPlayer. Could you please check this issue again?

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>


Best regards.
2024年10月23日水曜日 23:02:11 UTC+9 IMA SDK:

IMA SDK

unread,
Dec 6, 2024, 10:28:59 AM12/6/24
to pineapp...@gmail.com, ima...@googlegroups.com
Hello,

In both test cases, using the ExoPlayer extension IMA sample app, I do not see ALL_ADS_COMPLETED fired. I think the expected cases is ALL_ADS_COMPLETED won't fire, since there are no post-roll ads. Other than changing the ad tag, were any other changes made, such as manually calling 'contentComplete()'?
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02kDo1U:ref" (ADR-00173051)

Thanks,
 
Google Logo
Jackson Sui
IMA SDK Team


Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
 

 



pineapplevine1

unread,
Dec 19, 2024, 7:39:31 PM12/19/24
to Interactive Media Ads SDK
Hello.

It is our intention that post-roll ads are not included, and we have not made any manual changes such as calling 'contentComplete()'.
Our question is about a case we have identified where ALL_ADS_COMPLETED is notified despite skipping the first and second mid-roll ads when playing content that contains one pre-roll and three mid-rolls, but no post-rolls, and this behavior is inconsistent with the explanation “This event triggers when the ads manager has finished playing all valid ads in the ads response or when the response does not return any valid ads.” given in the previous response.

Best regards.

2024年12月7日土曜日 0:28:59 UTC+9 IMA SDK:

IMA SDK

unread,
Dec 20, 2024, 10:49:26 AM12/20/24
to pineapp...@gmail.com, ima...@googlegroups.com
Hello,

Thank you for the reply. I agree that ALL_ADS_COMPLETED would not be expected fire in the case you described when skipping the first 2 mid-rolls.

Is it possible to share a modified version of the IMA Android sample apps that reproduces the issue, including the VAST tag/url?

 

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.


Wayter

unread,
Jan 11, 2025, 6:38:26 PMJan 11
to IMA SDK, pineapp...@gmail.com, ima...@googlegroups.com
Hi
From: 'IMA SDK' via Interactive Media Ads SDK <ima...@googlegroups.com>
Sent: Friday, December 20, 2024 10:49:17 PM
To: pineapp...@gmail.com <pineapp...@gmail.com>
Cc: ima...@googlegroups.com <ima...@googlegroups.com>
Subject: 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 ima-sdk+u...@googlegroups.com.

IMA SDK

unread,
Jan 13, 2025, 9:46:02 AMJan 13
to wayt...@gmail.com, ima...@googlegroups.com, pineapp...@gmail.com
Hello,

If you are having an IMA issue related to this thread, please reply again with more details. If you are having a different issue, please feel free to open a new thread on the IMA technical forum.
Message has been deleted
Message has been deleted

pineapplevine1

unread,
Feb 3, 2025, 3:48:51 AM (7 days ago) Feb 3
to Interactive Media Ads SDK
Hello.

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 ---

IMA SDK

unread,
Feb 5, 2025, 9:58:08 AM (5 days ago) Feb 5
to ima...@googlegroups.com, wayt...@gmail.com, pineapp...@gmail.com
Hi all,

Jackson is out of office this week, and I am covering for him, until his return. I've received the demo files and am working on validating and debugging, using the process you described. It's taking a little longer than expected due to some increased support traffic this week, but I should have more information soon.

Thanks for your patience,

Greg Schoppe
IMA SDK Team

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

Thanks,
 
Google Logo
Greg Schoppe
IMA SDK Team


Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
 

 



Reply all
Reply to author
Forward
0 new messages