IMA SDK ANDROID GET ERROR INTERNAL_ERROR,

64 views
Skip to first unread message

Tuấn Phạm Đình

unread,
Sep 30, 2024, 5:39:32 AMSep 30
to Interactive Media Ads SDK
Hi team
I am implementing IMA SDK with string xml, this is string xml
<?xml version="1.0" encoding="UTF-8"?>
<Vast version="4.0"
xmlns="http://www.iab.com/VAST"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<Ad id="26">
<InLine>
<AdSystem>TouchGift-Delivery</AdSystem>
<AdTitle>動画広告</AdTitle>
<Description>
<![CDATA[External - Single Inline Linear Skippable ad]]>
</Description>
<Impression>
<![CDATA[https://ev.retail.tpocdm.de/v1/ev?ev=imp&org_code=ss&ad_id=26&campaign_id=18&request_id=crt1n13a5bacq6huacq0&visitor_uuid=f84b0f5b-ba67-401b-ba0c-16c93f402c54]]>
</Impression>
<Creatives>
<Creative id="26">
<Linear>
<Duration>00:00:00</Duration>
<TrackingEvents>
<Tracking event="view" offset="00:00:03">
<![CDATA[https://ev.retail.tpocdm.de/v1/ev?ev=view&org_code=ss&ad_id=26&campaign_id=18&request_id=crt1n13a5bacq6huacq0&visitor_uuid=f84b0f5b-ba67-401b-ba0c-16c93f402c54]]>
</Tracking>
</TrackingEvents>
<VideoClicks>
<ClickThrough>
<![CDATA[https://image.retail.tpocdm.de/video/cvtbp5rdry8004gave9g.mp4]]>
</ClickThrough>
</VideoClicks>
<MediaFiles>
<MediaFile id="26" delivery="progressive" type="video/mp4" width="1280" height="720" scalable="true">
<![CDATA[https://image.retail.tpocdm.de/video/cvtbp5rdry8004gave9g.mp4]]>
</MediaFile>
</MediaFiles>
</Linear>
<CompanionAds>
<Companion id="26" width="1280" height="869">
<StaticResource creativeType="image/jpeg">
<![CDATA[https://image.retail.tpocdm.de/endcard/cvtbp60dry8004gavea0.jpg]]>
</StaticResource>
<CompanionClickThrough></CompanionClickThrough>
</Companion>
</CompanionAds>
</Creative>
</Creatives>
</InLine>
<Skip>6s</Skip>
<ClickEvent>
<![CDATA[https://ev.retail.tpocdm.de/v1/ev?ev=cl&org_code=ss&ad_id=26&campaign_id=18&request_id=crt1n13a5bacq6huacq0&visitor_uuid=f84b0f5b-ba67-401b-ba0c-16c93f402c54]]>
</ClickEvent>
</Ad>
</Vast>

sometimes i get the error below :
AdError [errorType: LOAD, errorCode: AdErrorCode [name: INTERNAL_ERROR, number: -1], message: Request not found for session id: 548e27ae-ffb2-4a9
at com.google.ads.interactivemedia.v3.impl.zzv.zzc(com.google.ads.interactivemedia.v3:interactivemedia@@3.35.0:3)
at com.google.ads.interactivemedia.v3.impl.zzaz.zzn(com.google.ads.interactivemedia.v3:interactivemedia@@3.35.0:73)
at com.google.ads.interactivemedia.v3.impl.zzbj.zzh(com.google.ads.interactivemedia.v3:interactivemedia@@3.35.0:7)
at com.google.ads.interactivemedia.v3.impl.zzbf.onPostMessage(com.google.ads.interactivemedia.v3:interactivemedia@@3.35.0:2)
at androidx.webkit.internal.WebMessageListenerAdapter.onPostMessage(WebMessageListenerAdapter.java:55)
at java.lang.reflect.Method.invoke(Native Method)
at org.chromium.support_lib_boundary.util.BoundaryInterfaceReflectionUtil$InvocationHandlerWithDelegateGetter.invoke(BoundaryInterfaceReflect
at java.lang.reflect.Proxy.invoke(Proxy.java:1006)
at $Proxy14.onPostMessage(Unknown Source)
at WV.dX.run(chromium-TrichromeWebViewGoogle6432.aab-stable-661314633:101)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7842)

please help me.
Thanks

IMA SDK

unread,
Sep 30, 2024, 4:26:48 PMSep 30
Hi,

Thank you for contacting IMA SDK support team.

Upon reviewing your shared XML in IMA VSI, I found no issues with ad rendering. It might be showing due to internet connectivity issue. There was a problem requesting ads from the server. Refer to AdError.AdErrorCode.

Should you encounter any difficulties, please provide a sample project to facilitate further investigation.

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=5004Q00002vGbHGQA0&entry.80707362=00270041

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. 

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

Thanks,
 
Google Logo IMA SDK Team


Tuấn Phạm Đình

unread,
Oct 1, 2024, 4:21:25 AMOct 1
to IMA SDK, [email protected]
 Hi Team
I have uploaded the project into the driver.
You can check inside MainActivity with showAdsVideo function (use demo xml)
note: Note: the error does not occur frequently.
Thanks

Vào Th 3, 1 thg 10, 2024 vaÌ€o lúc 03:26 IMA SDK <[email protected]> đã viết:

IMA SDK

unread,
Oct 1, 2024, 6:54:47 AMOct 1
Hi,

We haven't received the files uploaded into driver. Can you please re-share?

You can provide the requested details via reply privately to the author option or directly provide it to the link below.

Tuấn Phạm Đình

unread,
Oct 4, 2024, 7:11:43 AMOct 4
to IMA SDK, [email protected]

Vào Th 3, 1 thg 10, 2024 vaÌ€o lúc 17:54 IMA SDK <[email protected]> đã viết:

Tuấn Phạm Đình

unread,
Oct 14, 2024, 7:13:17 AMOct 14
to IMA SDK, [email protected]
Hi Team
I fixed that error by reloading ads. however when testing I got crash error:
  java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.Object java.util.Map.put(java.lang.Object, java.lang.Object)' on a null object reference
    	at com.google.ads.interactivemedia.v3.impl.zzba.zzi(com.google.ads.interactivemedia.v3:interactivemedia@@3.35.1:3)
    	at com.google.ads.interactivemedia.v3.impl.zzy.zzr(com.google.ads.interactivemedia.v3:interactivemedia@@3.35.1:15)
    	at com.google.ads.interactivemedia.v3.impl.zzn.run(com.google.ads.interactivemedia.v3:interactivemedia@@3.35.1:1)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
    	at java.lang.Thread.run(Thread.java:1012)
Please help me.
Thanks


Vào Th 4, 2 thg 10, 2024 vaÌ€o lúc 08:03 Tuấn Phạm Đình <[email protected]> đã viết:

IMA SDK

unread,
Oct 16, 2024, 5:28:46 PMOct 16
Hi,

Upon reviewing your shared source code, I have been unable to reproduce the reported crash issue. Ads are loading correctly on my end. I have observed ad error warnings only, which appear to be related to integration, as ads are still loading.

Furthermore, I have checked the Google Sample Code and have not encountered any crashes or ad error warnings. Kindly attempt to replicate the crash issue using your VAST tag within the Google Sample Code. If you are able to reproduce the crash in Google Sample Code, kindly provide detailed steps to reproduce the issue, including a screen recording if possible.

Thanks
Reply all
Reply to author
Forward
0 new messages