DoubleClick Android AdMob "Displayed insecure content" error

1,379 views
Skip to first unread message

jas...@shotzoom.com

unread,
Jun 19, 2014, 2:23:16 PM6/19/14
to google-adm...@googlegroups.com
Hi,

I'm trying to setup AdMob in my Android application and everything was working great until I tried it out on live devices. On all testing everything worked fine but after building for release and testing on some real devices I can't seem to get any ads to display.

In the logcat I see the following:

06-19 08:20:00.333: W/Ads(765): JS: The page at about:blank displayed insecure content from gmsg://mobileads.google.com/loadAdURL?drt_include=1&request_scenario=online_request&type=adsense&url=http%3A%2F%2Fgoogleads.g.doubleclick.net%3A80%2Fpagead%2Fads%3Fseq_num%3D2%26rm%3D0%26js%3Dafma-sdk-a-v5050000.4452000.1%26eid%3D46621036%26hl%3Den%26smart_w%3Dfull%26gnt%3D8%26ma%3D0%26carrier%3D310410%26u_sd%3D2%26sp%3D0%26cnt%3D1%26muv%3D11%26riv%3D0%26ms%3DAabTiRkN-TWtZD6h0dgJrRLnO71LByFeBR4rsRvp7No0r7clpBJ9AjfI6tnZUcqqYnIvYCkY_gF6Ydca0k48bWpabbNvDNRupg5bFqRFpKama3sHrF12GdI2xXEboP0XkZFZxotj0eVOUTZupQvQZqYTK1Eu3MFpyMANdfhO8KGRnipiqsEuUe7kBVKlYCztSzt9scDxe5kzoKlHFM-N3KU_9wc7kG-38iCR9vwVcsRVBV5Rlog4XQlwL5VSTiBS9RNvVR4qtRh5UYzUP9w_AdqIlN7VOCIgL7P2gWns65-HH83WyCY03q1eNZKRZE_gNCzTmKCMj1UpSYKJPKl_DA%26mv%3D80280020.com.android.vending%26format%3D360x50_as%26smart_h%3Dauto%26coh%3D1%26gl%3DUS%26am%3D0%26u_w%3D360%26u_h%3D592%26msid%3Dcom.shotzoom.golfshot2%26an%3D35.android.com.shotzoom.golfshot2%26net%3Dwi%26u_audio%3D3%26u_so%3Dp%26preqs%3D1%26support_transparent_background%3Dtrue%26pimp%3D0%26currts%3D69048595%26pclick%3D0%26basets%3D69046460%26bisch%3Dtrue%26blev%3D0.9900000095367432%26cans%3D5%26canm%3Dfalse%26output%3Dhtml%26region%3Dmobile_app%26u_tz%3D-420%26url%3D35.android.com.shotzoom.golfshot2.adsenseformobileapps.com%26client%3Dca-mb-app-pub-6679563818464867%26slotname%3D9075894439%26askip%3D1%26gsb%3Dwi%26caps%3DinlineVideo_interactiveVideo_mraid1_th_autoplay_mediation_av_sdkAdmobApiForAds_di%26jsv%3D92%26urll%3D1130&base_uri=http%3A%2F%2Fgoogleads.g.doubleclick.net%3A80%2Fpagead%2Fads&use_webview_loadurl=0&google.afma.Notify_dt=1403191200323.
06-19 08:20:00.333: W/Ads(765):  (null:1)
06-19 08:20:00.333: W/Web Console(765): The page at about:blank displayed insecure content from gmsg://mobileads.google.com/loadAdURL?drt_include=1&request_scenario=online_request&type=adsense&url=http%3A%2F%2Fgoogleads.g.doubleclick.net%3A80%2Fpagead%2Fads%3Fseq_num%3D2%26rm%3D0%26js%3Dafma-sdk-a-v5050000.4452000.1%26eid%3D46621036%26hl%3Den%26smart_w%3Dfull%26gnt%3D8%26ma%3D0%26carrier%3D310410%26u_sd%3D2%26sp%3D0%26cnt%3D1%26muv%3D11%26riv%3D0%26ms%3DAabTiRkN-TWtZD6h0dgJrRLnO71LByFeBR4rsRvp7No0r7clpBJ9AjfI6tnZUcqqYnIvYCkY_gF6Ydca0k48bWpabbNvDNRupg5bFqRFpKama3sHrF12GdI2xXEboP0XkZFZxotj0eVOUTZupQvQZqYTK1Eu3MFpyMANdfhO8KGRnipiqsEuUe7kBVKlYCztSzt9scDxe5kzoKlHFM-N3KU_9wc7kG-38iCR9vwVcsRVBV5Rlog4XQlwL5VSTiBS9RNvVR4qtRh5UYzUP9w_AdqIlN7VOCIgL7P2gWns65-HH83WyCY03q1eNZKRZE_gNCzTmKCMj1UpSYKJPKl_DA%26mv%3D80280020.com.android.vending%26format%3D360x50_as%26smart_h%3Dauto%26coh%3D1%26gl%3DUS%26am%3D0%26u_w%3D360%26u_h%3D592%26msid%3Dcom.shotzoom.golfshot2%26an%3D35.android.com.shotzoom.golfshot2%26net%3Dwi%26u_audio%3D3%26u_so%3Dp%26preqs%3D1%26support_transparent_background%3Dtrue%26pimp%3D0%26currts%3D69048595%26pclick%3D0%26basets%3D69046460%26bisch%3Dtrue%26blev%3D0.9900000095367432%26cans%3D5%26canm%3Dfalse%26output%3Dhtml%26region%3Dmobile_app%26u_tz%3D-420%26url%3D35.android.com.shotzoom.golfshot2.adsenseformobileapps.com%26client%3Dca-mb-app-pub-6679563818464867%26slotname%3D9075894439%26askip%3D1%26gsb%3Dwi%26caps%3DinlineVideo_interactiveVideo_mraid1_th_autoplay_mediation_av_sdkAdmobApiForAds_di%26jsv%3D92%26urll%3D1130&base_uri=http%3A%2F%2Fgoogleads.g.doubleclick.net%3A80%2Fpagead%2Fads&use_webview_loadurl=0&google.afma.Notify_dt=1403191200323.
06-19 08:20:00.333: W/Web Console(765):  at null:1
06-19 08:20:00.372: W/Ads(765): JS: The page at https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html displayed insecure content from file:///android_asset/webkit/android-weberror.png.
06-19 08:20:00.372: W/Ads(765):  (null:1)
06-19 08:20:00.372: W/Web Console(765): The page at https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html displayed insecure content from file:///android_asset/webkit/android-weberror.png.
06-19 08:20:00.372: W/Web Console(765):  at null:1
06-19 08:20:00.747: I/Ads(31911): No fill from ad server.
06-19 08:20:00.755: W/Ads(31911): Failed to load ad: 3
 
