Audio Ad with Android IMA-SDK

195 views
Skip to first unread message

Dinesh Singh

unread,
May 24, 2021, 7:32:35 AM5/24/21
to Interactive Media Ads SDK
Hi,

I have been working with audio ad to display feature like same as video ad like
UI components (Remaining Time, Skip Button, Learn more and others)

I have used code
Flow 1. 
adsDisplayContainer = imaSdkFactory.createAudioAdDisplayContainer(context)
adsDisplayContainer.adContainer = adView?.getAdUiContainer()


with this all is working fine, but UI components are missing,
If I use this container, all works as needed except components.

Flow 2.
adsDisplayContainer = imaSdkFactory.createAdDisplayContainer()
adsDisplayContainer.adContainer = adView.getAdUiContainer() 


As of the need, it's working, but callbacks are not synced.
If I use Flow 2:  then callbacks are not synched when app is in background for audio ad.
If I use Flow 1: then callbacks are synched when app in background for audio ad.



IMA SDK

unread,
May 24, 2021, 9:16:09 AM5/24/21
to ima...@googlegroups.com
Hi Dinesh,

Thank you for bringing this question to our attention. I was looking over our documentation here , and base on what I am seeing and within regards to what you have stated. We would suggest to use the second implementation.

Also when saying that the callbacks are not synched, can you give a bit more of a description of what you are seeing. As well as what you are expecting? We believe this is more of an affect of the audio being backgrounded and less to do with anything that you have done.

Regards,
Google Logo
William Pescherine
IMA SDK Team
 


ref:_00D1U1174p._5004Q2HD9Zz:ref

Dinesh Singh

unread,
May 24, 2021, 9:38:43 AM5/24/21
to Interactive Media Ads SDK
I am using 
adsDisplayContainer = imaSdkFactory.createAudioAdDisplayContainer(context)
adsDisplayContainer.adContainer = adView?.getAdUiContainer()

and this get displayed without any UI components and all AdEvents callbacks are received as ad is played no delay in any response in both case background or foreground

device-2021-05-24-185917.png

when using
adsDisplayContainer = imaSdkFactory.createAdDisplayContainer()
adsDisplayContainer.adContainer = adView.getAdUiContainer()


While using this container, I get to see, Ad Remaining time, which was not displayed in above container.

I get all callback when app in foreground, and no callback when app on background, once app come from background to foreground, all callbacks(AdEvents) are received at a time.
device-2021-05-24-190300.png


Is there any possibility to get work with second scenario having all components, and all callbacks to work as needed in foreground and background.

Google Ads Dependency: "com.google.android.gms:play-services-ads:19.1.0" 
Note: As of dependency, wont be able to update, this version is mandate for our application to work.

IMA SDK

unread,
May 24, 2021, 11:47:48 AM5/24/21
to ima...@googlegroups.com
Hi Dinesh,

Thank you for bring the additional information to our attention. I have brought this to our team. Once we get more feedback on this, we will be certain to pass it along to you.

Dinesh Singh

unread,
May 24, 2021, 12:11:36 PM5/24/21
to Interactive Media Ads SDK
Thank you, will be waiting for your reply.

Dinesh Singh

unread,
May 26, 2021, 1:45:01 AM5/26/21
to Interactive Media Ads SDK
Hi,

Can you please let know if any resolution on this.

IMA SDK

unread,
May 26, 2021, 4:58:35 AM5/26/21
to ima...@googlegroups.com

Hi Dinesh,

 

Thank you for coming back to us. As of the moment, the team have not given their feedback regarding the issue, but rest assured its actively being reviewed. We will be updating you the soonest we have our findings.

Regards,

Google Logo
Michael Angelo Legaspi
IMA SDK Team
 


ref:_00D1U1174p._5004Q2HD9Zz:ref

Aadesh Srivastava

unread,
May 31, 2021, 5:00:06 AM5/31/21
to Interactive Media Ads SDK
Hi Team,

Please help us out on this. Let me know if you have an update or a workaround for this.

IMA SDK

unread,
May 31, 2021, 6:48:28 AM5/31/21
to ima...@googlegroups.com

Hi there,

 

Thank you for coming back to us. The team is still looking into this. We will get back to you as soon as they provide their feedback.

Regards,

Aadesh Srivastava

unread,
Jun 3, 2021, 2:49:56 AM6/3/21
to Interactive Media Ads SDK
Following up on this.

Please suggest a way.

IMA SDK

unread,
Jun 3, 2021, 5:31:30 AM6/3/21
to ima...@googlegroups.com

Hi there,

 

I'm afraid that the team haven't shared their findings yet. Rest assured that they are actively working on this. We will update you the soonest they share the results of the investigation.

Regards,

Aadesh Srivastava

unread,
Jun 22, 2021, 6:18:44 AM6/22/21
to Interactive Media Ads SDK
Hi Team,

Any update?

IMA SDK

unread,
Jun 22, 2021, 2:02:59 PM6/22/21
to ima...@googlegroups.com
Hi there,

As of now there are no updates. You may monitor our blog for an update.

Regards,

Google Logo
Aryeh Baker
IMA SDK Team
 


ref:_00D1U1174p._5004Q2HD9Zz:ref
Reply all
Reply to author
Forward
0 new messages