Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Applovin rewarded videos - Page 2 — Gideros Forum

Applovin rewarded videos

2»

Comments

  • ar2rsawseenar2rsawseen Maintainer
    Accepted Answer
    Whoops, sorry
    I must have been very sleepy yesterday, I did not commit Heyzap file update.
    Commited it now and rechecked, it works ;)
  • totebototebo Member
    Ok, great. Let me know if you need more info from me.
    My Gideros games: www.totebo.com
  • totebototebo Member
    Did you find anything in the Heyzap jungle?
    My Gideros games: www.totebo.com
  • ar2rsawseenar2rsawseen Maintainer
    Sorry?
    I thought I told that I just forgot to commit a file
    I've commited it and it all works, try it now ;)
  • totebototebo Member
    Gah! :) Trying.
    My Gideros games: www.totebo.com
  • totebototebo Member
    Works! Beautiful.
    My Gideros games: www.totebo.com
  • simwhisimwhi Member
    @totebo We are working on a new game that would definitely be suited to using rewarded videos. Which ad network would you recommend that I try out first? I've read that AppLoving are good but I don't have any experience.
  • totebototebo Member
    edited July 2015
    My upcoming game is the first I'm using rewarded videos in. I'm going for a shotgun approach, using all five currently supported networks. In my experience the performance of each ad network vary from game to game. For this reason I randomize the waterfall to find out which network performs best, to later change the order to maximize revenue. I think of it as homebrewed (and cheap) mediation.
    My Gideros games: www.totebo.com
  • SinisterSoftSinisterSoft Maintainer
    AppLovin is the best performer re $$$ by far, then chartboost - the others don't seem to pay much at all, not worth bothering with...
    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
  • totebototebo Member
    Is this for rewarded ads, @SinisterSoft?
    My Gideros games: www.totebo.com
  • hey @totebo (or anyone) I'm trying to setup applovin on iOS, it builds but then

    'NSInvalidArgumentException', reason: '*** setObjectForKey: object cannot be nil (key: applovin)'

    I'm guessing my key is wrong? But the applovin site only gives the one key that's 2 or 3 times longer than the other add networks. Is there something I should be doing different for applovin? It also doesn't seem to let you setup your app ahead of time, I'm guessing it adds the app to your account automatically once it's detected?

    Thanks.
  • SinisterSoftSinisterSoft Maintainer
    totebo: Just standard ads and video ads.
    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
  • simwhisimwhi Member
    edited July 2015
    @totebo @SinisterSoft I managed to get AppLovin working using the latest Gideros (2015-07-09). However, I sometimes get a black screen after closing an interstitial ad.

    Which version of Gideros are you using?
  • SinisterSoftSinisterSoft Maintainer
    latest.
    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
  • SinisterSoftSinisterSoft Maintainer
    What are you testing it on - Android or iOS?
    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
  • simwhisimwhi Member
    @SinisterSoft I'm testing on Android.
  • Time to wake this thread up. Has anyone managed to do Applovin rewarded videos on Android? I've plugged in interstitials, and they work, but rewarded videos give an onAdError of nil.
    My Gideros games: www.totebo.com
  • simwhisimwhi Member
    edited October 2015 Accepted Answer
    @totebo I've got them working on Android. Not sure why you get that error. Are the reward ads switched on in the Applovin dashboard. It may take a few hours. It's also worth setting the test ads switch too.
  • Hey @simwhi, that's encouraging! Yes, I've switched it on and tried with test ads. And double and triple checked the integration.

    The one thing I haven't done is checked if the Android plugin has changed since the last build. That's next on the list.
    My Gideros games: www.totebo.com
  • Pivoting plugins! They've all been updated! Now I get a nice "no fill" message instead, which probably means it works and Applovin is delayed.
    My Gideros games: www.totebo.com
  • @totebo Cool. I get the no fill a lot of the time too. Be careful when implementing the reward. The events are a bit weird. I do a potential coin update in the following places by using a boolean.
    function AdManager:onAdActionBegin(e)
     
      if e.type == "v4vc" and not self.rewardUpdated then
        print("AdManager:onAdActionBegin(e): "..e.type)
        self:_updateRewardCoins()
        self.rewardAd:loadAd(e.type)
      end
     
    end
     
    function AdManager:onAdActionEnd(e)
     
      self:_removeBackground()
     
      print("AdManager:onAdActionEnd: "..e.type)
     
      -- Handle callback function
      if e.type == "v4vc" then 
        if not self.rewardUpdated then
          self:_updateRewardCoins()
        end
     
        self.rewardAd:loadAd(e.type)
        self:_dispatchEvent("v4vc-end")
     
      elseif e.type == "interstitial" and self.afterAd ~= nil then
     
        self:_dispatchFunction()
     
      end
    end
     
    function AdManager:onAdFailed(e)
     
      if e.type == "v4vc" then
     
        print("AdManager:onAdFailed: "..e.type)
        print("Error:              : "..e.error)
        if e.error == "User rejected" and not self.rewardUpdated then
          self:_updateRewardCoins()
          self:_dispatchEvent("v4vc-user-rejected")
        else
          self:_dispatchEvent("v4vc-failed")
        end
      elseif e.type == "interstitial" and self.afterAd ~= nil then
     
        self:_dispatchFunction()
     
      elseif e.type == "banner" then
     
        self:_showHouseAd("banner")
     
      end        
    end
  • Yeah, I'm doing something similar, just to be on the safe side.

    Likes: simwhi

    My Gideros games: www.totebo.com
    +1 -1 (+1 / -0 )Share on Facebook
Sign In or Register to comment.