Long ad request loading times

630 views
Skip to first unread message

Adrian Rodriguez

unread,
Jul 13, 2017, 4:47:18 PM7/13/17
to Interactive Media Ads SDK
We are seeing a lot of very slow loading times for ads.
From the time we do:

adsLoader.requestAds(request);

To the moment we get:

onAdsManagerLoaded()

...can sometimes take up to one minute. 

The recently introduced:
request.setVastLoadTimeout(AD_REQUEST_TIMEOUT);
does not seem to affect the request.

In between these two events we see some logs from the IMA SDK:

E/IMASDK: Received displayContainer message: hide for invalid session id: 59436454-5318-47bc-a391-ff6c13a94848
W/IMASDK: Invalid internal message, ignoring. Please make sure the Google IMA SDK library is up to date. Message: gmsg://afma.google.com/activityMonitor?type=getPageSignals&sid=cf06c76f-a557-4c78-a560-

And...
Using the IMA SDK v 3.7.4

Regards, 
Adrian

Adrian Rodriguez

unread,
Jul 13, 2017, 4:47:59 PM7/13/17
to Interactive Media Ads SDK
Forgot to mention I'm referring to the ANDROID SDK

Adrian Rodriguez

unread,
Jul 13, 2017, 5:28:06 PM7/13/17
to Interactive Media Ads SDK
Another question I have, what is the proper way to dispose the ad break when in between this state.

Already called
adsLoader.requestAds(request);

and waiting for:
onAdsManagerLoaded();

User is tired and closes the video player. How is the clean up of the adsLoader done? Because I think after this happens, is when the IMA SDK starts to get problems to load ads.

Joshua Lagonera (IMA SDK Team)

unread,
Jul 14, 2017, 2:02:16 AM7/14/17
to Interactive Media Ads SDK
Hi Adrian,

Can you provide us the Ad Tag that you are using so we may check on our end? Additionally, are you able to see the same behavior when using our sample apps? I would like to include this official documentation link on Reducing Latency for your additional reference.

As for your second concern, you can call contentComplete() on the AdsLoader object to signal the SDK that all content has finished. Make sure to also destroy all your AdManagers.

Regards,
Joshua Lagonera
IMA SDK Team

Adrian Rodriguez

unread,
Jul 14, 2017, 10:31:13 AM7/14/17
to Interactive Media Ads SDK

Adrian Rodriguez

unread,
Jul 14, 2017, 10:48:10 AM7/14/17
to Interactive Media Ads SDK
And I still keep getting messages like:

W/IMASDK: Invalid internal message, ignoring. Please make sure the Google IMA SDK library is up to date. Message: gmsg://afma.google.com/activityMonitor?type=getPageSignals&sid=701247fc-0c0e-4f2a-a664-8e89d15426db&dt=1500043591712

Even when I'm using the latest SDK. (3.7.4)

Joshua Lagonera (IMA SDK Team)

unread,
Jul 17, 2017, 4:26:49 AM7/17/17
to Interactive Media Ads SDK
Hi Adrian,

Thanks for providing the Ad Tag. I was not able to replicate the behavior you are describing when I tried it on our sample apps as the ads load in around 2-3 seconds on my end. It may most likely be an issue with your network, or possibly something specific with your device that is causing the long load times. Would you be able to try it on other network connections or other devices and check if you can still see the same behavior?

For the error about the latest SDK, you can safely ignore that error.

Regards,
Joshua Lagonera
IMA SDK Team

Joshua Lagonera (IMA SDK Team)

unread,
Jul 27, 2017, 3:26:07 AM7/27/17
to Interactive Media Ads SDK
Hi Adrian,

Are you still seeing the issue? Please let us know if you would still require assistance on your issue.

Regards,
Joshua Lagonera
IMA SDK Team

On Friday, July 14, 2017 at 10:48:10 PM UTC+8, Adrian Rodriguez wrote:
Reply all
Reply to author
Forward
Message has been deleted
0 new messages