question

Justin Taylor Kiffiak avatar image
Justin Taylor Kiffiak asked

No Test Ads- Please help me decipher my logcat details

Hi, I'm about to go to a different ad solution for my next android project... I'm hoping (though) to implement Amazon Ads, if possible. So, I've loaded the basic unity package for Amazon mobile ads into my Unity project, and build the project, and have tried to use the test "key" or my actual Amazon Application Key within the coding for the sample project, and built 2 different builds. Now, I"m in the Himalayas currently, with the IP: 202.144.131.18 and trying to pull up the test ads, whether banner or interstitial, I don't care. I have also tried to run the app, using a US & UK VPN on the phone, although, this isn't supposed to make a difference for test ads... Each time, I tried to "Load Banner Ad", it waits a little while, and then tells me:"Banner Ad Load Failed" (Same for interstitials) Looking at the LogCat details, I see this: (14297): No AdResponse found, I/Ads (14297): onFailedToReceiveAd(Ad request successful, but no ad returned due to lack of ad inventory.) I/Ads (14297): onFailedToReceiveAd(Ad request successful, but no ad returned due to lack of ad inventory.) W/ViewRootImpl(14297): Window type can not be changed after the window is added; ignoring change of com.android.internal.policy.impl.PhoneWindow$DecorView{41efd3b0 V.E..... R.....ID 0,0-480,854} W/ViewRootImpl(14297): Window type can not be changed after the window is added; ignoring change of com.android.internal.policy.impl.PhoneWindow$DecorView{41efd3b0 V.E..... R.....I. 0,0-480,854} W/ViewRootImpl(14297): Window type can not be changed after the window is added; ignoring change of com.android.internal.policy.impl.PhoneWindow$DecorView{41efd3b0 V.E..... R.....ID 0,0-480,854} I/Ads (15677): To get test ads on this device, call adRequest.addTestDevice("109EBA3033B0745E18C8160EFD31CECD"); I/Ads (15677): adRequestUrlHtml: D/libc-netbsd(15677): getaddrinfo: media.admob.com get result from proxy >> I/Ads (15677): To get test ads on this device, call adRequest.addTestDevice("109EBA3033B0745E18C8160EFD31CECD"); I/Ads (15677): adRequestUrlHtml: W/ViewRootImpl(15677): Window type can not be changed after the window is added; ignoring change of com.android.internal.policy.impl.PhoneWindow$DecorView{41e13048 V.E..... R.....ID 0,0-0,0} E/ActivityThread(15677): Failed to find provider info for com.google.android.gms.ads.adinfo E/webkit (15677): Exception: content://com.google.android.gms.ads.adinfo/any.gif W/Ads (15677): No AdResponse found, D/WebRequest(15677): request error: -302 I/Ads (15677): Received ad url: <"url": "http://googleads.g.doubleclick.net:80/mads/gma?preqs=0&u_sd=1.5&u_w=320&msid=com.adb.logcat.logging.send&js=afma-sdk-a-v4.3.1&mv=80250010.com.android.vending&cipa=0&format=320x50_mb&net=ed&app_name=1.android.com.adb.logcat.logging.send&hl=en&u_h=569&u_audio=3&aims=f&aimr=nogms&aimt=174&an=1.android.com.adb.logcat.logging.send&u_so=p&output=html&region=mobile_app&u_tz=360&client_sdk=1&ex=1&slotname=a14f48ecffe1492&caps=th_autoplay_sdkAdmobApiForAds_di&_efs=true&blockAutoClicks=0&isul=32&blob=ABPQqLEPDfXM3KDZllBInGEU13Ecah82b_4s148_TZJZyNLKA3HR45we27DbvDVeend-zGX3ocSPZ34H2jJchyE0S1BXwxo_dM2tU9nRpfkYRokGd49lsAt_UPAjGvGztT0ObvdemXRLcfdklOnBxjQiZE5wyfOl6jgKVI9VKYOqLNwShwAuuQPnD5LSPm7qnmAzNUXfH-P1QchgShMhQht-UctJk2zqndOstAKbMVPI2x_MkWPel4ft0yXwgUwnBnJNKXkRLHMDhF5qMHUNO2NRL52QXesYENMjwMOT&et=166&jsv=156&urll=807", "afmaNotifyDt": "null"> E/ActivityThread(15677): Failed to find provider info for com.google.android.gms.ads.adinfo E/webkit (15677): Exception: content://com.google.android.gms.ads.adinfo/any.gif D/WebRequest(15677): request error: -302 D/libc-netbsd(15677): getaddrinfo: googleads.g.doubleclick.net get result from proxy >> I/Ads (15677): Received ad url: <"url": "http://googleads.g.doubleclick.net:80/mads/gma?preqs=1&u_sd=1.5&u_w=320&msid=com.adb.logcat.logging.send&js=afma-sdk-a-v4.3.1&mv=80250010.com.android.vending&cipa=0&format=320x50_mb&net=ed&app_name=1.android.com.adb.logcat.logging.send&hl=en&u_h=569&u_audio=3&aims=f&aimr=nogms&aimt=24&an=1.android.com.adb.logcat.logging.send&u_so=p&output=html&region=mobile_app&u_tz=360&client_sdk=1&ex=1&slotname=a14f48ecffe1492&askip=1&caps=th_autoplay_sdkAdmobApiForAds_di&_efs=true&blockAutoClicks=0&isul=32&blob=ABPQqLF7BlGee2tDEcq8HnUltG2PA6sWD7GxBVLcd5eXiFwFG32UjO2aS5ilhhXHaeYn2SYNraAAL8Dp2mzbgkKOAqvcaYqgcYxhZwVaHa9SDeCpiKgfk1IhpBlqxCNi8V7jTs9KlvS6iJCOoCsprG7vPvzPIugKWonY0lSnoLxc36U-3gC-n92G5nZzvr9SMk5h6d2J9bLeHgwVYXWS13Sn7Hb9c9-qcOFe59G1Vc2rF3YLcV9N-BY7QwEG4yjk_yRVxL7SX8iGOanuWrMurTQ_B11ShuvPIr8PxqI2&et=145&jsv=156&urll=814", "afmaNotifyDt": "null"> W/Ads (15677): No AdResponse found, W/Ads (15677): No AdResponse found, I/Ads (15677): onFailedToReceiveAd(Ad request successful, but no ad returned due to lack of ad inventory.) I/Ads (15677): onFailedToReceiveAd(Ad request successful, but no ad returned due to lack of ad inventory.) W/ViewRootImpl(15677): Window type can not be changed after the window is added; ignoring change of com.android.internal.policy.impl.PhoneWindow$DecorView{41e13048 V.E..... R.....ID 0,0-480,854} http://www.amazon.com/s/ref=bl_sr_mobile-apps?_encoding=UTF8&node=2350149011&field-brandtextbin=AAAAAahttp://www.amazon.com/s/ref=bl_sr_mobile-apps?_encoding=UTF8&node=2350149011&field-brandtextbin=AAAAAa So, the part that confuses me is these two different lines: I/Ads (15677): To get test ads on this device, call adRequest.addTestDevice("109EBA3033B0745E18C8160EFD31CECD"); & I/Ads (14297): onFailedToReceiveAd(Ad request successful, but no ad returned due to lack of ad inventory.) Is this actually working, but there aren't any ads to show? (Amazon Ads didn't provide any? ) Or Is the setup incomplete, needing something in regards to: adRequest.addTestDevice("109EBA3033B0745E18C8160EFD31CECD"); ? Thanks for any insight you can provide! :D
mobile ads
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Jamie Grossman avatar image
Jamie Grossman answered
Hi there, Apologies that you have expeirence this issue, but it looks like there has been some confusion. I have checked your log cat, and these statements are all in reference to Google Admob, another ad SDK. Are you sure that you are using the right project? If you search for 'admob' or 'google', you will see multiple references and none to amazon ads. Even the line referring to add the device id for testing - this is an admob service. This is not how you test for mobile ads using Amazon. Fore more information on our SDK and how to use it, see here: https://developer.amazon.com/public/apis/earn/mobile-ads Regards, Jamie
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.