Unity Ads 2021 - Easy Unity Tutorial

Sdílet
Vložit
  • čas přidán 8. 09. 2024

Komentáře • 147

  • @hoosontech
    @hoosontech  Před 3 lety +24

    Hi guys! Do take note that as of 19th Feb 2021, the "myPlacementId" variable has been changed to "mySurfacingId" in the Unity Ads Integration Guide. You do not have to change it to "myPlacementId". Just stick to "mySurfacingId" and everything should be working perfectly as well! Do comment down below if you face any problems! Thank you!

    • @monkigames921
      @monkigames921 Před 3 lety +2

      Hi great tutorial, I was wondering how to get the rewarded ads to actually give the player points in game and could you do a tutorial on it please :) thank you !!!

    • @undrscor_3512
      @undrscor_3512 Před 3 lety +1

      Hey ! Thanks for the tutorial ! :) I got a problem, basicly the Interstitial button work perfectly but nothing appear when I click on the rewarded one.
      Apparently the rewarded video is never ready as says the debug log for public void ShowInterstitialAd() {
      I wonder if you have an idea.
      Thanks !

    • @berserker7091
      @berserker7091 Před 3 lety

      Hello can i ask a question?
      Do i really need to publish my game on app store/play store in order to show an actual ads and earn money from it?
      Or is it possible to earn money if i did not publish my game on those two store and just published it on patreon?

    • @goodgamershow6505
      @goodgamershow6505 Před 3 lety

      @@berserker7091 I think Unity Ads will give you money for appstore/google play only, bc to run the code for ads, your script uses game_id, which come from Unity's monetization

    • @equiaux
      @equiaux Před 3 lety +1

      Would it be possible if you could provide me a link for the project in this video , Iam new to Unity but i managed to Finish my game and now iam stuck in adding ADS ,
      Lots of errors.! 🙏

  • @Nemanja9776
    @Nemanja9776 Před 3 lety +15

    If you are getting "Rewarded ads are unavailable" change string mySurfacingId = "rewardedVideo"; and enter string mySurfacingId = "Rewarded_Android"; Idk when but they changed the Ad Unit Id and in the guide its the old one.. Thanks for the tutorial! :D

    • @joejones2621
      @joejones2621 Před 3 lety

      THANK YOU! This was driving me crazy

    • @2treasuresstudio326
      @2treasuresstudio326 Před 3 lety +1

      so does this mean if we are releasing to iOS (IPA) mySurfacingId = "Rewarded_iOS"; ???

    • @blazeplayz3158
      @blazeplayz3158 Před 3 lety

      Legend!

    • @ashushindigames4923
      @ashushindigames4923 Před 3 lety +1

      thank you so much bro it really worked and solved by problem
      but can i know how did you know ?. so that in future i also know

    • @goodgamershow6505
      @goodgamershow6505 Před 3 lety

      thanks, but i'm curious, if my game is meant to played by IOS, will "Rewarded_Android" work? I tried to change it to "Rewarded_IOS" and etc, but nothing worked. Could you please give me a link to the docs with ACTUAL unity ads implementing, bc unity docs are outdated and still using "rewardedVideo" string

  • @Pokeccc
    @Pokeccc Před 3 lety +12

    I had to do it 4 times to make it work but I ended up solving all the errors😄

    • @simonjelinek6214
      @simonjelinek6214 Před 3 lety +2

      tu som ta necakal :)

    • @JarType
      @JarType Před 3 lety +2

      @@simonjelinek6214 eyy pokecova nejvíc pay2win hra xd

    • @liveslul
      @liveslul Před 2 lety

      nice xD snažím se taky udělat podobnou hru jako tvoji

    • @Pokeccc
      @Pokeccc Před 2 lety +1

      @@liveslul letss gooo

    • @liveslul
      @liveslul Před 2 lety +2

      Fakt si mě inspiroval, dostal sem se do game developmentu a teď už vytvářím 3D hru 😁

  • @minecraftanimations9305
    @minecraftanimations9305 Před 3 lety +4

    This is one of the best video about "how to add ad to my unity project"! THANK YOU

  • @shrit-th7go
    @shrit-th7go Před 3 lety

    Everyone who is having a problem with the ads not working then go to the dashboard through an ad then select your project then the name of your surface area should be same as the ad name (for example if you want rewarding ad then Rewarded_Android add this and it will work)
    man it took my 30 minutes

  • @rabe486
    @rabe486 Před 3 lety

    The advertisement was difficult, but thanks to your video, I solved it!!!!!!!!! Thanks~~

  • @RemiStorms
    @RemiStorms Před 3 lety +1

    Great video, I wasnt sure if I should use Google Ads or Unity Ads for my games. Unity Ads seem way faster so I might give it a try

  • @blacklight8932
    @blacklight8932 Před 3 lety +1

    wow! Easier than I thought, thanks!

  • @MrFarkasOfficial
    @MrFarkasOfficial Před 3 lety +2

    You’ve got yourself a sub, pal

  • @Kasuga-
    @Kasuga- Před 2 lety +1

    Very cool but how am i suppoese to add an ad which will show up when the player is dead in the restart option
    "to play a ad to revive the player"

  • @irtezarahman5370
    @irtezarahman5370 Před 3 lety

    You deserve more sub. Quality videos. subscribed. thanks

  • @chermainehoo214
    @chermainehoo214 Před 3 lety +1

    Best tutorial vid mate!!

  • @yougi06
    @yougi06 Před 2 lety

    Thank you for everything

  • @m_rizaal
    @m_rizaal Před 2 lety +1

    Thnx u deserve a sub

  • @masiet5562
    @masiet5562 Před 3 lety

    Thanks ur the only one that worked
    like

  • @a.b.g9755
    @a.b.g9755 Před 3 lety +4

    Unity ads or Google Admob Ads which is better?

  • @shaheeryamin6464
    @shaheeryamin6464 Před 2 lety

    Such a great teacher you are :)

  • @unitymakegame8003
    @unitymakegame8003 Před 3 lety

    Awesome tutorial! Working great!

  • @def-sam-4925
    @def-sam-4925 Před 3 lety +1

    👍 nice tuto

  • @ErhanKocaata
    @ErhanKocaata Před 3 lety

    Thanks buddy. It helped me a lot.

  • @upprrdimensions892
    @upprrdimensions892 Před 3 lety +1

    +1 subscriber To your Channel. You deserve it

  • @qqq9542
    @qqq9542 Před 3 lety

    Great tutorial!! Very well explained.

  • @bearfeeplayz2168
    @bearfeeplayz2168 Před 3 lety +2

    Does unity pay me for these ads and if so how much money per how many ads?

  • @blucatdev
    @blucatdev Před 3 lety

    Helpful, thank you!

  • @klarenvoon1111
    @klarenvoon1111 Před 3 lety

    thank you so much u deserve a sub

  • @Zerz000
    @Zerz000 Před 3 lety +1

    Thank u soooooo mutch

  • @hasan-bx2vv
    @hasan-bx2vv Před 3 lety +2

    I implemented the ads and it works fine in the unity editor but when I open it from the play store the ads not show up

    • @hoosontech
      @hoosontech  Před 3 lety +1

      Is the ads button totally not working? Or does it not show any actual ads?

    • @hasan-bx2vv
      @hasan-bx2vv Před 3 lety +1

      @@hoosontech nvm I fixed it thx for replying anyways :)

    • @hoosontech
      @hoosontech  Před 3 lety +1

      ​@@hasan-bx2vv Glad that its working for you now! My best wishes to you for your mobile game!

    • @goodgamershow6505
      @goodgamershow6505 Před 3 lety +1

      @@hasan-bx2vv how did u fix it?

    • @hasan-bx2vv
      @hasan-bx2vv Před 3 lety

      @@goodgamershow6505 make sure you add ads from the unity dashboard or if your confused I suggest you watch this tutorial it worked for me czcams.com/video/Rxpj0nmlmTw/video.html

  • @equiaux
    @equiaux Před 3 lety +1

    Awesome ❤️

  • @onur3759
    @onur3759 Před 3 lety +1

    thx for the video. I wanna use "SceneManager.LoadScene(nextLevel);" when interstitial ad closed or skipped by player. how can i do that?

  • @acikgozemre
    @acikgozemre Před 3 lety

    Thank you !

  • @abyanmahya5184
    @abyanmahya5184 Před 2 lety

    Great tutorial

  • @monkigames921
    @monkigames921 Před 3 lety +3

    Can you make a video on how to ad the ads after each level ?

    • @ki5os328
      @ki5os328 Před 3 lety

      its easy u got a add manager right so afther u finished the level u will call this function where the add wil start in the meantime u can already pre load the next level or somethink else

    • @Prakharpathak633
      @Prakharpathak633 Před 2 lety

      @@ki5os328 can you pls provide the script.

  • @MrPiggybank1974
    @MrPiggybank1974 Před 3 lety +1

    @Hooson this is a nice tutorial, one issue is you never say what ad version you are using I suspect lower than 3.6.3, I believe they changed it I'm using IUnityAdsLoadListener, IUnityAdsShowListener instead, but I found the complete does not fire, it might be because it's the editor although hooking up a show result does still work and fire.

  • @mubsdeveloper4523
    @mubsdeveloper4523 Před 2 lety

    Ads are showing on editor but not on the phone after the build player

  • @pierrebaz4511
    @pierrebaz4511 Před 2 lety +1

    the integration guide for unity has completely changed
    what should i do ?

  • @mikehellio
    @mikehellio Před 3 lety

    Thanks!!!

  • @gr8siddhesh
    @gr8siddhesh Před 3 lety +1

    What if we wanna put 2 kinds of rewarded video I created 2 different placement ids and in ShowResult.Finished i check which placement id it was but this seems to be buggy 1 works while other does not

    • @hoosontech
      @hoosontech  Před 3 lety

      I think it would be better to create 2 separate scripts if you're making 2 kinds of rewarded ads for your players!

  • @williamlaslo8331
    @williamlaslo8331 Před 2 lety

    This video would be even better if Unity hadn't changed so many things on their end. The page from the link doesn't look anything like the page you went to in the video

  • @xenin321
    @xenin321 Před 3 lety +2

    where is the gameid? i dont see in unity website now

  • @princemaurya220
    @princemaurya220 Před 2 lety +1

    does this support in unity 5

  • @Edo4rdo.g
    @Edo4rdo.g Před 3 lety

    i do the same steps as you but for the InterstitialAd works all good but when i try to to the Rewardedad the script stop working. the script is same as you but with the changes of 19th feb 2021. what can be the problem? thanks in advice

  • @austinbryan6759
    @austinbryan6759 Před 2 lety

    Advertisement.IsReady has been deprecated and doesn't show up anymore

  • @ng1048
    @ng1048 Před 2 lety

    How do we change different types and lengths of the ads?

  • @FAISAL-ky7ps
    @FAISAL-ky7ps Před 3 lety

    Anybody can help me, i get error when i try to connecting my Unit ID, the error = "invalid configuration request from game Id:" and "Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.". how to fix this?

  • @evanseptory5225
    @evanseptory5225 Před 3 lety +2

    Thank you for the tutorial mate. I wanna ask you, why my rewarded video ads says" is not ready at the moment"?...

  • @elitedragon4593
    @elitedragon4593 Před 3 lety +1

    need some help i got this error 3 times Assets\RewardedAdsScript.cs(24,13): error CS0103: The name 'Advertisement' does not exist in the current context

    • @Maaxxhaha
      @Maaxxhaha Před 3 lety

      I think you forgot the "using UnityEngine.Advertisements;"

  • @eliasbatshon5455
    @eliasbatshon5455 Před 3 lety +1

    Thanks man big help keep up the good work, tho for the rewarded ads it keeps telling me unavailable. Anyone know why?

  • @Giburozu
    @Giburozu Před 3 lety

    Why my ads always not ready

  • @ABYZA
    @ABYZA Před 2 lety +1

    what if i want ads on my web gl game?

    • @ABYZA
      @ABYZA Před 2 lety

      will this ad wrk?

  • @faiz7180
    @faiz7180 Před 2 lety

    is Unity Ads actually good or is there a better option? I have heard some mixed opinions on the services.

  • @derrickd939
    @derrickd939 Před 2 lety

    the link is dead? can you post the code...

  • @jaioudev
    @jaioudev Před 3 lety

    Should i do this unity ads monetization when the project is done or while in the middle of the project?

  • @cristian-robertfaragau2242

    Hei dude, i have a problem, unity simply dont let me to close or skip my adds, i see both buttons ( skip and close) but i unable to click them

  • @luketcmz
    @luketcmz Před 2 lety

    I got a warning "placement intertitial_android is not ready" What does it mean?

  • @wemake4u444
    @wemake4u444 Před 3 lety +1

    Bro your tutorial is really good, but I am getting this error: Rewarded video is not ready at the moment! Please try again later! and ads are not loading. please help me.

    • @carlsonraywithers3368
      @carlsonraywithers3368 Před 3 lety

      Maybe you made a mistake here 5:20

    • @plasmaint
      @plasmaint Před 3 lety +1

      Don't change the game ID.

    • @ashushindigames4923
      @ashushindigames4923 Před 3 lety +1

      change string mySurfacingId = "rewardedVideo"; to enter string mySurfacingId = "Rewarded_Android";
      do this your problem will be solved

    • @margotlinne
      @margotlinne Před 3 lety

      @@ashushindigames4923 I had the same problem but I solved! thanks!

    • @goodgamershow6505
      @goodgamershow6505 Před 3 lety

      @@ashushindigames4923 what string should i use for ios? Rewarded_IOS seems to not work

  • @ragevideos7615
    @ragevideos7615 Před 3 lety

    Hey man please help me it's been over a year , my game shows the ads only sometimes and not everytime , i have initialized it can you please help me out

  • @Ultrakupra
    @Ultrakupra Před 3 lety

    Hello,first of all thank you very much for your video.
    I have a problem though,i implemented both a banner and a video ad when you die in my game but,the banner says "unity ads learn more",and the video ad is just not working.
    I have "override test mode" checked and all,i cant figure out what im doing wrong.

  • @hankyplayer2934
    @hankyplayer2934 Před 3 lety

    Can you make admob video

  • @RenzMor
    @RenzMor Před 2 lety

    Where is the Link ?????????????????

  • @ZefiDev
    @ZefiDev Před 2 lety

    does this require an playstore dev account

  • @K.K.CHANDALKAR
    @K.K.CHANDALKAR Před rokem

    Hey how to download

  • @oghood5910
    @oghood5910 Před 3 lety

    what version of unity is this? Man I need to know pronto

  • @spaceescapeobstacles7770

    how to create button or smth which disable ads for usser when he pays 1 dollar for example ?:

    • @goodgamershow6505
      @goodgamershow6505 Před 3 lety

      I think creating a bool "adShowable"(which is false for the ones who paid 1 dollar and true for the ones who didn't) will do the trick. In ShowInterstitialAd() simply check if the bool is T or F, and show the add depending on the output:
      if(adShowable){
      if (Advertisement.IsReady()) {
      Advertisement.Show();
      }
      else {
      Debug.Log("Interstitial ad not ready at the moment! Please try again later!");
      }
      }else{
      Debug.Log("Player purchased ad killer");
      }

  • @dying_coke
    @dying_coke Před 2 lety

    hey hooson can u paste the c# in reply pls it will really help me

  • @barbariankinggamer3366
    @barbariankinggamer3366 Před 3 lety +1

    Anyone elso get that their Rewerded ads are unavailable all the time?

    • @hoosontech
      @hoosontech  Před 3 lety

      Hi! Do you mean the "Rewarded Ads" not showing when you click on the button?
      If that's the case, it sounds like the Ads SDK isn't ready to show ads. When your game is running on mobile devices, it usually takes a few secs before ads are ready to be shown.
      If I did not answer your question, do explain to me more on the error! I will do my best to help you!

    • @barbariankinggamer3366
      @barbariankinggamer3366 Před 3 lety

      @@hoosontech the script detects the button click but it only Debugs : "Rewarded video is not ready at the moment! Please try again!". The interstatial ads work as they did for you but the rewarded ones just are never ready

    • @barbariankinggamer3366
      @barbariankinggamer3366 Před 3 lety

      @@hoosontech and i did build it and sent it to my phone and still didnt work

    • @hoosontech
      @hoosontech  Před 3 lety

      @@barbariankinggamer3366 Could you help me check your "myPlacementId" variable. Make sure it's equals to "rewardedVideo"
      string myPlacementId = "rewardedVideo";

    • @barbariankinggamer3366
      @barbariankinggamer3366 Před 3 lety

      @@hoosontech oh ive just seen your recent comment, i guess that was the problem

  • @kurtpublic631
    @kurtpublic631 Před 3 lety

    Can u share the source code to this

  • @mountedarts164
    @mountedarts164 Před 3 lety

    AAAAAAAH, interstial ads gives the rewards of rewarded ads, whyyyy

  • @mubsdeveloper4523
    @mubsdeveloper4523 Před 2 lety

    My unity version 3.7.5

  • @prabhakaranm7571
    @prabhakaranm7571 Před 3 lety +1

    This works fine on editor but in my android mobile ads are not showing

    • @EnchikO
      @EnchikO Před 3 lety +1

      Same :/. But i solve that. I call my Ienumerator in bad function. Check for booleans, try to put some Debug.Log if u call that function.

  • @nicholasjvr3675
    @nicholasjvr3675 Před 3 lety

    love you babe

  • @DosComasOfficial
    @DosComasOfficial Před 2 lety

    I can't tell if you're Indian of Chinese

  • @manguy5497
    @manguy5497 Před 3 lety

    frick diaahrrea

  • @ravivandersalm4586
    @ravivandersalm4586 Před 2 lety

    you sound belgian