Can't get Reward Ads with TestAds banner (DummyAdapter)

183 views
Skip to first unread message

Poppyto Pyto

unread,
Jul 4, 2018, 1:07:40 PM7/4/18
to Google Mobile Ads SDK Developers
Hi,

I'm trying to make work Reward ads with the IOS sample "RewardedVideoExample" on my device iPhone 6S but it doesn't show anything and in the log :

"Cannot find an ad network adapter with the name(s): com.google.DummyAdapter. Remember to link all required ad network adapters and SDKs, and set -ObjC in the 'Other Linker Flags' setting of your build target."

Is there any problem with Test ads (ca-app-pub-3940256099942544/1712485313) on real devices ?

BTW: The same code works on simulator.


Regards
Stephane






From Charles Proxy :

GET /mads/gma?os_version=11.3.0&u_sso=any&ios_base_sdk=11.3&rbv=1&platform=iPhone&request_id=3&app_name=1.0.0.iphone.fr.webrox.RewardedVideoExample&u_mwsso=any&u_so=p&js=afma-sdk-i-v7.31.0&is_arr=false&ios_app_volume=1&is_other_audio_playing=0&sai=1&ios_output_volume=1&ios_current_boot_timestamp_ms=5013650992.1779995&eid=318477470%2C318480919&request_origin=pub&ms=_vFCgRaXNTYFNkn6lf1EAHZiOEYXp1k_vfNVH50pXv7UpLYuVtCV3y9AZTwY3URt5xS4j3WNpdHFaBwVYvFOwYThikm9d1JYn7Kee8VnZ5FbxM079BmMHxGsm7lGsaQGKeATkQx7Axr1IxXH7ndsf4WzDuerbaIINQ7kpDXTiul3luDr3HZaoioWyPaW7yUQAJYydZrYUV6hWFttM3hcTtqA28vW0RWgY9cIes5VWOIMH0iY2kNTtWWlZPT09jnJQNZyePQmyJxFbEqnVcv9j7kwpB0KQS8MJBEAugTBmB4IjsjyQ9iOHZjoDIKL5wog86jlEsNTN2mcDUjahDj__w&hl=fr&u_sd=2&ios_key_window_w=375&cap_noiap=0&cellular_country_code=208&u_w=375&format=interstitial_mb&ios_radio=CTRadioAccessTechnologyLTE&u_h=667&submodel=iPhone8%2C1&ios_key_window_h=667&net=wi&ios_app_muted=0&binary_arch=arm64&cellular_network_code=01&_c_csdk_npa_o=false&_ad_b=0x0&_package_name=fr.webrox.RewardedVideoExample&an=1.0.0.iphone.fr.webrox.RewardedVideoExample&u_audio=0&output=html®ion=mobile_app&u_tz=120&client_sdk=1&ex=1&client=ca-app-pub-3940256099942544&slotname=1712485313&adtest=on&_hl=fr-fr&gsb=wi&num_ads=1&vpt=8&vfmt=18&vst=0&sdkv=o.7.31.0&sdmax=0&dmax=1&sdki=3c0d&caps=interactiveVideo_inlineVideo_mraid1_mraid2_th_autoplay_mediation_av_sdkAdmobApiForAds_di_transparentBackground_sdkVideo_aso_sfv_dinm_dim_nav_navc_ct_dinmo_gls_ipdof_gcache&swdr=false&cap=a&blockAutoClicks=true&forceHttps=true&includeDoritos=true&tcar=2&jsv=4-production-sdk_20180627_RC01&urll=1629 HTTP/1.1
Host googleads.g.doubleclick.net
Accept */*
Cookie IDE=AHWqTUmpraCL29lJW5i3woZvdaanGmMQVp081Td-MgIUFjwbojnQACGpZ90xCedJ
User-Agent Mozilla/5.0 (iPhone; CPU iPhone OS 11_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E216
Accept-Language fr-fr
Accept-Encoding br, gzip, deflate
Connection keep-alive




{
"ad_type": "interstitial",
"qdata": "x",
"ad_networks": [{
"adapters": ["com.google.DummyAdapter"],
"id": ""
}],
"settings": {
"click_urls": ["@gw_adnetid@"],
"imp_urls": [],
"nofill_urls": ["https:\/\/pagead2.googleadservices.com\/pagead\/adview?ai=Cyg-7z_w8W8C_CMfYbbOnmcgF-cnapgXR74W6kgEAEAggwuzcIGD74ZKDuAqIAQGpAgAAAACAhC5BqAMBqgQZT9C9wfMPsBY9MJcs9y3R0pFHzj_JZG0W2ZAGAcAGC4AHgfipMJgHAdIICQiM44AQEAEYAg\u0026sigh=fw_VAofqfMg\u0026cid=CAASBORoBIs\u0026gvr=1", "https:\/\/googleads.g.doubleclick.net\/pagead\/conversion\/?ai=Cyg-7z_w8W8C_CMfYbbOnmcgF-cnapgXR74W6kgEAEAggwuzcIGD74ZKDuAqIAQGpAgAAAACAhC5BqAMBqgQZT9C9wfMPsBY9MJcs9y3R0pFHzj_JZG0W2ZAGAcAGC4AHgfipMJgHAdIICQiM44AQEAEYAg\u0026sigh=ZIJ2TmRSDic\u0026label=admob_mediation_request_fill_result\u0026mediation_fill_status=@gw_adnetstatus@\u0026cid=CAASBORoBIs"],
"rewards": [{
"rb_type": "coins",
"rb_amount": 10
}]
}
}

mobileadssdk-a...@google.com

unread,
Jul 5, 2018, 3:20:24 AM7/5/18
to Poppyto Pyto, Google Mobile Ads SDK Developers
Hi Stephane,

Thank you for the details provided.

This is indeed odd because sample Ad Unit Ids should always load test ads. That said, since you were able to load test Rewarded Ads in an iOS simulator, then the issue might be specific to your iPhone 6S device. Given this, I tested our RewardedVideoExample app and I was able to load test Ads both in an iOS simulator and in an actual iOS device (iPod touch).

Could you check if Limit Ad Tracking (Go to Settings > Privacy > Advertising) is enabled in your iPhone 6S because enabling this setting could affect serving of Rewarded Ads in your device?

I also tried this with an actual iOS device (iPod touch) and Rewarded Ads stopped serving as well after enabling Limit Ad Tracking and I get similar "DummyAdapter" error.

Regards,
Ivan Bautista
Mobile Ads SDK Team

Poppyto Pyto

unread,
Jul 5, 2018, 3:40:23 AM7/5/18
to Google Mobile Ads SDK Developers
Hi Ivan,

Thank you for your answer.
Limit Ad Tracking were deactivated in my iPhone settings.
I activated them => not working (normal)
I deactivated them => working now ! Hourra !

If it can help you I compared the non working (left) and working (right) requests here : 



It seems my Ad-id (ms) has been reseted when I activated then deactivated Limit Ad ?

I also have a question, are real rewards will work for people who activated Limit Ad Tracking ?

Thank you very much
Stephane

mobileadssdk-a...@google.com

unread,
Jul 5, 2018, 5:38:01 AM7/5/18
to Poppyto Pyto, Google Mobile Ads SDK Developers
Hi Stephane,

I'm glad that you are now able to display Rewarded Ads after disabling Limit Ad Tracking. Below are my responses to your follow-up questions.

It seems my Ad-id (ms) has been reseted when I activated then deactivated Limit Ad ?
Deactivating Limit Ad Tracking does have an impact on the ad id, however, let me clarify this with the team and I'll get back to you for more details. 

I also have a question, are real rewards will work for people who activated Limit Ad Tracking ?
Currently, I'm afraid rewarded ads can only serve if Limit Ad Tracking is turned off. 

Poppyto Pyto

unread,
Jul 5, 2018, 9:06:51 AM7/5/18
to Google Mobile Ads SDK Developers


Le jeudi 5 juillet 2018 11:38:01 UTC+2, mobileadssdk-a...@google.com a écrit :
Hi Stephane,

I'm glad that you are now able to display Rewarded Ads after disabling Limit Ad Tracking. Below are my responses to your follow-up questions.

It seems my Ad-id (ms) has been reseted when I activated then deactivated Limit Ad ?
Deactivating Limit Ad Tracking does have an impact on the ad id, however, let me clarify this with the team and I'll get back to you for more details. 

Ok

 
I also have a question, are real rewards will work for people who activated Limit Ad Tracking ?
Currently, I'm afraid rewarded ads can only serve if Limit Ad Tracking is turned off. 

Ok I will handle it.

By The way, when the phone is on airplane mode or without connectivity,
the method "didFailToLoadWithError" is never fired (the similar method is fired on Android ie.onRewardedVideoAdFailedToLoad when there's no connectivity), is there any trick ?


Stephane

mobileadssdk-a...@google.com

unread,
Jul 5, 2018, 11:36:38 PM7/5/18
to Poppyto Pyto, Google Mobile Ads SDK Developers
Hi Stephane,

Do you mean to say that "didFailToLoadWithError" was never fired when ads failed to load while on airplane mode or without connectivity? If so, assuming that the Ad events are implemented correctly, then the behavior you've encountered is odd because that delegate method should be called everytime ads failed to load regardless of the reason.

That said, I tried loading ads on my iOS device (iPod Touch) while on airplane mode and also when all network connection is turned off, and the didFailToLoadWithError was fired on my end for both scenarios. For testing purposes, could you try sending an Ad Request with an invalid/incorrect Ad Unit Id? This should cause the Ad Request to fail and thus, should trigger the didFailToLoadWithError.

Poppyto Pyto

unread,
Jul 6, 2018, 8:14:39 AM7/6/18
to Google Mobile Ads SDK Developers
Hello Ivan,

it seems everything works today (I didn't updated my code though) but I may have an issue with XCode yesterday.
Thank for your help :)

Stephane
Reply all
Reply to author
Forward
0 new messages