Simple Rewarded Video Implimentation

Discussion in 'How Can I...?' started by DeadlySeriousMedia, Oct 28, 2015.

  1. DeadlySeriousMedia

    DeadlySeriousMedia Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    187
    Likes Received:
    172
    Here is a link to the Project File

    Here is a video of what I did.



    For Xcode you simply drop the HeyZap SDK into the framework section. Make sure you properly integrate your ad providers on the HeyZap end. If an ad is available the reward video button should appear.

    I haven't used this on Android yet so I don't know how. Sorry.
     
  2. tomwhite3d

    tomwhite3d Boxer

    Joined:
    Sep 28, 2015
    Messages:
    97
    Likes Received:
    39
    Wow thanks for this! It’s a great help!
     
  3. darren

    darren Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    134
    Likes Received:
    58
    Great tutorial! What is confusing to me is dropping HeyZap into the frameworks section. I've managed to get it to work without dragging it into Xcode but perhaps that is because I had HeyZap interstitials designated on the game over screen...perhaps when I turn that off, I will have to drag it in and copy to the project. I think (and hope) that the BB team added HeyZap in the export if it detects "Reward Videos" is being used so you don't have to do this manually. (@Andy ?)
     
  4. sappz

    sappz Guest

    Joined:
    Oct 5, 2015
    Messages:
    25
    Likes Received:
    10
    Is there any way to make the user install the ad and THEN reward them, instead of just showing the video ad? I think that would truly be beneficial :D And we'd get a lot of Monneyh! :D
     
  5. Andy

    Andy Miniboss Boxer

    Joined:
    Sep 24, 2015
    Messages:
    2,152
    Likes Received:
    1,545
    @darren you should not need to manually add the HeyZap framework
     
    darren likes this.
  6. imonedesign

    imonedesign Boxer

    Joined:
    Oct 25, 2015
    Messages:
    73
    Likes Received:
    50
    It's working in Buildbox preview but I can't see the "reward video button" on the shop when i test it on android device! anyone can help me?
     
  7. DeadlySeriousMedia

    DeadlySeriousMedia Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    187
    Likes Received:
    172
    @imonedesign I had this problem for the longest time. Need to make sure there is a network connection. Also, it can take a bit of time for the ads to populate. There may not be any available.
     
    Andy likes this.
  8. Andy

    Andy Miniboss Boxer

    Joined:
    Sep 24, 2015
    Messages:
    2,152
    Likes Received:
    1,545
    if configured correctly the button will not appear even if it is scheduled to if there is not an ad available. It may take 30 seconds or longer before the first ad loads and is available.
     
  9. Christoph

    Christoph Miniboss Boxer

    Joined:
    Oct 4, 2015
    Messages:
    2,807
    Likes Received:
    2,309
    @dark_dragon_blade_ : just tell the user that you give them 50% of the income when they install the app/game. You'll see it will work. :D
     
    dark_dragon_blade_ likes this.
  10. trygii

    trygii Avid Boxer

    Joined:
    Oct 14, 2015
    Messages:
    307
    Likes Received:
    72
    What do we need to type in Project Settings > Advertisements > HeyZap? Our ''Publisher ID'' from HeyZap's Account Details?
     
  11. Andy

    Andy Miniboss Boxer

    Joined:
    Sep 24, 2015
    Messages:
    2,152
    Likes Received:
    1,545
    Yes, your HeyZap Publisher ID.
     
  12. sappz

    sappz Guest

    Joined:
    Oct 5, 2015
    Messages:
    25
    Likes Received:
    10
    @Christoph I'll give it a try haha but apple might reject it considering it a scam :)
     
  13. kipasgajah

    kipasgajah Boxer

    Joined:
    Oct 5, 2015
    Messages:
    24
    Likes Received:
    10
    any one know how to make it work on android?
    do i need to drop their SDK to eclipse?
     
  14. HungaryBoy

    HungaryBoy Boxer

    Joined:
    Sep 30, 2015
    Messages:
    16
    Likes Received:
    4
    You should try with Interval of Reward Video Appearing.
    Put at least Interval 2, it will appear every second time...
     
    dudaodeveloper likes this.
  15. mikafabz

    mikafabz Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    100
    Likes Received:
    172
    Thanks a lot for this man!
     
  16. dudaodeveloper

    dudaodeveloper Boxer

    Joined:
    Oct 22, 2015
    Messages:
    3
    Likes Received:
    0
  17. DeadlySeriousMedia

    DeadlySeriousMedia Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    187
    Likes Received:
    172
    Not sure what to do. I've not encountered these issues.
     
  18. HungaryBoy

    HungaryBoy Boxer

    Joined:
    Sep 30, 2015
    Messages:
    16
    Likes Received:
    4
    Hi,
    Try to first add Action Button for coin, let say 20 coins, and delete it from scene soon as you add it. It will stay in your Action Folder.
    After that add Purchase button, on Shop or Game Over Scene, and link to Action coin that you have added before.
    Mark Buy and Use, and set Purchasing Method Reward Video, Ad Network HeyZap.
    In HeyZap Dashboard set only HeyZap Ad, if you have other Ad in your game to not asking twice for Ad Appearing.
    Add HeyZap Publisher ID to BuildBox.
    Try your game on BuildBox simulator to see if you get extra coins after pressing Reward Video Button.
    Export your game to IOS, no need to add additional frameworks as they are already added by BuildBox.

    For Android one extra feature you will need to make.
    You will need to set Interval of Appearing reward Video Ad, this is how we have fixed our Reward Video Ad to appear.
    And also we have added HeyZap to Shop Scene on every 4-th entering, this is how all Reward Video Ad working at us.

    Hope this will help a little bit.
     
  19. rolandruth

    rolandruth Boxer

    Joined:
    Oct 8, 2015
    Messages:
    3
    Likes Received:
    0
    Thank you so much for the video!!!
     
  20. Machine Rises

    Machine Rises Serious Boxer

    Joined:
    Sep 25, 2015
    Messages:
    591
    Likes Received:
    834
    @DeadlySeriousMedia so you're referring to Heyzap Mediation with this xcode tutorial correct?
     

Share This Page