Admob Video Reward In Testing

Discussion in 'Buildbox 3.0' started by mmicoe, May 3, 2020.

  1. mmicoe

    mmicoe Avid Boxer

    Joined:
    Dec 20, 2016
    Messages:
    148
    Likes Received:
    41
    Hi all,
    I am implementing video reward if character collides with an object!
    if video reward is completed then character gets 1 live!
    this is the map:
    VideoReward.png
    1) I am using Admob testing (AdRequest.Builder().addTestDevice(("09DXXXXXXXXXXXXXXX8B"))
    2) Using the BB Preview: if character collides with "object video Reward" gets 1 lives = it is fine because no ads in BB Preview or if user bought remove ads!
    3) On android device: (All banners working fine) if character collides with "object video Reward" then:
    3.1) Video Reward shows fine.
    3.2) I wait to video reward is finished. I close the video.
    3.3) After video reward is finished, nothing happens... character does not get 1live!
    I get this message log on Android Studio:
    1. D/AdIntegratorAdmob: RewardedAd opened
    2. This request is sent from a test device.
    3. D/AdIntegratorAdmob: RewardedAd closed
    4. D/AdIntegratorAdmob: rewarded video did end true
    5. D/PTPlayer: JS Error [asset: 1Live-VideoReward, component: Reward, line: 15] - Error: null reference
    6. D/AdIntegratorManager: initrewarded
    7. D/AdIntegratorManager: initializing reward for admob

    This happens because I am using testing ads???

    Waiting for an answer!
    All the best!
    Mauro
     
    Last edited: May 3, 2020
  2. mmicoe

    mmicoe Avid Boxer

    Joined:
    Dec 20, 2016
    Messages:
    148
    Likes Received:
    41
    Hello,
    I tested the game on Beta as Beta tester user (Banners now, are not in testing, are real)
    My game has been published on Google Play. I tested the video Reward and it does not working!!!!!
    The video Reward shows fine but after displayed it Node Rewarded Video --> Reward ---> Damage (Get 1 live) does not work!

    Please help!
    Is it a bug or am I doing wrong?
    I cannot publish the game with this issue!!!

    Waiting help from BB Team!
    All the best!
    Mauro

     
    Last edited: May 4, 2020
  3. mmicoe

    mmicoe Avid Boxer

    Joined:
    Dec 20, 2016
    Messages:
    148
    Likes Received:
    41
    Hi again:
    I have done some tests. Attached the map:

    Rewarded2.png

    1. I added a special sound on Rewarded Video: Signal Reward.
    2. I added a special sound on Rewarded video: Signal No Reward.
    Consequence:
    a) If I watch all video Reward --> NO SOUND , therefore character does not get lives! Signal Reward is not active.
    b) if I stop the video reward and not finish it -> NO SOUND (Signal No Reward is not active)
    c) On BB Preview (There are no ads) it get the live

    So I think there is something that does not activate the signals Reward and No Reward

    And I conclude that it is not a problem of mine but of Admob or Buildbox!!!!

    Please, could you confirm this?

    I am working with BB 3.2.1 B#3704

    Waiting!
    All the best!
    Mauro
     
  4. Tars Tarkas

    Tars Tarkas Avid Boxer

    Joined:
    Jul 17, 2018
    Messages:
    303
    Likes Received:
    228
    try to add a small delay before your reward, something like 0.1 sec reward.PNG
     
    chris15smile likes this.
  5. mmicoe

    mmicoe Avid Boxer

    Joined:
    Dec 20, 2016
    Messages:
    148
    Likes Received:
    41
    Last edited: May 4, 2020
  6. Tars Tarkas

    Tars Tarkas Avid Boxer

    Joined:
    Jul 17, 2018
    Messages:
    303
    Likes Received:
    228
    Maybe add that remove node to the delay, next to your rewarded damage, or dont add it at all reward2.PNG
     
  7. mmicoe

    mmicoe Avid Boxer

    Joined:
    Dec 20, 2016
    Messages:
    148
    Likes Received:
    41
    Hello Tars,
    THANK YOU!!! That is the solution!!!
    Issue: I was Removing the node when character collides with the object <<-- BAD SOLUTION!

    Now, I Remove the node after video Reward is displayed! <<- SOLUTION
    RewardOK.png
    It was my problem! :(
    Thank you very much, Tars!
    All the best!
     
    Sean Buildbox and Tars Tarkas like this.
  8. chris15smile

    chris15smile Boxer

    Joined:
    Apr 30, 2016
    Messages:
    17
    Likes Received:
    2
    Thank you Tars, I was talking to Erik from BB support to help with the reward node working for IOS but not on Android, Added a delay as you suggested and TADA! Magic! Thank you :)
     
    Tars Tarkas likes this.

Share This Page