Perfect it works with unity 2021 and admob 8.4.1 and min API 22 and target API 33! But people dont forget to add android.useAndroidX=true android.enableJetifier=true in your gradleTemplate (gradle properties) in your unity program folder. C:\Program Files\Unity\Hub\Editor\2021.3.29f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\GradleTemplates.
So the ads work in unity but not in build? Dont forget to change back to the right admob codes for the build and for the ads ( banner,permie and more) example ads:adUnitId="ca-app-pub-3940256099942544/6300978111@@TheCadlCraft
Great tutorial, can you possibly do a tutorial on this? Beginning 16 January 2024, Google will require all publishers serving ads to EEA and UK users to use a Google-certified consent management platform (CMP). You can use any Google-certified CMP for this purpose, including Google's own consent management solution. If you are interested in using Google's consent management solution, start by setting up your GDPR message and implementing the UMP SDK. Learn more
@@harryking4700 Congrats if test ads are working inside unity, for android we have to find out what is the problem, make sure there is no adblocker app in your phone, then try to use android logcat it will print errors if any, so we can solve it.
I cannot follow your instructions due to errors:Error: 1. Could not find or load main class Hub\2021.3.36f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\cmdline-tools\2.1\bin\\.. Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 2. CommandInvokationFailure: Failed to update Android SDK package list. D:\Unity Hub\2021.3.36f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\cmdline-tools\2.1\bin\sdkmanager.bat --list After importing the package. Help me with
it works with unity 2021 and admob 8.4.1 and min API 22 and target API 33! But people dont forget to add android.useAndroidX=true android.enableJetifier=true in your gradleTemplate (gradle properties) in your unity program folder. C:\Program Files\Unity\Hub\Editor\2021.3.29f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\GradleTemplates.
No worries this is a jungle to get it work. Try first to make a build that work with ads and target api 33. Save that and use that as temple for all your apps in future @@iqbalsurya77
Hey bro , I have discovered this myself today that Google Ads is 100X better than unity ads. I have tried Google ads today formy first time and from my own phone in about 30minutes after checking my admob revenue , its already 0.08 Euros yet in unity i can only make this same amount in about 24 hours.
Unity Ads Gives Very Less Amount for in 6 months I Got Just 300rs by unity ads Daily Users for my game is 1.8k , so now i decided to implement ad mob ads
Nice Tutorial, But my game is crashing on android. I have used the same test ids like the ones in video, after removing all the afmob code and plugins the game is working well. Please tell me the solution. Is it with app id, or some plugin issues or other thing. Also i did the adding android. AndroidX = true it then let me build the app no errors but game is still crashing, pls help asap
Sorry @Coco-3D : why does admob show me that I have many requests but few impressions? (I currently have 103 requests and only 15 Interstitial impressions)
if you're not getting ads on your physical andriod device and If It's working fine in you unity then you'll have to turn off your Private DNS, in my case It was adguard. Though I'm getting one issue, I've used google sign in in my app as well but I'm not able to build when i've that one plugin added. let me know if you have faced that issue!
I have my Unity project, it works perfectly in the editor and on my Android device. When I import AdMob, just by importing it and adding the AdMob App ID in the editor, it works. However, on the mobile device, it crashes. I had the implementation code that works in the editor, but it couldn't work on the mobile device. So, I first removed everything related to ads, built the project without any issues, and then, with just the AdMob package added, it no longer works on Android. I've changed the Unity version, went from a Mac to a PC, and it remains exactly the same. I don't know what could be the issue.
Still patiently waiting for daily reward/mission that look up from the time that we saved in the cloud save, and can also handle the situation where the player is offline :)
Hi, I will try to create a video on that in future , but till then may be this can help you. //get system time 1. DateTime crrTime=DateTime.Now; //to save it on the server, convert it into string 2. String timeToSave=crrTime.toString(); //Fetch the string from the server 3. String timeFromServer=[Store the string] //Convert it back into the date and time format 4. DateTime serverTime=DateTime.Parse(timeFromServer); //If you want to know timespan TimeSpan gap=serverTime-DateTime.Now; I think once you can load and store the time , then rest of the things are easy. It can have some syntax error because i just directly wrote it in the comment box. Sorry for the inconvenience.
Hello, I have a problem, the test ads works in unity editor, but in android device, the only one that works is just rewarded ads, same with real ads, anyone can help ?
У меня проблема. В юнити ася реклама работает, но при биоде на андроид реклама не показывается. Вся реклама инициализируется через 3 секунды, но не загружается. Хотя в юнити все загружается моментально. Версию юнити была сначала 2020, поменял 2021, но та де проблема, версии все LTS. Буду рад помощи
Если ваша реклама работает внутри unity. Тогда он точно будет работать в Android. Просто убедитесь, 1. в вашем телефоне нет блокировщика рекламы. 2. Попробуйте запустить приложение на разных устройствах Android. 3. Если он по-прежнему не работает, установите Android logcat, а затем создайте и запустите проект, он покажет ошибку (если таковая имеется).
Hi, I have this working in the editor, and can fire off ads between levels, etc. But I get a build error relating to AndroidX. Connfiguration, releaseRuntimeClasspath contains AndroidX dependencies but the andoid.useAndroidX property is not enabled. Although I have added android.useAndroidX=true android.enableJetifier=true to my gradle template file and restarted the editor
Hello, I have been developing game for past 4 months. It is almost completed. Now when I tried adding reward ads via Google admob test id. I was able to see Ads in unity editor(I was fetching rewarded ad, but 5 sec instertial ad is being shown). But now when I build my app for Android, in Android phone I am NOT ABLE TO SEE ADS. Can anyone help me on this? Please guys, kindly help me.
Hi, Yes in the unity editor it shows "Interstitial Ad" when you load the rewarded ad, but if there is a timer running on top of that, then it is actually a rewarded video. Now if it is not running in your device make sure there is no ad blocker installed in your phone, and also try to run your app in someone else phone (some other android device). According to me if the test ads are showing then you have done everything correctly. All the best.
@@Coco-3D hello brother, thanks for the reply. It was mistake from my side. Fixed it now(was passing incorrect app ad Id in Google mobile ads settings). And it is working as expected. For others who are facing similar issue, in app Id use ~ not /
I tested it in the editor and it worked fine, but when I built the game for my Android device, it didn't show the ad and didn't respond. I suspect that the initialization is not working when building for Android.
Can you use Android Logcat, so that we can check what is the problem , and do force resolve before building the game so there are no conflicts in android libraries.
Thanks, So to load and show AD from the same button is pretty easy all you have to do is just LOAD an AD , and you can call the Show Ad function when your Ad is successfully loaded.
Thanks for the reply @Coco-3D !!!! Now, my ads is not showing in the test, can because I'm still waiting for the approval of the app content from Google Play Console?
Hello my frien i have used unity 2022.3.10f lts and use sdk 8.i have use your code and its work on unity thank you but my problem when i build on apk it isnt work on phone apk dosnt work i cant open it on phone.when i build it i havent any mistake code on unity :( whats my mistake
If app is not opening, try these 1.Make sure build settings are correct , keystore password and all 2. Do force resolve you project before building apk , so there are no conflicts. 3.If nothing happens try android logcat and build and run your project, so that we can check for errors.
ı have fixed it my friend the problem is that if we use test ıd app and buılt ıt ısnt open we need use our real admob app ıd:) but now ı cant pass to advertisment ıd for manifest ı have add code
I would also like it very much but I doubt it because the gley plugin is paid and that would be a free advertisement for them, I think that the owners of the gley asset should make a tutorial of this level...
hello again. I have a question: why is it that when I port the game to android, test ads are not shown, although everything works fine in unity. I will be glad if you help😀
Hello, If your ads are working inside unity. Then it will definetly work in android. Just make sure, 1.there is no adblocker in your phone. 2.Try to run your app in different android devices. 3.If it still don't work install android logcat, & then build and run your project , it will show the error (If any).
Hi, get this error: ADs is null or get error: Prefab Ad is Null Do u know how to fix that? My script is not MonoBehavior just simple C# class whic initialize on boot game
Hi, Thank you for the awesome tutorial. by the way, I have a question. The rewarded Ads works very well in the Unity Editor, but when my game was installed on physical Android phone, the rewarded ad is not loaded or displayed on the screen. What could be the reason??
Hi, Thankyou so much for watching.☺ If ads are not displayed in real android device then there can be several resons , please check this link support.google.com/admob/answer/9469204?hl=en
Привет! Можешь пожалуйста показать настройки компиляции игры под Android, какие пунктыnв разных настройках надо нажать чтобы не было никаких ошибок с рекламой? Заранее спасибо)
Привет, на самом деле нет никаких специальных настроек для него. Если в вашем редакторе Unity запущены тестовые объявления, значит, все в порядке. Просто замените его реальными рекламными блоками и попробуйте запустить его на своем Android, и если у вас возникнут какие-либо ошибки, дайте мне знать. Всего наилучшего!
I am pretty sure I am late for this, but are you using version 9 or 9.1.1? I had the same issue with those versions, but downgraded to 8.5.1 and it seems to recognise it.
Hai am an Indian and when I published a paid game for 20 rupees in play store I purchased it from my another gmail account and when I went to my revenue in google console payments it is showing only 13 rupees
Bro where did you find the GOOGLE MOBILE ADS APP ID? Where can I find it? Do I write the same as what you wrote? I don't have any app so I just want to try it
Hi @Coco-3D , Finally i got the problem :D Maybe this silly mistake, I forgot to delete #if UNITY_EDITOR :( so Rewarded Ads was only show in editor because of that script LOL ..@@emirkaan2021
Hi , I hope this can help forum.unity.com/threads/the-option-setting-android-enabler8-false-is-deprecated-conflict-between-admob-firebase-plugin.1419533/#:~:text=42-,In%20my%20case,-(Unity%202021.3.26)%20ticking
Hi Coco 3D, i wanna say Thank You for Great Tutorial. It means a lot to me. but I have a question, when I test on editor, rewardedAds working fine. But in Real Devices, it's not work. How to fix that ? Thank You
Hey Thanks 😇, If your rewarded Ad is not working on real device that means probably it is throwing some error, we just have to find what that error is, For that you can download Android Logcat from package manager.
Hi @@Coco-3D , Finally i got the problem :D Maybe this silly mistake, I forgot to delete #if UNITY_EDITOR :( so Rewarded Ads was only show in editor because of that script LOL ..
Yes , Check out my new video on Unity LevelPlay, It has Admob, UnityAds, Applovin Ads and Ironsource Ads. All in one project. ruclips.net/video/sU5njx1jn8w/видео.html
bro showing me error: Severity Code Description Project File Line Suppression State Warning CS0618 'AdRequest.Builder' is obsolete: 'Use AdRequest directly instead.' Assembly-CSharp D:\MathQuizMitu\Assets\Scripts\GoogleAds.cs 304 Active Error CS0246 The type or namespace name 'AdLoader' could not be found (are you missing a using directive or an assembly reference?) Assembly-CSharp D:\MathQuizMitu\Assets\Scripts\GoogleAds.cs 299 Active Error CS0246 The type or namespace name 'AdLoader' could not be found (are you missing a using directive or an assembly reference?) Assembly-CSharp D:\MathQuizMitu\Assets\Scripts\GoogleAds.cs 299 Active Error CS0246 The type or namespace name 'NativeAd' could not be found (are you missing a using directive or an assembly reference?) Assembly-CSharp D:\MathQuizMitu\Assets\Scripts\GoogleAds.cs 31 Active Error CS0246 The type or namespace name 'NativeAdEventArgs' could not be found (are you missing a using directive or an assembly reference?) Assembly-CSharp D:\MathQuizMitu\Assets\Scripts\GoogleAds.cs 307 Active
make load and show in one button, and if system not loaded or no ads for just display popup message try in next time, please make extra video for these two features.
You are a very good developer. But you are not a good teacher. Let me give you advice as a teacher. Never use 2x or higher acceleration. It will be much better for novices if you always show each step clearly and you will appeal to more people. Thanks for your hard work. I hope you consider my suggestion :)
Thank you for your suggestion! I will definitely try to reduce the speed of my videos in the future to ensure that each step is clearly understandable. By the way, I only speed up the videos to prevent users from getting bored, especially during common steps. So, In future, I'll be more careful and selective in using speed-ups to strike the right balance between engagement and clarity. Your feedback is valuable, and I appreciate your support! 😊
I was finally able to do a build by updating the 'CORRECT' Gradle file. I am now having publish issues 'Your advertising ID declaration in Play Console says that your app uses advertising ID. A manifest file in one of your active artifacts doesn't include the com.google.android.gms.permission.AD_ID permission.'
when we install Admob ads sdk it also include a menifest file , which has that permission. so we don't have to do it again, or may be it appear after force resolve in a seperate menifest file.
I had an error the banner was not shown so I updated it to 8.5.2 and it worked I hope it helps someone
Those who are reading this i hope you all were doing good and one day your game will break the internet
Great tutorial,
most complete admob tutorial i've ever seen
Did you completed implementation?😅
Perfect it works with unity 2021 and admob 8.4.1 and min API 22 and target API 33! But people dont forget to add android.useAndroidX=true
android.enableJetifier=true in your gradleTemplate (gradle properties) in your unity program folder. C:\Program Files\Unity\Hub\Editor\2021.3.29f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\GradleTemplates.
buddy please help me
@@techie_harshu with what?
@@awesome1337 Could you help? Ads are not displayed after the application build. Unity is fine. These lines are in the gradle. :/
So the ads work in unity but not in build? Dont forget to change back to the right admob codes for the build and for the ads ( banner,permie and more) example ads:adUnitId="ca-app-pub-3940256099942544/6300978111@@TheCadlCraft
I didnt need to add those Androix=true toto data\PlaybackEngines\AndroidPlayer\Tools\GradleTemplates but rather to the \Assets\Plugins\Android
Very good, thanks for this!🎉❤
hey thanks for these vids, admob and unity ads.
Great Content. Thank you!
My game build sucessfully,but crashed when install on phone
Remove ads and try. It will work. Its because of ads. I faced same issue
@@rashidiqbal5346hello rashid, how did you resolved this issue? I am facing similar issue
Did you Force resolve before building the game?
Did you find any solution?
i clear it i all do it but failed .. i problem is admob id error
THANKS BRO !!!! , now i can shop a ferrari
Thanks for the video 😊
Thanks for watching!! ☺
When changing scenes or say Banner ad failed to load should we do a Coroutine and try again ?
Can It be used for webgl games or we need to use Addsense for it?? Please reply as soon as possible
I tried version 2021,2022 but every time when i import googleadmob plugins and build my game ,it crashed in android
please help me out
Hi, Can you once please try to Force resolve your project before building it. so we can make sure there are no conflicting android dependencies.
Issue resolved..but the solution is not forced resolved
@@techie_harshu So what was the solution?
Do you have a video tutorial for making the 3d app you showed?
How i can show the banner ad without the button (when i start the game the ad shown)
Just call the LoadBannerAd in Start and that's it.
Great tutorial, can you possibly do a tutorial on this? Beginning 16 January 2024, Google will require all publishers serving ads to EEA and UK users to use a Google-certified consent management platform (CMP). You can use any Google-certified CMP for this purpose, including Google's own consent management solution. If you are interested in using Google's consent management solution, start by setting up your GDPR message and implementing the UMP SDK. Learn more
Hi Fubsy, Let me check this,and then i'll try to make a video on that.
Sir i have a mini project test ad shown on unity engine but when build apk try on mobile phone then ad not shown ...help
@@harryking4700 Congrats if test ads are working inside unity, for android we have to find out what is the problem, make sure there is no adblocker app in your phone, then try to use android logcat it will print errors if any, so we can solve it.
@@harryking4700 I am facing same problem since 15 days but still not resolved. HELP someone..
The Ads were succesfully added. But there is a problem in gradle build. can anybody help me?
Delete the gradles and make em re build
My game demo ads working but real ads id not working, ads not showing after Update apps
Same problem do you find any solution
rewarded ads are not working ,they are showing up but they are not giving rewards, plz help!
I cannot follow your instructions due to errors:Error:
1. Could not find or load main class Hub\2021.3.36f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\cmdline-tools\2.1\bin\\..
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
2. CommandInvokationFailure: Failed to update Android SDK package list.
D:\Unity Hub\2021.3.36f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\cmdline-tools\2.1\bin\sdkmanager.bat --list
After importing the package. Help me with
After building the project , it crashes What can I do to change this please.
Did you Force resolve android dependency before building your project?.
@@Coco-3D Yes I did finally it worked
PERFECT ❤❤
app ads txt failed
bro why Admob shows in Editor, but not on a real Android device???
it works with unity 2021 and admob 8.4.1 and min API 22 and target API 33! But people dont forget to add android.useAndroidX=true
android.enableJetifier=true in your gradleTemplate (gradle properties) in your unity program folder. C:\Program Files\Unity\Hub\Editor\2021.3.29f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\GradleTemplates.
@@awesome1337 Ty broo you save me
No worries this is a jungle to get it work. Try first to make a build that work with ads and target api 33. Save that and use that as temple for all your apps in future
@@iqbalsurya77
Toooooooooooop, thank you so much
Thaaaaaaaaaannnnks for watching !!😄
Unity ads or google ads? which one is better do you think?
It's hard to say which one is better (Both are Best), but integration wise Unity is easy. So i prefer unity ads.
@@Coco-3D thanks
@@AbdullahBeyKing I think google ads is best. More money
Hey bro , I have discovered this myself today that Google Ads is 100X better than unity ads. I have tried Google ads today formy first time and from my own phone in about 30minutes after checking my admob revenue , its already 0.08 Euros yet in unity i can only make this same amount in about 24 hours.
Unity Ads Gives Very Less Amount for in 6 months I Got Just 300rs by unity ads Daily Users for my game is 1.8k , so now i decided to implement ad mob ads
Nice Tutorial, But my game is crashing on android. I have used the same test ids like the ones in video, after removing all the afmob code and plugins the game is working well. Please tell me the solution. Is it with app id, or some plugin issues or other thing. Also i did the adding android. AndroidX = true it then let me build the app no errors but game is still crashing, pls help asap
Did you fix it
Sorry @Coco-3D : why does admob show me that I have many requests but few impressions? (I currently have 103 requests and only 15 Interstitial impressions)
i used Tested ad id so i build apk not showing me Tested ad poster in mobile apk but Unity editor show tested ad how i fix this
hello , i have a one question about native ads, is native ads working on 3d view only? if not then how to put native ads in canvas overlay
if you're not getting ads on your physical andriod device and If It's working fine in you unity then you'll have to turn off your Private DNS, in my case It was adguard. Though I'm getting one issue, I've used google sign in in my app as well but I'm not able to build when i've that one plugin added. let me know if you have faced that issue!
I have my Unity project, it works perfectly in the editor and on my Android device. When I import AdMob, just by importing it and adding the AdMob App ID in the editor, it works. However, on the mobile device, it crashes. I had the implementation code that works in the editor, but it couldn't work on the mobile device. So, I first removed everything related to ads, built the project without any issues, and then, with just the AdMob package added, it no longer works on Android. I've changed the Unity version, went from a Mac to a PC, and it remains exactly the same. I don't know what could be the issue.
Did you "force resolve" before building the game, as sometimes there are conflicts with some android libraries.
Did you solve it ?
Still patiently waiting for daily reward/mission that look up from the time that we saved in the cloud save, and can also handle the situation where the player is offline :)
Hi, I will try to create a video on that in future , but till then may be this can help you.
//get system time
1. DateTime crrTime=DateTime.Now;
//to save it on the server, convert it into string
2. String timeToSave=crrTime.toString();
//Fetch the string from the server
3. String timeFromServer=[Store the string]
//Convert it back into the date and time format
4. DateTime serverTime=DateTime.Parse(timeFromServer);
//If you want to know timespan
TimeSpan gap=serverTime-DateTime.Now;
I think once you can load and store the time , then rest of the things are easy. It can have some syntax error because i just directly wrote it in the comment box.
Sorry for the inconvenience.
Hi in native ad adLoader.LoadAd(new AdRequest.Builder().Build()); builder give an error.
That one is obsolete. You can replace it with:
adLoader.LoadAd(new AdRequest());
how about ios? I keep failing show ads to my iphone device. game is currently under develop stage on iOS.
@Coco-3D can u tell why my test ads are showing but real ads are not showing
Hello, I have a problem, the test ads works in unity editor, but in android device, the only one that works is just rewarded ads, same with real ads, anyone can help ?
can you use android logcat, so that we can check if there is any error.
Hey, can u say how to do the at the interstitial ad is shown every third time I press the button that reloads the scene
Hi, I think you should use a static int variable for that, as static variables does not changes with the scene.
Please make a video about unity ads
I already did, Please check out my Channel.☺
У меня проблема. В юнити ася реклама работает, но при биоде на андроид реклама не показывается. Вся реклама инициализируется через 3 секунды, но не загружается. Хотя в юнити все загружается моментально. Версию юнити была сначала 2020, поменял 2021, но та де проблема, версии все LTS. Буду рад помощи
Если ваша реклама работает внутри unity. Тогда он точно будет работать в Android. Просто убедитесь,
1. в вашем телефоне нет блокировщика рекламы.
2. Попробуйте запустить приложение на разных устройствах Android.
3. Если он по-прежнему не работает, установите Android logcat, а затем создайте и запустите проект, он покажет ошибку (если таковая имеется).
Thank you!@@Coco-3D
Hi, I have this working in the editor, and can fire off ads between levels, etc. But I get a build error relating to AndroidX. Connfiguration, releaseRuntimeClasspath contains AndroidX dependencies but the andoid.useAndroidX property is not enabled. Although I have added android.useAndroidX=true
android.enableJetifier=true to my gradle template file and restarted the editor
Did you solve it bro.. if you please reply and tell how you did it
@@destroyer1959 no
Hello,
I have been developing game for past 4 months. It is almost completed.
Now when I tried adding reward ads via Google admob test id. I was able to see Ads in unity editor(I was fetching rewarded ad, but 5 sec instertial ad is being shown).
But now when I build my app for Android, in Android phone I am NOT ABLE TO SEE ADS. Can anyone help me on this?
Please guys, kindly help me.
Hi, Yes in the unity editor it shows "Interstitial Ad" when you load the rewarded ad, but if there is a timer running on top of that, then it is actually a rewarded video.
Now if it is not running in your device make sure there is no ad blocker installed in your phone,
and also try to run your app in someone else phone (some other android device).
According to me if the test ads are showing then you have done everything correctly.
All the best.
@@Coco-3D hello brother, thanks for the reply.
It was mistake from my side. Fixed it now(was passing incorrect app ad Id in Google mobile ads settings). And it is working as expected.
For others who are facing similar issue, in app Id use ~ not /
@@GaneshPatil-vtox Great 👍
I tested it in the editor and it worked fine, but when I built the game for my Android device, it didn't show the ad and didn't respond. I suspect that the initialization is not working when building for Android.
Can you use Android Logcat, so that we can check what is the problem , and do force resolve before building the game so there are no conflicts in android libraries.
i have the same problem not showing ad in android when testing while it shows in unity editor, help me pls@@Coco-3D
how to change reword ads point 100 to 20 per ads show?
Help! Game is crashing in phone , working fine in unity editor, what problem?
try to add app id in assets
Thanks for this amazing tutorial! So, I have to load and show in the same button action, how can I do this? both functions in the same button?
Thanks, So to load and show AD from the same button is pretty easy all you have to do is just LOAD an AD , and you can call the Show Ad function when your Ad is successfully loaded.
Thanks for the reply @Coco-3D !!!! Now, my ads is not showing in the test, can because I'm still waiting for the approval of the app content from Google Play Console?
Hello my frien i have used unity 2022.3.10f lts and use sdk 8.i have use your code and its work on unity thank you but my problem when i build on apk it isnt work on phone apk dosnt work i cant open it on phone.when i build it i havent any mistake code on unity :( whats my mistake
If app is not opening, try these
1.Make sure build settings are correct , keystore password and all
2. Do force resolve you project before building apk , so there are no conflicts.
3.If nothing happens try android logcat and build and run your project, so that we can check for errors.
ı have fixed it my friend the problem is that if we use test ıd app and buılt ıt ısnt open we need use our real admob app ıd:)
but now ı cant pass to advertisment ıd for manifest ı have add code
Can you do the same with gley plugin integration , please!!👏
I would also like it very much but I doubt it because the gley plugin is paid and that would be a free advertisement for them, I think that the owners of the gley asset should make a tutorial of this level...
Can you do the same with Applovin mediation or bidding Admob,Facebook, ironsource, Unity Ads), please!!
I am planning to make a video on mediation, So stay tune.☺
when ??
@@Coco-3D
hello again. I have a question: why is it that when I port the game to android, test ads are not shown, although everything works fine in unity. I will be glad if you help😀
Hello, If your ads are working inside unity. Then it will definetly work in android. Just make sure,
1.there is no adblocker in your phone.
2.Try to run your app in different android devices.
3.If it still don't work install android logcat, & then build and run your project , it will show the error (If any).
@@Coco-3D can we write off in the messenger?
Hi, get this error: ADs is null or get error: Prefab Ad is Null
Do u know how to fix that?
My script is not MonoBehavior just simple C# class whic initialize on boot game
I think you should use MonoBehavior and attach it to any gameobject in your first scene. Is there any special reason you removed it.
@@Coco-3D did it, but not helped ((
@@НикитаМордик-к8ф re import Google Admob SDK file
Hi, Thank you for the awesome tutorial. by the way, I have a question. The rewarded Ads works very well in the Unity Editor, but when my game was installed on physical Android phone, the rewarded ad is not loaded or displayed on the screen. What could be the reason??
Hi, Thankyou so much for watching.☺
If ads are not displayed in real android device then there can be several resons , please check this link support.google.com/admob/answer/9469204?hl=en
4~5 sec time needed between load ads and show ads function. cuz it should download ads from ads server.
Привет! Можешь пожалуйста показать настройки компиляции игры под Android, какие пунктыnв разных настройках надо нажать чтобы не было никаких ошибок с рекламой? Заранее спасибо)
Привет, на самом деле нет никаких специальных настроек для него. Если в вашем редакторе Unity запущены тестовые объявления, значит, все в порядке. Просто замените его реальными рекламными блоками и попробуйте запустить его на своем Android, и если у вас возникнут какие-либо ошибки, дайте мне знать.
Всего наилучшего!
Brother how we can make ads load and show dynamically without ignoring admob policies
can i show admob ads in my unity game without publishing it on google play & make profit ? (mean share it like apk file )
Yes, you can do that.
thank you so muck can you do video about mediation using Gley plugin
Sure , I'll try to make a video on that👍
@@Coco-3D thanks man
error CS0426: The type name 'Builder' does not exist in the type 'AdRequest' anyone help?
Same problem do you find any solution
That one is obsolete. You can replace it with:
adLoader.LoadAd(new AdRequest());
@@Demo-o8t1h That one is obsolete. You can replace it with:
adLoader.LoadAd(new AdRequest());
There is an error given below if anyone has any suggestions then let me know
"the type name 'builder' does not exist in the type 'AdRequest' "
I am pretty sure I am late for this, but are you using version 9 or 9.1.1? I had the same issue with those versions, but downgraded to 8.5.1 and it seems to recognise it.
That one is obsolete. You can replace it with:
adLoader.LoadAd(new AdRequest());
Where can i get those ID´s from my account?
bro my gam wrok fine on mobile but now not opening after adding admob to it. it just start crashing why bro plsss help mee!!!
Once try to force resolve your project and use android logcat, so that we know the cause of crash.
Hai am an Indian and when I published a paid game for 20 rupees in play store I purchased it from my another gmail account and when I went to my revenue in google console payments it is showing only 13 rupees
Hi, I think that's the commission that google takes for every successful payments.
Is there somewhere we can write off?
Hey!
No error show but banner ads is not showing when I play game in unity
It wont show when you play the game. You need to build the app and install it in a phone and try it.
Please tell us about the integration of IronSource because it is more profitable
Sure 👍, In future i'll make one.
Please can you do for yodo1
great work bro!
please make a tutorial for mediation too
You can watch it right here :
ruclips.net/video/sU5njx1jn8w/видео.html
Good job bro,
I had a problem: when I load banner ads the scene is shifted down and the ads is showing above it instead of being showing on it
Thanks , Well that a weird problem, Are you running it inside unity or In Android device.
@@Coco-3D on Android device
@@zordakacademy3249 you can use priority for canvas in the prefab folder related to google ads.
@@zordakacademy3249 Okay cool , now try to run it on another android device.
Sir make video of unity mediation with admob mediation
When to ad real id of admob
It working cool, but I need press on load alot of time to ads load!?
Bro where did you find the GOOGLE MOBILE ADS APP ID? Where can I find it? Do I write the same as what you wrote? I don't have any app so I just want to try it
If you don't have any app then you can use test app & add id's, same as mine.
You can copy paste the test id's from the video description.
Banner ad displayed in unity but didnt display on the phone. Why?
Hi @Coco-3D , Finally i got the problem :D
Maybe this silly mistake, I forgot to delete #if UNITY_EDITOR :( so Rewarded Ads was only show in editor because of that script LOL ..@@emirkaan2021
Hi Coco 3D, when i build project, error android.enableR8=false .... This bug is admob or my project. Thank you
Hi , I hope this can help
forum.unity.com/threads/the-option-setting-android-enabler8-false-is-deprecated-conflict-between-admob-firebase-plugin.1419533/#:~:text=42-,In%20my%20case,-(Unity%202021.3.26)%20ticking
Hi Coco 3D, i wanna say Thank You for Great Tutorial.
It means a lot to me.
but I have a question, when I test on editor, rewardedAds working fine. But in Real Devices, it's not work.
How to fix that ?
Thank You
Hey Thanks 😇,
If your rewarded Ad is not working on real device that means probably it is throwing some error, we just have to find what that error is, For that you can download Android Logcat from package manager.
@@Coco-3D okey, i'll try it .
Thank You.
Hi @@Coco-3D , Finally i got the problem :D
Maybe this silly mistake, I forgot to delete #if UNITY_EDITOR :( so Rewarded Ads was only show in editor because of that script LOL ..
Did it work for I have same issue!
@@Nobbess yes, that'ts work for me ..
Can we integrate both Unity and Admob in game
Yes , Check out my new video on Unity LevelPlay, It has Admob, UnityAds, Applovin Ads and Ironsource Ads. All in one project.
ruclips.net/video/sU5njx1jn8w/видео.html
sir , ForceResolve not working what i do
Try this:
1. Once play the game and stop it , and try again,
2. Make sure password are filled in keystore
and still dosen't work restart the Unity
Possible to do one for iOS ?
Ya sure i'll try , but i think it's almost same for both the platforms.
Bro gradel build is falling
thx brother
You're Welcome brother😇.
How to show GDPR message box in unity game?
For GDPR consent screen you can create a UI by yourself, showing your user for what purpose you are accessing there data.
bro showing me error:
Severity Code Description Project File Line Suppression State
Warning CS0618 'AdRequest.Builder' is obsolete: 'Use AdRequest directly instead.' Assembly-CSharp D:\MathQuizMitu\Assets\Scripts\GoogleAds.cs 304 Active
Error CS0246 The type or namespace name 'AdLoader' could not be found (are you missing a using directive or an assembly reference?) Assembly-CSharp D:\MathQuizMitu\Assets\Scripts\GoogleAds.cs 299 Active
Error CS0246 The type or namespace name 'AdLoader' could not be found (are you missing a using directive or an assembly reference?) Assembly-CSharp D:\MathQuizMitu\Assets\Scripts\GoogleAds.cs 299 Active
Error CS0246 The type or namespace name 'NativeAd' could not be found (are you missing a using directive or an assembly reference?) Assembly-CSharp D:\MathQuizMitu\Assets\Scripts\GoogleAds.cs 31 Active
Error CS0246 The type or namespace name 'NativeAdEventArgs' could not be found (are you missing a using directive or an assembly reference?) Assembly-CSharp D:\MathQuizMitu\Assets\Scripts\GoogleAds.cs 307 Active
its very tuff video integrate ads in unity
How do I contact you?
You can join my discord or if something really important you can send a mail to me.
Please give me this project file
make load and show in one button, and if system not loaded or no ads for just display popup message try in next time, please make extra video for these two features.
It works with one button. Just make ad load in start in app script. Then it is just to put show where ever you want
link doesn't work, please give me link
Which link is not working?
Build failed
You are a very good developer. But you are not a good teacher. Let me give you advice as a teacher. Never use 2x or higher acceleration. It will be much better for novices if you always show each step clearly and you will appeal to more people. Thanks for your hard work. I hope you consider my suggestion :)
Thank you for your suggestion! I will definitely try to reduce the speed of my videos in the future to ensure that each step is clearly understandable. By the way, I only speed up the videos to prevent users from getting bored, especially during common steps. So, In future, I'll be more careful and selective in using speed-ups to strike the right balance between engagement and clarity. Your feedback is valuable, and I appreciate your support! 😊
I was finally able to do a build by updating the 'CORRECT' Gradle file.
I am now having publish issues 'Your advertising ID declaration in Play Console says that your app uses advertising ID. A manifest file in one of your active artifacts doesn't include the com.google.android.gms.permission.AD_ID permission.'
when we install Admob ads sdk it also include a menifest file , which has that permission. so we don't have to do it again, or may be it appear after force resolve in a seperate menifest file.
phone login in unity pls
Check out my channel , I have uploaded a video on Authentication. If you want anything perticular then let me know.
VIDIO TERANJING YANG PERNAH SAYA LIHAT
Terima kasih
will these google ads work on android 13? or do we need to add something google ads permission? if yes then where to put that line -->
Where do we put this ?