Vast and Media load timeout not changing in Android IMA SDK

321 views
Skip to first unread message

krackjack234

unread,
Nov 3, 2019, 2:20:15 AM11/3/19
to Interactive Media Ads SDK
Hi,

We are using IMA SDK plugin version 3.11.2 and trying to override the default values of vast and media timeout to 16s. However in the IMA SDK log, we see that its still set to 8secs

11-03 12:42:45.911 31126 31126 I SDK_LOG:ima.loader.AdsLoaderImpl: requestAds, processing internal request.
11-03 12:42:45.915 31126 31126 I SDK_LOG:ima.loader.SequentialAdsLoader: Enqueued new request.
11-03 12:42:45.921 31126 31126 I SDK_LOG:ima.loader.SequentialAdsLoader: Starting request from queue.
11-03 12:42:46.170 31126 31126 I SDK_LOG:ima.loader.AdSourceFactory: Creating WaterfallAdSource.
11-03 12:42:46.202 31126 31126 I SDK_LOG:VastAdSource: hasMoreAds, this.ads.length: 1 , this.currentAdIndex: -1 , this.numAdsSent: 0
11-03 12:42:46.272 31126 31126 I SDK_LOG:VastAdSource: getNextAd, this.currentAdSource: null
11-03 12:42:46.273 31126 31126 I SDK_LOG:VastAdSource: hasMoreAds, this.ads.length: 1 , this.currentAdIndex: -1 , this.numAdsSent: 0
11-03 12:42:46.274 31126 31126 I SDK_LOG:VastAdSource: processNextAd_, currentAdIndex: 0, ads.length: 1
11-03 12:42:46.274 31126 31126 I SDK_LOG:VastAdSource: Setting fallback index to session context: 0
11-03 12:42:46.275 31126 31126 I SDK_LOG:VastAdSource: processInlineAd, successCallback with 1 ads
11-03 12:42:46.276 31126 31126 I SDK_LOG:VastAdSource: hasMoreAds, this.ads.length: 1 , this.currentAdIndex: 0 , this.numAdsSent: 1
11-03 12:42:46.280 31126 31126 I SDK_LOG:ima.loader.AdsLoaderImpl: dispatchAdsLoadedSdkEvent_, ads.length: 1
11-03 12:42:46.306 31126 31126 I SDK_LOG:ima.adslist.AdBreak: Ad #0 loaded for ad break time: 0
11-03 12:42:46.308 31126 31126 I SDK_LOG:ima.adslist.AdBreak: Requesting next ad for time: 0
11-03 12:42:46.309 31126 31126 I SDK_LOG:ima.adslist.AdBreak: Playing next item and waiting for time:0.
11-03 12:42:46.312 31126 31126 I SDK_LOG:ima.managers.AdsManagerFactory: createAdsManagerFromAds_, adType: video
11-03 12:42:46.328 31126 31126 I SDK_LOG:ima.loader.SequentialAdsLoader: Starting request from queue.
11-03 12:42:46.450 31126 31126 I SDK_LOG:UrlReporter: Reporting urls for event : show_ad
11-03 12:42:54.270 31126 31126 I SDK_LOG:ima.vast.VideoAdEventTracker: dispatching event mediaLoadTimeout
11-03 12:42:54.346 31126 31126 I SDK_LOG:ima.managers.VastVideoAdsManager: Playback error: [object Object] AdError 402: VAST media file loading reached a timeout of 8 seconds.
11-03 12:42:54.347 31126 31126 I SDK_LOG:UrlReporter: Reporting urls for event : error
11-03 12:42:54.350 31126 31126 W SDK_LOG:ima.common.ErrorUtils: Error play dispatched: AdError 402: VAST media file loading reached a timeout of 8 seconds.
11-03 12:42:54.356 31126 31126 I SDK_LOG:ima.adslist.AdBreak: Ad play error for playTime:0, error: AdError 402: VAST media file loading reached a timeout of 8 seconds.
11-03 12:42:54.360 31126 31126 W SDK_LOG:ima.common.ErrorUtils: Error log dispatched: AdError 402: VAST media file loading reached a timeout of 8 seconds.


We are using the below code to set vast and media timeouts

adsRenderingSettings.setLoadVideoTimeout(16000);
request.setVastLoadTimeout(16000);


Can you please let us know the following:

1. How to set the timeout values correctly to increase video and vast load timeouts?
2. How to avoid 402 error during ad load? We see a lot of Ad buffering calls before 402 error is reported in AdError function.

Thanks in advance !



IMA SDK

unread,
Nov 4, 2019, 1:04:44 AM11/4/19
to biswa...@gmail.com, ima...@googlegroups.com

Hi there,

Thank you for reaching out to us and for sharing this information. As per checking, I don't see any issues on the codes that you've shared for both setLoadVideoTimeout and setVastLoadTimeout. With this, would you be able to implement these codes with our IMA SDK for Android advance example app, and see if you will encounter the same issue?

With regard to the 402 ad error, I would suggest checking out this VAST error documentation (refer to "402 Unable to download or timeout of MediaFile URI") for possible causes and recommended actions to resolve the issue.


Regards,
Sherwin Diesta
IMA SDK Team



ref:_00D1U1174p._5001UMudyc:ref
Reply all
Reply to author
Forward
Message has been deleted
0 new messages