• 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!

Android Rewarded ads not loading

I

imineti

Guest
EDIT: I have updated this post as I have narrowed down the problem.

I have this function to load the rewarded video.

Code:
GoogleMobileAds_LoadRewardedVideo("ca-app-pub-9207854532541194/7731898672");
For some reason after I call this function the ad doesn't load.

I have this in the asynchronous social event to show a message if it has loaded or if there is an error.

Code:
var _id = async_load[? "id"];
   if _id == GoogleMobileAds_ASyncEvent{
   var ident = async_load[? "type"];
   switch (ident){
 
        case "rewardedvideo_adloaded":
               rewarded_loaded = 1;
               show_message_async("Rewarded ad loaded!"); // DEBUG
        break;

       case "rewardedvideo_loadfailed":
           show_message_async("Error Code: " + string(async_load[? "errorcode"]));
           //GoogleMobileAds_LoadRewardedVideo(ad_startWeek_id);
        break;

  }
When I try to load the ad I get the message "Error Code: 3", does anybody know how to fix it?
 
Last edited by a moderator:
Top