Ads not visible using Mobile Advert plugin (Solved)

  • Hello.

    I'm trying to monetize my game for the Google play store.

      So far I have: Created my admob account, and an app ID and a Banner ID imported the Admob plugin to C3 project Set de App ID in the properties for the admob object On the start of layout, used the Create banner action using the Banner ID On the end of the game used the action "Show the current banner advert" Exported an Android debug apk using construct 3 exporter. Installed the apk on a device

    The game is working perfectly, however banners are never being displayed.

    Thanks for your help.

  • Dup post - see below.

  • > Hello.

    >

    > I'm trying to monetize my game for the Google play store.

    >

    >

      So far I have: > Created my admob account, and an app ID and a Banner ID > imported the Admob plugin to C3 project > Set de App ID in the properties for the admob object > On the start of layout, used the Create banner action using the Banner ID > On the end of the game used the action "Show the current banner advert" > Exported an Android debug apk using construct 3 exporter. > Installed the apk on a device

    > The game is working perfectly, however banners are never being displayed.

    >

    > Thanks for your help.

    >

    I think Dev ID goes in the Advert field on the left hand menu item and App ID goes in the "Create Banner" in the actual "code" - I could be wrong though, I've not fully tested the new Admob plugin yet. (Note: Labels may not be exact, I dont have C3 in front of me right now)

    From your Admob account, for the individual app page, does it state that any ads were served? In other words, were ads served, but youre not seeing them, or were ads never requested from your app?

    Also, why show a banner on end of game? Try "start of layout".

    In Android Studio you would use "Log Cat" for this scenario, then you could see if a request was made and if it was fulfilled. I don't think there is a similar tool for Construct.

    Good luck and let us know how you go on.

  • >

    > > Hello.

    > >

    > > I'm trying to monetize my game for the Google play store.

    > >

    > >

      So far I have: > > Created my admob account, and an app ID and a Banner ID > > imported the Admob plugin to C3 project > > Set de App ID in the properties for the admob object > > On the start of layout, used the Create banner action using the Banner ID > > On the end of the game used the action "Show the current banner advert" > > Exported an Android debug apk using construct 3 exporter. > > Installed the apk on a device

    > > The game is working perfectly, however banners are never being displayed.

    > >

    > > Thanks for your help.

    > >

    >

    > I think Dev ID goes in the Advert field on the left hand menu item and App ID goes in the "Create Banner" in the actual "code" - I could be wrong though, I've not fully tested the new Admob plugin yet. (Note: Labels may not be exact, I dont have C3 in front of me right now)

    >

    > From your Admob account, for the individual app page, does it state that any ads were served? In other words, were ads served, but youre not seeing them, or were ads never requested from your app?

    >

    > Also, why show a banner on end of game? Try "start of layout".

    >

    > In Android Studio you would use "Log Cat" for this scenario, then you could see if a request was made and if it was fulfilled. I don't think there is a similar tool for Construct.

    >

    > Good luck and let us know how you go on.

    >

    Thaks for your reply:

    In app info on admob account: It does says 0 app request, 0 impressions, however I have the "Test mode" on in the Admob object properties on C3. So aparently teh ads were never requested.

    The reason to show a banner at the end of the game is because I don't want to show the ads during the game play, for a clean game experience. It's a short round arcade game so you will loose often. and I intend to show the ads in the score screen. I want to monetize, yes, but I want a clean experience and non intrusive ads.

    I'm loading the ad on start of layout but I am showing the ad when the players loses the round.

    I'm thinking that maybe the pluging doesn't work well with the debug apk from c3.. maybe I have to recompile it using android studio?

  • Thaks for your reply:

    In app info on admob account: It does says 0 app request, 0 impressions, however I have the "Test mode" on in the Admob object properties on C3. So aparently teh ads were never requested.

    The reason to show a banner at the end of the game is because I don't want to show the ads during the game play, for a clean game experience. It's a short round arcade game so you will loose often. and I intend to show the ads in the score screen. I want to monetize, yes, but I want a clean experience and non intrusive ads.

    I'm loading the ad on start of layout but I am showing the ad when the players loses the round.

    I'm thinking that maybe the pluging doesn't work well with the debug apk from c3.. maybe I have to recompile it using android studio?

    oh - OK, so no, you would not see ad requests on "test". Im not 100% confident in C3s "test" scenario for Admob. When using android Studio, I have used this official Admob test ID:

    ca-app-pub-3940256099942544/6300978111 - for banners

    For more information, see https://developers.google.com/admob/android/test-ads

    You could try using that ID in the ap ID and see what you get.

    Also, be wary about showing ads on exit, though it sounds like you mean "end of round". It "may" be against Admob policy if on exit:

    Publishers are not permitted to place ads on any non-content-based pages such as thank you, error, log in, or exit screens. These are the screens that visitors may see upon launching the app, before potentially leaving the app or after performing a specific action on the screen such as a purchase or download. Ads that are the main focus on these types of screens can confuse a visitor into thinking that the ads are actual content, so do not place ads on such screens. - Admob is very particular.

    HTH - good luck.

  • >

    >

    > Thaks for your reply:

    >

    > In app info on admob account: It does says 0 app request, 0 impressions, however I have the "Test mode" on in the Admob object properties on C3. So aparently teh ads were never requested.

    >

    > The reason to show a banner at the end of the game is because I don't want to show the ads during the game play, for a clean game experience. It's a short round arcade game so you will loose often. and I intend to show the ads in the score screen. I want to monetize, yes, but I want a clean experience and non intrusive ads.

    >

    > I'm loading the ad on start of layout but I am showing the ad when the players loses the round.

    >

    > I'm thinking that maybe the pluging doesn't work well with the debug apk from c3.. maybe I have to recompile it using android studio?

    >

    oh - OK, so no, you would not see ad requests on "test". Im not 100% confident in C3s "test" scenario for Admob. When using android Studio, I have used this official Admob test ID:

    ca-app-pub-3940256099942544/6300978111 - for banners

    For more information, see https://developers.google.com/admob/android/test-ads

    You could try using that ID in the ap ID and see what you get.

    Also, be wary about showing ads on exit, though it sounds like you mean "end of round". It "may" be against Admob policy if on exit:

    Publishers are not permitted to place ads on any non-content-based pages such as thank you, error, log in, or exit screens. These are the screens that visitors may see upon launching the app, before potentially leaving the app or after performing a specific action on the screen such as a purchase or download. Ads that are the main focus on these types of screens can confuse a visitor into thinking that the ads are actual content, so do not place ads on such screens. - Admob is very particular.

    HTH - good luck.

    Oh!! thank you so much... I have the feelling that I will be able to pull this off with all the info you have provide. I think that using those test IDs may be the key. I'll let you know. Once again thanks for your help.

    In case you have a little time and want to check, this is the game I'm trying to monetize. The moment to show the ads is when the game ends and shows your score. I don't think this is against the policy but I would love to hear your opinion.

    https://gatostao.itch.io/spinpong

  • Oh!! thank you so much... I have the feelling that I will be able to pull this off with all the info you have provide. I think that using those test IDs may be the key. I'll let you know. Once again thanks for your help.

    In case you have a little time and want to check, this is the game I'm trying to monetize. The moment to show the ads is when the game ends and shows your score. I don't think this is against the policy but I would love to hear your opinion.

    https://gatostao.itch.io/spinpong

    Nice job on the game. Don't take my word for it 100% but as long as your not "tricking" your users into thinking the ad is part of the game, you should be OK. Also, banner ads are less of a problem as they don't take up the whole screen like interstitial ads do.

    However, have you thought about interstitial ads instead at that point in the game? Traditionally, interstitial ads generate more revenue for apps than banners do.

    Again, all of the above is my "opinion" because Admob can be a complex beast and sometimes people get Admob warnings for no apparent reason. I once got a violation when Admob claimed my app "linked to YouTube sources and links" - my app had zero references or links to YouTube. It's a mystery to this day as to what they were talking about. <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • JLH1964

    Thanks! Glad you liked the game.

    I intend just the opposite, to present soft ads to the player. Personaly I hate when games are full of ads and they are constantly breaking the game experience. But you are also right, this policies are tricky and I have to be carefull about when and how to show the ads.

    Yes I have think about interstitials but I think they are to much to show every time a round ends. I'm thinking about creating a global variable to show an interstitial maybe every 10 or 12 rounds played. First I want to learn using the pluggin begining with the banners and I will implement interstitials in future versions.

    Thanks to your help I am now very close I think. I managed to watch a banner using the admob test banner ID but I ran into other problems that were interfering. I will post my conclusions on this thread once I solved them all.

  • Thanks to JLH1964 help I have solved this issue. Here are my conclusions for those who have the same problem.

    If you want to use the "Mobile advert" plugin, avoid using the web browser's "Full screen" action. This will prevent adverts to be seen on screen, even in they are actually being displayed by the plugin.

    For security reasons always use the Test mode for the admob plugin while testing your app. Don't forget to uncheck it for final publish.

    I have also included an action to "Set the App ID" action for the plugin, since I have found that despite having this ID on the Admob object property bar, It wasn't responding to the "Is configured" or "On configuration failed" conditions.

    That's all. I hope this will be usefull for anyone having this issue.

  • Thanks to JLH1964 help I have solved this issue. Here are my conclusions for those who have the same problem.

    If you want to use the "Mobile advert" plugin, avoid using the web browser's "Full screen" action. This will prevent adverts to be seen on screen, even in they are actually being displayed by the plugin.

    For security reasons always use the Test mode for the admob plugin while testing your app. Don't forget to uncheck it for final publish.

    I have also included an action to "Set the App ID" action for the plugin, since I have found that despite having this ID on the Admob object property bar, It wasn't responding to the "Is configured" or "On configuration failed" conditions.

    That's all. I hope this will be usefull for anyone having this issue.

    Congrats - glad you figured it out.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • JLH1964

    Thanks! Glad you liked the game.

    I intend just the opposite, to present soft ads to the player. Personaly I hate when games are full of ads and they are constantly breaking the game experience. But you are also right, this policies are tricky and I have to be carefull about when and how to show the ads.

    Yes I have think about interstitials but I think they are to much to show every time a round ends. I'm thinking about creating a global variable to show an interstitial maybe every 10 or 12 rounds played. First I want to learn using the pluggin begining with the banners and I will implement interstitials in future versions.

    Thanks to your help I am now very close I think. I managed to watch a banner using the admob test banner ID but I ran into other problems that were interfering. I will post my conclusions on this thread once I solved them all.

    gatostao

    Hi, im not seeing the test ads or real ads, can you explain the solution a little more please?

    Also, on export i selected android studio , i opened with android studio and used the "play" to test on my phone, but im not getting the ads.

    I have my own ads and i used the test id ads too. Im desperated.

  • ....

    I have my own ads and i used the test id ads too. Im desperated.

    Is it your logic to launch an ad? For example "after so many clicks,...show ad" etc. Using interstitial or banner? Loaded on start of layout or after something happens? etc. etc. etc.

    Tell us your story...

  • > ....

    > I have my own ads and i used the test id ads too. Im desperated.

    >

    Is it your logic to launch an ad? For example "after so many clicks,...show ad" etc. Using interstitial or banner? Loaded on start of layout or after something happens? etc. etc. etc.

    Tell us your story...

    I have interstitial ads when the lifes are 0 or less.

    banner on top menu and being hide when the player touch Start.

    They are loaded on the start of layout

  • >

    > > ....

    > > I have my own ads and i used the test id ads too. Im desperated.

    > >

    >

    > Is it your logic to launch an ad? For example "after so many clicks,...show ad" etc. Using interstitial or banner? Loaded on start of layout or after something happens? etc. etc. etc.

    >

    > Tell us your story... <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    >

    I have interstitial ads when the lifes are 0 or less, banner on top menu.

    They are loaded on the start of layout

    Using test ads, export as a debug APK and test on a device. Also, while you have your app running in the emulator in Android Studio, open LogCat and look for the ad request(s) - you should see a request/response to the Admob service. I'm not 100% confident in C3's ability to export to AS. I tried it a couple of times and it was more trouble than it was worth, failed builds etc.

    LogCat details: https://developer.android.com/studio/de ... ogcat.html

  • JLH1964

    Tried with an object with video reward ad

    Logcat message on the object being touched:

    4444-4444/com.mycompany.myapp W/art: Attempt to remove non-JNI local reference, dumping thread

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)