HowTo: GameAds integration

Hi everyone!

Since GameAds seems to become more popular from day to day and the documentation lacks a few infos I’ve decided to do a litte HowTo.

Click Me!

If you have any questions reagarding GameAds feel free to send me a PM!

Greetz

I’m not sure if this is the right place but since i have not got any reply from the everyplay support it might be worth a try.

I had GameAds successfully running on unity 4.2. I didn’t use the package from the assetstore but the outdated version from the everplay website. I had it running perfectly fine on my galaxy s1 with android 2.2(api level 8) on it. Since unity dropped support of api level <9 with unity 4.3 i had to update my firmware on my phone to android 2.3.6 which is api level 10. (galaxy s1 can’t go higher than that, at least officially)

This is when the problem started to occour. When i trigger an ad the screen goes black and i can hear the sound of the ad playing(at least sometimes). The only thing i can do then is to hit the back button on the phone which causes the phone to reboot. I tried to use the updated Version of GameAds from the asset store but the problem remains the same. I tried all kinds of things and searched the web for hours without finding any hint. As i said i also emailed to the everyplay support but without any response from their side. I am new to making games for android and i am absolutely lost. The most annoying thing is that i had it working perfectly fine before, if i couldn’t get it to work right away i would probably have given up much earlier but now i spent 2 days on troubleshooting without any success. If you (or anybody else) could give me a hint in any direction i would appreciate that alot :slight_smile:

oh, and apart from the updates and things i tried during troubleshooting nothing changed on the project, the manifest and files etc. are just the same as before the updates. It does not show any errors on the console and also ADB does not give any clues about the problem.

Maybe GameAds is just incompatible with android 2.3.6?

Ayway, thanks…

Hmm nothing I can help you about since I am using Android 4.3. I guess you will have to wait for an answer from Everyplay support. Hopefully they’ll answer not only because their documentation lacks a lot of information but because that would be something nice to know especially to blacklist the not supportet Android versions on Play Store.

Thanks for the reply :slight_smile: Yeah, for me that is a big nogo… it can lead to a lot of bad reviews and that could harm the success of a game. I guess i need to drop GameAds if they dont answer anytime soon. First i was happy that they support older android versions but now it does not look like thats consistent.

Maybe this inf o will help someone: I tried it on a new nexus 7 tablet and there it runs without problems… sems to be the android version that makes troubles… if anybody gets it to run on android 2.3.6 please let me know!

I feel like such an idiot. I have had GameAds up and running now for about a week and everything seems to be working just fine. Problem is that I still have not figured out how to set and give rewards. Right now I am just using showImpact(“thegameid”) on a button and in my own code set that if the button is pressed currency += 10. This of course just shows the video and does not register any reward given. Says in the documents that you set the reward in the admin panel but I can’t seem to find it anywhere. So what I need help with is how to use the reward system.

Hi Ragee,

You can do reward by registering a videocompleted callback

See here:
https://github.com/Applifier/applifier-mobile-impact/blob/master/unity3d/applifier-impact-mobile-unity3d/Assets/Plugins/ApplifierImpactMobile/ApplifierImpactMobile.cs#L44

On the video ads there is an option where the user can skip the video, so you might want to add a check for that before you give out the reward.

You can set the rewards also in our admin-panel, but that is not necessary for most use cases.

Heikki