Admob Rewarded Videos not showing on IOS

Hello,

I’ve been developing my game this whole time on android. I added several networks using sdkboxads (admob, adcolony, unity ads and chartboost). When i decided to switch to iOS. this same configuration did great job on iOS for all the previous networks. even Admob interstitials/banners were working. only Admob rewarded videos were not showing at all. the logs aren’t showing anything regarding this as well.

Can someone help?

Can you post your sdkbox config and version info?

$ sdkbox symbols

@yinjimmy can help with this.

SDKBOX version 2.4.0.3

sdkbox config :

{
    "ios": {
        "UnityAds": {
            "gameId": "UnityadsID",
            "testMode": true
        },
        "Fyber": {
            "debug": false,
            "token": "FyberToken",
            "id": "FyberID",
            "appid": "FyberID"
        },
        "SdkboxAds": {
            "units": [
                "AdMob",
                "UnityAds",
                "AdColony",
                "Chartboost"
            ],
            "placements": [
                {
                    "units": [
                        {
                            "weight": 80,
                            "name": "shop",
                            "unit": "AdMob"
                        },
                        {
                            "weight": 0,
                            "name": "rewardedVideo",
                            "unit": "UnityAds"
                        },
                        {
                            "weight": 0,
                            "name": "shop",
                            "unit": "AdColony"
                        },
                        {
                            "weight": 0,
                            "name": "shop",
                            "unit": "Chartboost"
                        }
                    ],
                    "id": "shop-placement",
                    "strategy": "weight"
                },
                {
                    "units": [
                        {
                            "weight": 100,
                            "name": "interstitial",
                            "unit": "AdMob"
                        },
                        {
                            "weight": 0,
                            "name": "video",
                            "unit": "UnityAds"
                        },
                        {
                            "weight": 0,
                            "name": "interstitial",
                            "unit": "AdColony"
                        },
                        {
                            "weight": 0,
                            "name": "interstitial",
                            "unit": "Chartboost"
                        }
                    ],
                    "id": "gameplay-placement",
                    "strategy": "weight"
                }
            ]
        },
        "AdMob": {
            "test": false,
            "ads": {
                "shop": {
                    "type": "rewarded_video",
                    "id": "ca-app-pub-3940256099942544/1712485313"
                },
                "banner": {
                    "width": 360,
                    "height": 51,
                    "is_designed_for_families": false,
                    "type": "banner",
                    "id": "ca-app-pub-3940256099942544/2934735716",
                    "alignment": "bottom"
                },
                "interstitial": {
                    "type": "interstitial",
                    "id": "ca-app-pub-3940256099942544/4411468910"
                }
            }
        },
        "Firebase": {},
        "OneSignal": {
            "project_number": "projNumber",
            "debug": true,
            "id": "firebaseID"
        },
        "Chartboost": {
            "ads": {
                "shop": {
                    "type": "rewarded_video"
                },
                "interstitial": {
                    "type": "interstitial"
                },
                "MoreApp": {
                    "type": "more_app"
                }
            },
            "cache": {
                "shop": true,
                "interstitial": true,
                "MoreApp": true
            },
            "id": "chartboostID",
            "signature": "chartboostSIGN"
        },
        "AdColony": {
            "debug": true,
            "id": "adcolonyID",
            "ads": {
                "shop": {
                    "v4vc": true,
                    "pre_popup": false,
                    "zone": "zoneID",
                    "post_popup": false
                },
                "interstitial": {
                    "v4vc": false,
                    "zone": "zoneID"
                }
            }
        },
        "Review": {
            "LaunchLimit": 3,
            "DayForReminding": 1,
            "tryPromptWhenInit": false,
            "DayLimit": 0,
            "LaunchForReminding": 2,
            "UserEventLimit": 0
        }
    }
}

Please note that i’m using the ad test units provided by AdMob. and i’ve given 0 weight to other for testing purposes obviously

UPDATE : I switched to iPhone 6s as a simulator phone, and it worked fir the first time. second time there was no video loaded at all. it only loaded once and that’s it. closed the app and relaunched again and no rewarded videos were shown.

I think this doesn’t have anything to do with the the similator device or the sdkbox setup (I saw it working at least once). it’s about admob not reloading video even if i’m urnning test ads which are supposed to always work.

any suggestions?

I got you, AdMob do not auto cache ad, and no ad load success/failed event.
Thanks for your feedback.

Is this confirmed as a bugg or is there’s some sort of a fix? @yinjimmy

plz update to plugin staging version.

sdkbox update --staging --forcedownload --forcecopy
  1. [AdMob] auto cache admob reward id when it closed.
  2. [AdMob] send sdkbox::AdActionType::LOADED and sdkbox::AdActionType::LOAD_FAILED event

Thanks,

I have a problem using the CLI as i have been using sdkbox using the installer.
the command sdkbox isn’t working for some reason, here’s the responce from terminal

users-Mac:~ user$ sdkbox -h
Traceback (most recent call last):
  File "monolith.py", line 2653, in <module>
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py", line 543, in getdefaultlocale
    return _parse_localename(localename)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py", line 475, in _parse_localename
    raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: UTF-8

SOLVED : i solved this issue by adding some exports commands to my bash_profile, the fix was discussed in this forum.

I updated my SDKBOX, still admob rewarded videos aren’t working as they supposed to.

any other suggestion?

whats the action type and logcat message?

the problem is that there’s no call at all to load admob banners (i’m using SDKBOX ADS), so in order to fix that, I manually requested to cache admob banners with PluginAdMob::cache();. this makes it that’s its requested on this call and even again after it’s used. but the problem is that most of reloads are failling with this method : LOAD_FAILED

So i’ve setup the callback to PluginAdMob::cache(); whenever i have LOAD_FAILED.

Still only like 1/6 times i have a succesfful banner loaded.

In previous sdkboxads version, you need to add banner to AdMob 's ‘cache’ field. For example:

.
From 2.4.1.0, SdkboxAds will cache plugins’ all ads, you will not need to add cache filed, safe to remove it.
Thanks,