If the "no fill from ad server" is the reason I see these errors then that's totally fine.  I just want to make sure that the other messages aren't an indication that I'm doing something wrong and will never get an ad to populate.

Searching the interwebs for this the only suggestion I found was to ensure proguard was working properly but I'm not using proguard at this time so I don't think that'll be a factor

Thanks in advance,
Jason

jas...@shotzoom.com

unread,
Jun 19, 2014, 5:02:58 PM6/19/14
to google-adm...@googlegroups.com
Turns out the error occurred because I was using SMART_BANNER for the adSize instead of BANNER. Maybe I missed it somewhere in the logs but would have been nice to get a message somewhere showing that was why I couldn't get an ad filled and not because of unavailability

Eric Leichtenschlag

unread,
Jun 25, 2014, 11:03:36 PM6/25/14
to google-adm...@googlegroups.com
Hi Jason,

Both BANNER and SMART_BANNER should work. The "insecure content" could be related to some experiments we're running with making the ad request in https. It's possible that certain creatives are loading assets over http. That should be just a warning though and not cause a no fill. Can you try SMART_BANNER again and confirm?

Thanks,
Eric


--

---
You received this message because you are subscribed to the Google Groups "Google AdMob Ads Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



Jason Faulkner

unread,
Feb 20, 2015, 1:13:25 AM2/20/15
to google-adm...@googlegroups.com, eleich...@google.com
We are getting exactly the same error for every ad.

Has there been any resolution on this?

Jason
Eric


To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.

jas...@shotzoom.com

unread,
Jun 26, 2014, 5:08:59 PM6/26/14
to google-adm...@googlegroups.com
Why this is marked as abuse? It has been marked as abuse.
Report not abuse
Eric,

I tried using SMART_BANNER again and I did not see the warning like I did last time, I did however still get the "no fill from ad server".  Is there any reason I would consistently get fills from BANNER but not SMART_BANNER?

Thanks,
Jason
Eric


To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages