Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Unity Mediation ShowFailedException INTERNAL_ERROR

Discussion in 'Unity Ads & User Acquisition' started by Romeno, Aug 16, 2022.

  1. Romeno

    Romeno

    Joined:
    Jun 24, 2013
    Posts:
    34
    Hello,

    We integrated Unity Mediation recently and we are getting the exception from time to time.

    Code (CSharp):
    1. 2022-08-16 17:21:46.940 16591-16744/? E/Unity:  Unity.Services.Mediation.ShowFailedException: UnityAds show error with code (INTERNAL_ERROR) and message ([UnityAds] Timeout while trying to show Android_Rewarded_73f9a617_07ed_48ba_9516_f2f1422bf030)

    Full log:

    Code (CSharp):
    1.  
    2. 2022-08-16 17:20:51.260 16591-17441/? I/UnityAds: com.unity3d.services.core.api.Sdk.logInfo() (line:85) :: Increasing header bidding token start count to 1
    3. 2022-08-16 17:20:51.562 16591-17441/? I/UnityAds: com.unity3d.services.core.api.Sdk.logInfo() (line:85) :: Opening performance ad unit with orientation LANDSCAPE, hardware acceleration enabled
    4. 2022-08-16 17:20:51.906 16591-17441/? I/Timeline: Timeline: Activity_launch_request time:22131423 intent:Intent { flg=0x10010000 cmp=com.byril.stickmanarcher/com.unity3d.services.ads.adunit.AdUnitActivity (has extras) }
    5. 2022-08-16 17:20:51.941 2074-2702/? I/ActivityManager: START u0 {flg=0x10010000 cmp=com.byril.stickmanarcher/com.unity3d.services.ads.adunit.AdUnitActivity (has extras)} from uid 11026
    6. 2022-08-16 17:20:51.994 2074-2702/? E/ActivityTrigger: activityStartTrigger: not whiteListedcom.byril.stickmanarcher/com.unity3d.services.ads.adunit.AdUnitActivity/66
    7. 2022-08-16 17:20:52.001 2074-2702/? E/ActivityTrigger: activityResumeTrigger: not whiteListedcom.byril.stickmanarcher/com.unity3d.services.ads.adunit.AdUnitActivity/66
    8. 2022-08-16 17:20:52.217 16591-16744/? I/Unity:  ScheduleNotification title: Stickman Archer, body: Коробка разблокирована. Можно забрать награды!, channel: RewardCooldownChannelID, deliverTime: 16.08.2022 21:20:52
    9. 2022-08-16 17:20:52.225 16591-16744/? I/Unity:  ScheduleNotification title: Stickman Archer, body: Бесплатная награда уже в игре!, channel: RewardCooldownChannelID, deliverTime: 17.08.2022 17:15:52
    10. 2022-08-16 17:20:52.232 16591-16744/? I/Unity:  ScheduleNotification title: Stickman Archer, body: Тебя ждет битва на арене!, channel: ReminderChannelID, deliverTime: 19.08.2022 17:20:52
    11. 2022-08-16 17:20:52.240 16591-16744/? I/Unity:  ScheduleNotification title: Stickman Archer, body: Сможешь стать лучшим сегодня?!, channel: ReminderChannelID, deliverTime: 23.08.2022 17:20:52
    12. 2022-08-16 17:20:52.354 16591-16591/? W/Activity: Slow Operation: Activity com.byril.stickmanarcher/com.unity3d.player.UnityPlayerActivity onPause took 339ms
    13. 2022-08-16 17:20:52.355 2074-3665/? E/ActivityTrigger: activityResumeTrigger: not whiteListedcom.byril.stickmanarcher/com.unity3d.services.ads.adunit.AdUnitActivity/66
    14. 2022-08-16 17:20:54.633 16591-16591/? W/Activity: Slow Operation: Activity com.byril.stickmanarcher/com.unity3d.services.ads.adunit.AdUnitActivity onCreate took 547ms
    15. 2022-08-16 17:20:54.638 2074-2097/? W/WindowManager: Force clearing freeze: AppWindowToken{bc489ea token=Token{1b5ddd5 ActivityRecord{c7b28c u0 com.byril.stickmanarcher/com.unity3d.services.ads.adunit.AdUnitActivity t66}}}
    16. 2022-08-16 17:20:54.920 16591-16591/? W/Activity: Slow Operation: Activity com.byril.stickmanarcher/com.unity3d.services.ads.adunit.AdUnitActivity onResume took 265ms
    17. 2022-08-16 17:20:55.037 16591-16591/? W/Looper: Slow Looper main: Activity com.byril.stickmanarcher/com.unity3d.services.ads.adunit.AdUnitActivity is 1101ms late (wall=1095ms running=0ms ClientTransaction{ callbacks=[android.app.servertransaction.LaunchActivityItem] lifecycleRequest=android.app.servertransaction.ResumeActivityItem }) because of 12 msg, msg 1 took 855ms (late=1ms h=android.app.ActivityThread$H w=159), msg 2 took 117ms (late=1569ms h=android.view.Choreographer$FrameHandler c=android.view.Choreographer$FrameDisplayEventReceiver)
    18. 2022-08-16 17:20:56.564 2074-2097/? I/ActivityManager: Displayed com.byril.stickmanarcher/com.unity3d.services.ads.adunit.AdUnitActivity: +4s187ms
    19. 2022-08-16 17:20:56.568 2074-2097/? I/Timeline: Timeline: Activity_windows_visible id: ActivityRecord{c7b28c u0 com.byril.stickmanarcher/com.unity3d.services.ads.adunit.AdUnitActivity t66} time:22136083
    20. 2022-08-16 17:20:56.577 2074-2138/? I/WindowManager: Screen frozen for +4s208ms due to Window{5838251 u0 com.byril.stickmanarcher/com.unity3d.services.ads.adunit.AdUnitActivity}
    21. 2022-08-16 17:20:59.008 2074-2097/? W/WindowManager: Force clearing orientation change: Window{5838251 u0 com.byril.stickmanarcher/com.unity3d.services.ads.adunit.AdUnitActivity}
    22. 2022-08-16 17:20:59.019 2074-2138/? I/WindowManager: Screen frozen for +2s14ms due to Window{5838251 u0 com.byril.stickmanarcher/com.unity3d.services.ads.adunit.AdUnitActivity}
    23. 2022-08-16 17:21:00.420 1237-1237/? I/ExtendedNuUtils: printFileName fd(9) -> /storage/emulated/0/Android/data/com.byril.stickmanarcher/cache/UnityAdsCache/UnityAdsCache-ba914b305023c87aa58185356fd654338b6ccdf75f574ea9e4ca3e1cb1fd2786.webm
    24. 2022-08-16 17:21:00.819 16591-16591/? W/Looper: Slow Looper main: Activity com.byril.stickmanarcher/com.unity3d.services.ads.adunit.AdUnitActivity is 2644ms late (wall=130ms running=0ms ClientTransaction{ callbacks=[android.app.servertransaction.ActivityConfigurationChangeItem] }) because of 12 msg, msg 1 took 977ms (late=786ms h=android.view.Choreographer$FrameHandler c=android.view.Choreographer$FrameDisplayEventReceiver), msg 4 took 111ms (late=1383ms h=android.hardware.display.DisplayManagerGlobal$DisplayListenerDelegate w=2), msg 6 took 947ms (late=1173ms h=android.view.Choreographer$FrameHandler c=android.view.Choreographer$FrameDisplayEventReceiver), msg 7 took 196ms (late=2132ms h=android.os.Handler c=$Proxy2), msg 10 took 613ms (late=2094ms h=android.os.Handler c=com.unity3d.services.ads.api.VideoPlayer$2), msg 12 took 63ms (late=2728ms h=android.app.ActivityThread$H w=159)
    25. 2022-08-16 17:21:00.999 16591-16591/? W/Looper: Slow Looper main: doFrame is 2111ms late because of 13 msg, msg 1 took 947ms (late=1173ms h=android.view.Choreographer$FrameHandler c=android.view.Choreographer$FrameDisplayEventReceiver), msg 2 took 196ms (late=2132ms h=android.os.Handler c=$Proxy2), msg 5 took 613ms (late=2094ms h=android.os.Handler c=com.unity3d.services.ads.api.VideoPlayer$2), msg 7 took 63ms (late=2728ms h=android.app.ActivityThread$H w=159), msg 8 took 130ms (late=2644ms h=android.app.ActivityThread$H w=159)
    26. 2022-08-16 17:21:01.010 2074-2097/? I/Timeline: Timeline: Activity_windows_visible id: ActivityRecord{c7b28c u0 com.byril.stickmanarcher/com.unity3d.services.ads.adunit.AdUnitActivity t66} time:22140527
    27. 2022-08-16 17:21:06.338 2074-2281/? D/PerfShielderService: com.byril.stickmanarcher|com.byril.stickmanarcher/com.unity3d.services.ads.adunit.AdUnitActivity|221|22141238376970|221|0|1
    28. 2022-08-16 17:21:06.342 3333-5606/? W/MiuiPerfServiceClient: interceptAndQueuing:16591|com.byril.stickmanarcher|221|221|unknown|null|com.byril.stickmanarcher/com.unity3d.services.ads.adunit.AdUnitActivity|22141238376970|Slow main thread|1
    29. 2022-08-16 17:21:07.104 2074-2084/? D/PerfShielderService: com.byril.stickmanarcher|com.byril.stickmanarcher/com.unity3d.services.ads.adunit.AdUnitActivity|1246|22145896668062|1201|5|2
    30. 2022-08-16 17:21:07.104 2074-2084/? D/PerfShielderService: com.byril.stickmanarcher|com.byril.stickmanarcher/com.unity3d.services.ads.adunit.AdUnitActivity|243|22146477288478|243|2|1
    31. 2022-08-16 17:21:07.105 3333-5606/? W/MiuiPerfServiceClient: interceptAndQueuing:16591|com.byril.stickmanarcher|1246|1201|unknown|null|com.byril.stickmanarcher/com.unity3d.services.ads.adunit.AdUnitActivity|22145896668062|Slow issue draw commands|2
    32. 2022-08-16 17:21:07.105 3333-5606/? W/MiuiPerfServiceClient: interceptAndQueuing:16591|com.byril.stickmanarcher|243|243|unknown|null|com.byril.stickmanarcher/com.unity3d.services.ads.adunit.AdUnitActivity|22146477288478|Slow handle animation|1
    33. 2022-08-16 17:21:07.369 16591-17441/? I/UnityAds: com.unity3d.services.core.api.Sdk.logInfo() (line:85) :: Unity Ads event: sending start event to https://publisher-event.unityads.unity3d.com/events/v2/video/video_start/3468616/5f3a2da80fae0355731d16a9-62f5bd66de438ef38060a454
    34. 2022-08-16 17:21:08.127 2074-2084/? D/PerfShielderService: com.byril.stickmanarcher|com.byril.stickmanarcher/com.unity3d.services.ads.adunit.AdUnitActivity|692|22147559299571|634|5|3
    35. 2022-08-16 17:21:08.129 3333-5271/? W/MiuiPerfServiceClient: interceptAndQueuing:16591|com.byril.stickmanarcher|692|634|unknown|null|com.byril.stickmanarcher/com.unity3d.services.ads.adunit.AdUnitActivity|22147559299571|Slow issue draw commands|3
    36. 2022-08-16 17:21:11.186 2074-2923/? D/PerfShielderService: com.byril.stickmanarcher|com.byril.stickmanarcher/com.unity3d.services.ads.adunit.AdUnitActivity|454|22150522234622|163|5|9
    37. 2022-08-16 17:21:11.187 3333-5271/? W/MiuiPerfServiceClient: interceptAndQueuing:16591|com.byril.stickmanarcher|454|163|unknown|null|com.byril.stickmanarcher/com.unity3d.services.ads.adunit.AdUnitActivity|22150522234622|Slow issue draw commands|9
    38. 2022-08-16 17:21:12.693 16591-17441/? I/UnityAds: com.unity3d.services.core.api.Sdk.logInfo() (line:85) :: Unity Ads event: sending first_quartile event to https://publisher-event.unityads.unity3d.com/events/v2/video/first_quartile/3468616/5f3a2da80fae0355731d16a9-62f5bd66de438ef38060a454
    39. //publisher-event.unityads.unity3d.com/events/v2/video/midpoint/3468616/5f3a2da80fae0355731d16a9-62f5bd66de438ef38060a454
    40. 2022-08-16 17:21:28.284 2074-3919/? D/PerfShielderService: com.byril.stickmanarcher|com.byril.stickmanarcher/com.unity3d.services.ads.adunit.AdUnitActivity|334|22167353333835|334|0|1
    41. 2022-08-16 17:21:28.287 3333-5271/? W/MiuiPerfServiceClient: interceptAndQueuing:16591|com.byril.stickmanarcher|334|334|unknown|null|com.byril.stickmanarcher/com.unity3d.services.ads.adunit.AdUnitActivity|22167353333835|Slow main thread|1
    42. 2022-08-16 17:21:28.712 16591-17441/? I/UnityAds: com.unity3d.services.core.api.Sdk.logInfo() (line:85) :: Unity Ads event: sending third_quartile event to https://publisher-event.unityads.unity3d.com/events/v2/video/third_quartile/3468616/5f3a2da80fae0355731d16a9-62f5bd66de438ef38060a454
    43. 2022-08-16 17:21:30.479 2074-3919/? D/PerfShielderService: com.byril.stickmanarcher|com.byril.stickmanarcher/com.unity3d.services.ads.adunit.AdUnitActivity|213|22167798555293|213|5|1
    44. 2022-08-16 17:21:30.481 3333-5271/? W/MiuiPerfServiceClient: interceptAndQueuing:16591|com.byril.stickmanarcher|213|213|unknown|null|com.byril.stickmanarcher/com.unity3d.services.ads.adunit.AdUnitActivity|22167798555293|Slow issue draw commands|1
    45. 2022-08-16 17:21:36.554 16591-16591/? W/Looper: Slow Looper main: doFrame is 380ms late because of 4 msg, msg 1 took 318ms (late=53ms h=android.os.Handler c=com.unity3d.services.ads.api.AdUnit$1), msg 2 took 68ms (late=374ms h=android.os.Handler c=com.unity3d.services.ads.api.AdUnit$2)
    46. 2022-08-16 17:21:36.612 16591-17441/? I/UnityAds: com.unity3d.services.core.api.Sdk.logInfo() (line:85) :: Unity Ads event: sending view event to https://publisher-event.unityads.unity3d.com/events/v2/video/video_end/3468616/5f3a2da80fae0355731d16a9-62f5bd66de438ef38060a454
    47. 2022-08-16 17:21:38.613 2074-2147/? D/PerfShielderService: com.byril.stickmanarcher|com.byril.stickmanarcher/com.unity3d.services.ads.adunit.AdUnitActivity|821|22176107744196|391|0|8
    48. 2022-08-16 17:21:38.615 3333-5271/? W/MiuiPerfServiceClient: interceptAndQueuing:16591|com.byril.stickmanarcher|821|391|unknown|null|com.byril.stickmanarcher/com.unity3d.services.ads.adunit.AdUnitActivity|22176107744196|Slow main thread|8
    49. 2022-08-16 17:21:38.616 2074-2147/? D/PerfShielderService: com.byril.stickmanarcher|com.byril.stickmanarcher/com.unity3d.services.ads.adunit.AdUnitActivity|161|22176764112425|161|0|1
    50. 2022-08-16 17:21:38.617 3333-5271/? W/MiuiPerfServiceClient: interceptAndQueuing:16591|com.byril.stickmanarcher|161|161|unknown|null|com.byril.stickmanarcher/com.unity3d.services.ads.adunit.AdUnitActivity|22176764112425|Slow main thread|1
    51. 2022-08-16 17:21:44.452 16591-16591/? W/Activity: Slow Operation: Activity com.byril.stickmanarcher/com.unity3d.services.ads.adunit.AdUnitActivity onPause took 202ms
    52. 2022-08-16 17:21:44.456 2074-3814/? E/ActivityTrigger: activityResumeTrigger: not whiteListedcom.byril.stickmanarcher/com.unity3d.player.UnityPlayerActivity/66
    53. 2022-08-16 17:21:44.927 2074-2147/? D/PerfShielderService: com.byril.stickmanarcher|com.byril.stickmanarcher/com.unity3d.services.ads.adunit.AdUnitActivity|205|22183558748203|178|0|3
    54. 2022-08-16 17:21:44.928 2074-2147/? D/PerfShielderService: com.byril.stickmanarcher|com.byril.stickmanarcher/com.unity3d.services.ads.adunit.AdUnitActivity|308|22184062369349|308|0|1
    55. 2022-08-16 17:21:44.935 3333-5271/? W/MiuiPerfServiceClient: interceptAndQueuing:16591|com.byril.stickmanarcher|205|178|unknown|null|com.byril.stickmanarcher/com.unity3d.services.ads.adunit.AdUnitActivity|22183558748203|Slow main thread|3
    56. 2022-08-16 17:21:44.936 3333-5271/? W/MiuiPerfServiceClient: interceptAndQueuing:16591|com.byril.stickmanarcher|308|308|unknown|null|com.byril.stickmanarcher/com.unity3d.services.ads.adunit.AdUnitActivity|22184062369349|Slow main thread|1
    57. 2022-08-16 17:21:45.098 16591-24304/? D/UnityNotifications: Checking for invalid notification IDs still hanging around
    58. 2022-08-16 17:21:45.390 2074-2097/? I/Timeline: Timeline: Activity_windows_visible id: ActivityRecord{39df054 u0 com.byril.stickmanarcher/com.unity3d.player.UnityPlayerActivity t66} time:22184906
    59. 2022-08-16 17:21:46.067 16591-16744/? I/Unity:  Cancel All Notifications
    60. 2022-08-16 17:21:46.293 16591-16744/? W/Unity:  ~~~ UnityMediationAdUnitData: Ad with placement Shop_ad_reward failed to show. Error: AdNetworkError, Message: UnityAds show error with code (INTERNAL_ERROR) and message ([UnityAds] Timeout while trying to show Android_Rewarded_73f9a617_07ed_48ba_9516_f2f1422bf030)
    61. 2022-08-16 17:21:46.940 16591-16744/? E/Unity:  Unity.Services.Mediation.ShowFailedException: UnityAds show error with code (INTERNAL_ERROR) and message ([UnityAds] Timeout while trying to show Android_Rewarded_73f9a617_07ed_48ba_9516_f2f1422bf030)
    62.       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <00000000000000000000000000000000>:0
    63.       at OOOOOPOOPPPOOOOOPOOPPPPOPOPPPPOPPOOPOPPOOPPPOOP+OOOPPPOOPPOPPPOPOOOOOPPOOOPPPPOOOOPOOOPOOOOPPPO.MoveNext () [0x00000] in <00000000000000000000000000000000>:0
    64.       at System.Threading.ContextCallback.Invoke (System.Object state) [0x00000] in <00000000000000000000000000000000>:0
    65.       at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0
    66.       at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run () [0x00000] in <00000000000000000000000000000000>:0
    67.       at System.Action.Invoke () [0x000
    68. 2022-08-16 17:21:47.129 16591-16744/? I/Unity:  ---AnalyticsEvent ad_error
    69.     --User props:
    70.     customer_user_id = Xiaomi Redmi Note 5||jdjd
    71.     elo_number = 1225
    72.     player_level = 4
    73.     strength_number = 600
    74.     elo_level = 4
    75.     install_date = 16.08.2022 14:06:30
    76.     install_count = 1
    77.     coins = 13575
    78.     gems = 65
    79.     dust = 0
    80.     keys = 23
    81.     complaints_flag = 0
    82.     complaints_name = 0
    83.     launch_count = 1
    84.     adver_id = d8afefa4-c60b-4a9e-aeca-66457f910177
    85.     session_time = 493280
    86.     --Parameters:
    87.     ad_type = reward
    88.     placement = Shop_ad_reward
    89.     error = Error: AdNetworkError. Message: UnityAds show error with code (INTERNAL_ERROR) and message ([UnityA
    90. 2022-08-16 17:21:47.138 16591-17091/? I/AppMetrica: [com.byril.stickmanarcher] : [7432c645-xxxx-xxxx-xxxx-xxxxxxxx9abf] Event received: ad_error. With value: {"ad_type":"reward","placement":"Shop_ad_reward","error":"Error: AdNetworkError. Message: UnityAds show error with code (INTERNAL_ERROR) and message ([UnityA"}
    91. 2022-08-16 17:21:47.147 16591-16744/? I/Unity:  (*)(*)(*) WatchVideoBlockShop  SetState Loading
    92. 2022-08-16 17:21:58.396 16591-16744/? I/Unity:  *** MobileAdsManager:: Load ad requested ***
    93. 2022-08-16 17:21:58.400 16591-16744/? I/Unity:  ~~~ UnityMediationAdUnitData: ad load requested (AdState Unloaded SAAdState ShowError)
    94. 2022-08-16 17:21:58.400 16591-16744/? I/Unity:  ~~~ UnityMediationAdUnitData: Initiating ad load
    95. 2022-08-16 17:21:58.403 16591-16744/? I/Unity:  *** MobileAdsManager:: Loading new rewarded video... ***
    96. 2022-08-16 17:21:58.794 16591-17441/? I/UnityAds: com.unity3d.services.core.api.Sdk.logInfo() (line:85) :: Accessing header bidding token with access count 0
    97. 2022-08-16 17:22:01.779 16591-16744/? I/Unity:  *** MobileAdsManager:: Load ad requested ***
    98. 2022-08-16 17:22:01.779 16591-16744/? I/Unity:  *** MobileAdsManager:: Load request skipped (state is Loading) ***
    99. 2022-08-16 17:22:07.448 1237-30805/? I/ExtendedUtils: printFileName fd(10) -> /storage/emulated/0/Android/data/com.byril.stickmanarcher/cache/UnityAdsCache/UnityAdsCache-86b71a23dfae906bb0582d47b9973ec260dcb13924b6a73c042fb5337355f541.webm
    100. 2022-08-16 17:22:07.720 16591-17441/? I/UnityAds: com.unity3d.services.core.api.Sdk.logInfo() (line:85) :: Increasing header bidding token win count to 1
    101. 2022-08-16 17:22:07.760 16591-16744/? I/Unity:  ~~~ UnityMediationAdUnitData: Ad loaded
    102. 2022-08-16 17:22:07.781 16591-16744/? I/Unity:  ---AnalyticsEvent ad_loaded
    103.     --User props:
    104.     customer_user_id = Xiaomi Redmi Note 5||jdjd
    105.     elo_number = 1225
    106.     player_level = 4
    107.     strength_number = 600
    108.     elo_level = 4
    109.     install_date = 16.08.2022 14:06:30
    110.     install_count = 1
    111.     coins = 13575
    112.     gems = 65
    113.     dust = 0
    114.     keys = 23
    115.     complaints_flag = 0
    116.     complaints_name = 0
    117.     launch_count = 1
    118.     adver_id = d8afefa4-c60b-4a9e-aeca-66457f910177
    119.     session_time = 514165
    120.     --Parameters:
    121.     ad_type = reward
    122. 2022-08-16 17:22:07.786 16591-16744/? I/Unity:  (*)(*)(*) WatchVideoBlockShop  SetState Active
    123. 2022-08-16 17:23:01.788 16591-16744/? I/Unity:  *** MobileAdsManager:: Load ad requested ***
    124. 2022-08-16 17:23:01.788 16591-16744/? I/Unity:  *** MobileAdsManager:: Load request skipped (state is Loaded) ***
    125. 2022-08-16 17:24:01.802 16591-16744/? I/Unity:  *** MobileAdsManager:: Load ad requested ***
    126. 2022-08-16 17:24:01.803 16591-16744/? I/Unity:  *** MobileAdsManager:: Load request skipped (state is Loaded) ***
    127. 2022-08-16 17:25:01.869 16591-16744/? I/Unity:  *** MobileAdsManager:: Load ad requested ***
    128. 2022-08-16 17:25:01.873 16591-16744/? I/Unity:  *** MobileAdsManager:: Load request skipped (state is Loaded) ***
    129.  
    It seems that UnityAds is the provider of the Ads.

    The Ad actually shows correctly. But after full Ad view and after our testers return from Ad they get this error in the log and the reward callbacks are not popped so the user does not get any rewards for the Ad.

    Can you help us?
    We are using the most recent versions of Unity Mediation v0.5.1-preview.1, all the recent adapter versions: UnityAds dapater v0.5.0 and automatically instal UnityAds SDK version is 4.2.1