playMaker

Author Topic: Unity Ads  (Read 30423 times)

nepomuk

  • Playmaker Newbie
  • *
  • Posts: 32
Re: Unity Ads
« Reply #15 on: May 20, 2015, 11:47:55 AM »
any ways to send an event right when the ad is closed?

weilies

  • Junior Playmaker
  • **
  • Posts: 74
Re: Unity Ads
« Reply #16 on: August 25, 2015, 08:19:48 AM »
Can unity ads show in unity game simulator? Or it has to be run on mobile even for development?

xhidnoda

  • Full Member
  • ***
  • Posts: 231
Re: Unity Ads
« Reply #17 on: August 25, 2015, 09:17:04 AM »
@weilies

YES...but only a banner test.

weilies

  • Junior Playmaker
  • **
  • Posts: 74
Re: Unity Ads
« Reply #18 on: August 27, 2015, 03:38:56 AM »
i downloaded the unityads package and when i run the game, it just show a small cube and no test ads.

There is no error logged, and it stucked in state 1 and i was expecting it should goes to either state 2-5 but it doesn't.

i am not sure which part goes wrong
« Last Edit: August 27, 2015, 03:40:30 AM by weilies »

weilies

  • Junior Playmaker
  • **
  • Posts: 74
Re: Unity Ads
« Reply #19 on: August 27, 2015, 12:04:44 PM »
i managed to resolve it, looks like i didn't set the device platform correctly.

now it directly goto "Ad Unavailable Event". What mistake did i made? There is no ad pop up either.

xhidnoda

  • Full Member
  • ***
  • Posts: 231
Re: Unity Ads
« Reply #20 on: August 27, 2015, 02:22:24 PM »
just test in your device bro  :P

weilies

  • Junior Playmaker
  • **
  • Posts: 74
Re: Unity Ads
« Reply #21 on: August 29, 2015, 12:15:19 AM »
My developer cert expired.

I am thinking to get things work before renew my license.
There really isn't a way to do that?


i follow youtube tutorial and come across the unity package
https://github.com/Applifier/unity-ads-helper

it does showing ads either i set device to iOS or Android, it worked for both (check out my attached screenshot). So, it means we can test inside Unity and restricted to just device.

There must be some setup missing or the Playmaker's Unity Ads is outdated. I wish the author can give me some pointers.
« Last Edit: August 29, 2015, 09:22:39 PM by weilies »

weilies

  • Junior Playmaker
  • **
  • Posts: 74
Re: Unity Ads
« Reply #22 on: August 30, 2015, 04:06:45 AM »

Finally i am able to make the ads working with Playmaker :)
It looks like the Init and ShowAds has to be seperate state (previously i merged both when game load, so it doesn't show up)

xhidnoda

  • Full Member
  • ***
  • Posts: 231
Re: Unity Ads
« Reply #23 on: August 31, 2015, 01:41:13 PM »
great!  ;)

dougbello

  • Playmaker Newbie
  • *
  • Posts: 32
Re: Unity Ads
« Reply #24 on: September 12, 2015, 06:58:04 PM »
Can someone help?

I had to update to unity 5 and now I'm having this problems... Everything was working fine awesome, I think its just adjust 2 or 3 commands in the actions.

But I can not code at all.

**The erros unity is giving me are:**

Assets/PlayMaker/Actions/UnityAds/UnityAds_Initialize.cs(27,47): warning CS0618: `UnityEngine.Advertisements.Advertisement.allowPrecache' is obsolete: `Advertisement.allowPrecache is no longer supported and does nothing'


Assets/PlayMaker/Actions/UnityAds/UnityAds_ShowAd.cs(46,58): warning CS0618: `UnityEngine.Advertisements.Advertisement.isReady(string)' is obsolete: `Use Advertisement.IsReady method instead'


Assets/PlayMaker/Actions/UnityAds/UnityAds_ShowAd.cs(53,106): warning CS0618: `UnityEngine.Advertisements.ShowOptions.pause' is obsolete: `ShowOptions.pause is no longer supported and does nothing, video ads will always pause the game'


Assets/PlayMaker/Actions/UnityAds/UnityAds_ShowAd.cs(55,91): warning CS0618: `UnityEngine.Advertisements.ShowOptions.pause' is obsolete: `ShowOptions.pause is no longer supported and does nothing, video ads will always pause the game'
Assets/scripts/controle ads.cs(26,35): warning CS0618: `UnityEngine.Advertisements.Advertisement.isReady(string)' is obsolete: `Use Advertisement.IsReady method instead'

Can anyone help?
Thanks
Doug.

szomaza

  • Sr. Member
  • ****
  • Posts: 253
Re: Unity Ads
« Reply #25 on: September 14, 2015, 05:29:35 AM »
In Unity 5.2.0f3 I get:
Assets/PlayMaker Custom Actions/UnityAds/UnityAds_ShowAd.cs(27,47): error CS0433: The imported type `UnityEngine.Advertisements.ShowResult' is defined multiple times

Much changes, probably because:
https://unity3d.com/unity/whats-new/unity-5.2
"It comes with the Services Window for easy SDK-free access to Unity Ads, Unity Analytics, Unity Cloud Build and Unity Multiplayer."

I guess the Unity Ads scripts by LampRabbit might need considerable updating:
http://hutonggames.com/playmakerforum/index.php?topic=8311.45

Please help!
szomaza

xhidnoda

  • Full Member
  • ***
  • Posts: 231
Re: Unity Ads
« Reply #26 on: September 14, 2015, 09:06:20 AM »
I send message to LampRabbit

escpodgames

  • Hero Member
  • *****
  • Posts: 687
    • Assets
Re: Unity Ads
« Reply #27 on: September 14, 2015, 05:49:05 PM »
Hey Guys,

Unity have made UnityAds part of Unity now and I can only assume broken the actions for anything above 5.2. I would love to help but I am super busy trying to get my game done (gah)

dougbello

  • Playmaker Newbie
  • *
  • Posts: 32
Re: Unity Ads
« Reply #28 on: September 14, 2015, 07:38:02 PM »
Thanks LampRabbit, but maybe someone else can help.

This should be priority on Playmaker, once is now inside unity and we need that to try to make some money.

Maybe Alex can help, I cannot code but I don't think it should be very complicated once you did everything already.

Please someone help!

My game (that I spent 4 months doing) is almost ready, just missing this actions to finish. It was working fine but I was dumb enough to update my unity and now it break the unity ads.

PLease!!

Doug.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Unity Ads
« Reply #29 on: September 15, 2015, 01:31:32 AM »
Hi,

 I made a trello task for it. I'll get that sorted in the next few days, and I'll put it on the Ecosystem too for convenience.

https://trello.com/c/zemFf5B7/145-unityads-for-u5-2


Bye,

 JEan