ad redirect to webm format?

152 views
Skip to first unread message

Brian Chu

unread,
Jun 11, 2015, 5:01:35 PM6/11/15
to ima...@googlegroups.com
I am using this link for ad in the IMA (and GMF) example app

http://pubads.g.doubleclick.net/gampad/ads?sz=640x360&iu=/6062/iab_vast_samples/skippable&ciu_szs=300x250,728x90&impl=s&gdfp_req=1&env=vp&output=xml_vast2&unviewed_position_start=1&url=[referrer_url]&correlator=[timestamp]



For IMA, it pause for few seconds and then the ad appears correctly. Looking at the log, I saw:


I/ImaExample(12748): Event: LOADED

I/ImaExample(12748): Event: CONTENT_PAUSE_REQUESTED

V/MediaPlayer-JNI(12748): native_setup

V/MediaPlayer(12748): constructor

V/MediaPlayer(12748): setListener

V/MediaPlayer-JNI(12748): get_session_id()

I/MediaPlayer(12748): path is null

D/MediaPlayer(12748): setDataSource IOException happend :

D/MediaPlayer(12748): java.io.FileNotFoundException: No content provider: https://redirector.gvt1.com/videoplayback/id/8bd2c53a3e15469d/itag/43/source/gfp_video_ads/requiressl/yes/ip/0.0.0.0/ipbits/0/expire/1434077857/sparams/ip,ipbits,expire,id,itag,source,requiressl/signature/9E7D82CC561FB3A6D8B2683061245F861DEFA2F3.68EC401C318F866F21FA2349061284D039C9331D/key/ck2/file/file.webm

D/MediaPlayer(12748):   at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:1053)

D/MediaPlayer(12748):   at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:907)

D/MediaPlayer(12748):   at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:834)

D/MediaPlayer(12748):   at android.media.MediaPlayer.setDataSource(MediaPlayer.java:992)

D/MediaPlayer(12748):   at android.widget.VideoView.openVideo(VideoView.java:338)

D/MediaPlayer(12748):   at android.widget.VideoView.setVideoURI(VideoView.java:248)

D/MediaPlayer(12748):   at android.widget.VideoView.setVideoURI(VideoView.java:238)

D/MediaPlayer(12748):   at android.widget.VideoView.setVideoPath(VideoView.java:234)

D/MediaPlayer(12748):   at com.google.ads.interactivemedia.v3.samples.videoplayerapp.VideoPlayerWithAdPlayback$1.loadAd(VideoPlayerWithAdPlayback.java:91)

D/MediaPlayer(12748):   at com.google.ads.interactivemedia.v3.impl.y.a(IMASDK:102)

D/MediaPlayer(12748):   at com.google.ads.interactivemedia.v3.impl.v.e(IMASDK:462)

D/MediaPlayer(12748):   at com.google.ads.interactivemedia.v3.impl.v.a(IMASDK:288)

D/MediaPlayer(12748):   at com.google.ads.interactivemedia.v3.impl.w.b(IMASDK:126)

D/MediaPlayer(12748):   at com.google.ads.interactivemedia.v3.impl.w$1.shouldOverrideUrlLoading(IMASDK:54)

D/MediaPlayer(12748):   at com.android.webview.chromium.WebViewContentsClientAdapter.shouldOverrideUrlLoading(WebViewContentsClientAdapter.java:293)

D/MediaPlayer(12748):   at com.android.org.chromium.android_webview.AwContentsClientBridge.shouldOverrideUrlLoading(AwContentsClientBridge.java:96)

D/MediaPlayer(12748):   at com.android.org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)

D/MediaPlayer(12748):   at com.android.org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:27)

D/MediaPlayer(12748):   at android.os.Handler.dispatchMessage(Handler.java:102)

D/MediaPlayer(12748):   at android.os.Looper.loop(Looper.java:146)

D/MediaPlayer(12748):   at android.app.ActivityThread.main(ActivityThread.java:5487)

D/MediaPlayer(12748):   at java.lang.reflect.Method.invokeNative(Native Method)

D/MediaPlayer(12748):   at java.lang.reflect.Method.invoke(Method.java:515)

D/MediaPlayer(12748):   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)

D/MediaPlayer(12748):   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)

D/MediaPlayer(12748):   at dalvik.system.NativeStart.main(Native Method)

D/MediaPlayer(12748): Couldn't open file on client side, trying server side

V/MediaPlayerService(  174): Create new client(3) from pid 12748, uid 10190,

I/MediaPlayerFactory(  174): Create NuPlayer

I/MediaPlayerService(  174): Setting player type to NuPlayer


So, does it mean the ad is not available in a format and so it falls back to other format? 


For that, is there supposed an event send out from IMA? If yes, what will that be? Because it doesn't look like GMF is handling that well.


Thanks in advance.

Message has been deleted

Brian Chu

unread,
Jun 11, 2015, 5:21:54 PM6/11/15
to ima...@googlegroups.com
The link doesn't show up inside this forum. I attach a file with the link and log.
BTW, this problem happens when running on S4 with android IMA SDK b11. Galaxy S5,S6 runs okay.
log.txt

Tyler Sidell (IMA SDK Team)

unread,
Jun 12, 2015, 3:24:26 PM6/12/15
to ima...@googlegroups.com
Hi Brian,

There is no specific event that gets fired to handle this situation.  These are the standard events that get fired by the Android SDK.

However, the SDK does pick which media file is able to play on the current platforms.  You can prioritize certain formats manually by using the AdsRenderingSettings.setMimeTypes API method.  You can then pass the AdsRenderingSettings object into AdsManager.init().

Let me know if you have any further questions.

Thanks,
Tyler Sidell
IMA SDK Team
Reply all
Reply to author
Forward
0 new messages