• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Ads not loading in

Z

Z-Nexus Studios

Guest
My output log repeats the same message a lot, and then eventually stops, and no banner image appears. Ive been googling this for hours now and had no luck, so I am hoping someone here can help. Heres the error code:
10-30 00:28:06.046 11799 11799 I Ads : This request is sent from a test device.
10-30 00:28:06.162 7471 12076 I Ads : SDK version: afma-sdk-a-v203404999.15000000.1
10-30 00:28:06.163 7471 12076 I Ads : HTTP timeout: 60000 milliseconds.
10-30 00:28:06.270 7471 12076 W Ads : Received error HTTP response code: 400
10-30 00:28:06.277 11799 11799 I yoyo : Banner Ad onAdFailedToLoad
10-30 00:28:06.277 11799 11799 I Ads : Ad failed to load : 0

The app_id is taken directly from my google play, my banner_id is taken from my admob account, with a banner ad created, in a create event on my Persistent object (in the first room, basically control object)
GoogleMobileAds_Init(interstitial_id,app_id);
GoogleMobileAds_LoadInterstitial();
interstitial_loaded = false;
GoogleMobileAds_UseTestAds(true,"A44E310319A6434240CA01B25073D92A")

and async social:

var _id = async_load[? "id"];
if (_id == GoogleMobileAds_ASyncEvent){
var ident = async_load[? "type"];
switch (ident){
case "banner_load":
if (async_load[? "loaded"] == 1){
var _bw = GoogleMobileAds_BannerGetWidth();
var _bh = GoogleMobileAds_BannerGetHeight();
var _hh = display_get_height();
var _ww = display_get_width();
GoogleMobileAds_MoveBanner((_ww / 2) - (_bw / 2), _hh - _bh);
}
break;
}
}


and lastly, a banner object just runs : GoogleMobileAds_AddBanner(Persistent.banner_id,GoogleMobileAds_Smart_Banner); and does exist in my first room, however no banner appears.

I have no idea what is causing this issue, and at this point im contemplating just releasing ad-free until I can figure it out since my release date is only a few days away and the rest of the game is basically done.
Thanks for any and all help!
 
Top