Page 4 of 11

Re: [0.10.2] AdMob support for Android!

Posted: Thu Apr 19, 2018 6:25 am
by yetneverdone
Hey
Interstitial is not working as well as rewars ad.
The interstitial is loaded works but it's not shown. Banner works though

Re: [0.10.2] AdMob support for Android!

Posted: Thu Apr 19, 2018 2:25 pm
by bio1712
yetneverdone wrote: Thu Apr 19, 2018 6:25 am Hey
Interstitial is not working as well as rewars ad.
The interstitial is loaded works but it's not shown. Banner works though
For me they are working, but I’ve only tried with test ads though.

Re: [0.10.2] AdMob support for Android!

Posted: Thu Apr 19, 2018 2:32 pm
by yetneverdone
bio1712 wrote: Thu Apr 19, 2018 2:25 pm
yetneverdone wrote: Thu Apr 19, 2018 6:25 am Hey
Interstitial is not working as well as rewars ad.
The interstitial is loaded works but it's not shown. Banner works though
For me they are working, but I’ve only tried with test ads though.
Hmmm weird 😐 even test reward and inter doesnt work for me

Re: [0.10.2] AdMob support for Android!

Posted: Thu Apr 19, 2018 6:22 pm
by yetneverdone
I know the problem,

Interstitial and reward ad doesn't work if the game is set to portrait mode. Any fix for that?

Re: [0.10.2] AdMob support for Android!

Posted: Mon Apr 23, 2018 11:39 am
by ninel22
love.rewardUserWithReward() doesn't seem to work for me. Am I using it right? I just define new function and write what I need inside e.g.

function love.rewardUserWithReward(rewardType, rewardQuantity)
coins = coins + 10
end

Re: [0.10.2] AdMob support for Android!

Posted: Tue Apr 24, 2018 6:22 am
by bio1712
yetneverdone wrote: Thu Apr 19, 2018 6:22 pm I know the problem,

Interstitial and reward ad doesn't work if the game is set to portrait mode. Any fix for that?
Did you solve it? Maybe it’s an AdMob problem.
For me, in Italy, ads are working even in portrait mode (I’ve only tried with test ads though).
And I don’t think the way of displaying an ad in portrait mode is different than the way of displaying in landscape.
ninel22 wrote: Mon Apr 23, 2018 11:39 am love.rewardUserWithReward() doesn't seem to work for me. Am I using it right? I just define new function and write what I need inside e.g.

function love.rewardUserWithReward(rewardType, rewardQuantity)
coins = coins + 10
end
You wouldn’t happen to have changed the function love.run()?

Re: [0.10.2] AdMob support for Android!

Posted: Tue Apr 24, 2018 8:38 am
by yetneverdone
bio1712 wrote: Tue Apr 24, 2018 6:22 am
yetneverdone wrote: Thu Apr 19, 2018 6:22 pm I know the problem,

Interstitial and reward ad doesn't work if the game is set to portrait mode. Any fix for that?
Did you solve it? Maybe it’s an AdMob problem.
For me, in Italy, ads are working even in portrait mode (I’ve only tried with test ads though).
And I don’t think the way of displaying an ad in portrait mode is different than the way of displaying in landscape.
ninel22 wrote: Mon Apr 23, 2018 11:39 am love.rewardUserWithReward() doesn't seem to work for me. Am I using it right? I just define new function and write what I need inside e.g.

function love.rewardUserWithReward(rewardType, rewardQuantity)
coins = coins + 10
end
You wouldn’t happen to have changed the function love.run()?
Modix and I managed to fix the interstitial ads, but still, rewarded ads dont work for both of us.

Re: [0.10.2] AdMob support for Android!

Posted: Tue Apr 24, 2018 8:58 am
by bio1712
yetneverdone wrote: Tue Apr 24, 2018 8:38 am Modix and I managed to fix the interstitial ads, but still, rewarded ads dont work for both of us.
How did you do that?

Re: [0.10.2] AdMob support for Android!

Posted: Tue Apr 24, 2018 9:17 am
by yetneverdone
bio1712 wrote: Tue Apr 24, 2018 8:58 am
yetneverdone wrote: Tue Apr 24, 2018 8:38 am Modix and I managed to fix the interstitial ads, but still, rewarded ads dont work for both of us.
How did you do that?
Modix have a wrapper of sort. I'll tell him to participate in this thread

Re: [0.10.2] AdMob support for Android!

Posted: Fri Jun 15, 2018 1:36 pm
by Marty
bio1712 wrote: Tue Apr 24, 2018 8:58 am
yetneverdone wrote: Tue Apr 24, 2018 8:38 am Modix and I managed to fix the interstitial ads, but still, rewarded ads dont work for both of us.
How did you do that?
Hi bio, sorry for my late participation. I had priorities in building my game first. On this point I was considering to use the your AdMob ports from 0.10.2 (I won't go for the latest löve version, due to some performance issues that have been reported for the Android port).

Some while ago I forked your project and tried to fix all I could: https://bitbucket.org/MartyMaro/love2d- ... rc/master/

As you can see on the name, I'd like to implement UnityAds, InAppBilling and GameServices in the future. I don't remember if interstitial ads worked or not, but if they did not, you can see on the change log how I fixed it. However, I was unable to fix the reward ads so far. Even when I think UnityAds are better for ads in games, I'm still looking for a solution to this.

RewardAds seems to work when I use the official test IDs from Google. However, when I configure my own reward ad IDs in the AdMob dashboard and declare my test device ID properly, it won't load. Logcat reports:
I/Ads: No fill from ad server.
W/Ads: Failed to load ad: 3
D/AdActivity: onRewardedVideoAdFailedToLoad: Error 3
I was checking many help threads like https://stackoverflow.com/questions/335 ... -load-ad-3 but no solution helped. I tested the whole thing on Galaxy S3 and Galaxy S6.

Did you ever used the Android reward ads in a serious manner? Can you please check my fork, maybe something is wrong on my end. I really appreciate your time.

Thx.