AdMob Interstitial Ad Tutorial 2021 - Android Studio - Google Ad SDK 20.3.0

  Рет қаралды 3,347

Intelligent Coding

Intelligent Coding

Күн бұрын

Пікірлер: 50
@phillaysheo8
@phillaysheo8 3 жыл бұрын
The title is in english The video is in english. Thank you
@mafnomekanix5442
@mafnomekanix5442 3 жыл бұрын
love your tutorial...
@intelligentcoding689
@intelligentcoding689 3 жыл бұрын
Thanks
@Something2LearnOfficial
@Something2LearnOfficial 3 жыл бұрын
could you make a video on making separate class and call it in every activity.
@intelligentcoding689
@intelligentcoding689 3 жыл бұрын
I wanted to that, but when I was practicing it, I found no advantages on singleton class for advertisements, because, even if you make a singleton class, you need to import onAdLoad, onAdFailedToLoad methods and set the fullScreenCallBack to you activities to get the listeners methods, therefore singleton class results more coding with no advantages. Everything you need in singleton class, is placed in the advertising library.
@androide9605
@androide9605 3 жыл бұрын
Hi nice video, could you make one for the rewarded ads please.
@intelligentcoding689
@intelligentcoding689 3 жыл бұрын
I already uploaded a video about it, Please see the below link kzbin.info/www/bejne/lXjKgmuje82KgqM
@mbatoo
@mbatoo 3 жыл бұрын
Please Tell How to Show GDPR Pop up .. And Explain Some other Alternative For WITHOUT SHOWING GDPR .. LIKE HOW TO SHOW ONLY NON PERSONALIZED ADS PLEASE MAKE A VIDEO ON IT
@GoingOno
@GoingOno 3 жыл бұрын
I love your explanation
@intelligentcoding689
@intelligentcoding689 3 жыл бұрын
thanks
@GoingOno
@GoingOno 3 жыл бұрын
@@intelligentcoding689 if i want to change app_id(String) through firebase then how to do? I want to change because i want implement ads when i have good number of user and i don't want to get ads limit
@intelligentcoding689
@intelligentcoding689 3 жыл бұрын
@@GoingOno you don't need any coding for this. Implement the advertising with true App-ID and Ad-Unit-ID, then go to your AdMob account, choose the Ad-Unit-ID and set eCPM to a big number like 1000$. Normally there is no ad with this much huge eCPM, therefore no ad will load in your app. As soon as you make decision to apply ads, go and reduce the eCPM (to 1.00$ for example) or disable it. Then ads are serving on the app. If you go through the way that you asked, Google will consider it as fraud.
@GoingOno
@GoingOno 3 жыл бұрын
@@intelligentcoding689 thanks you so much bro, i have one more question, I have video path url (hosted in my hosting) then how to fetch video url from firebase and show to Videoview
@bzgede3533
@bzgede3533 2 жыл бұрын
Brother please help me. I saw this article in the admo guide. and I'm confused. Who is this warning letter for? Ads may be preloaded by the Google Mobile Ads SDK or mediation partner SDKs upon calling MobileAds.initialize(). If you need to obtain consent from users in the European Economic Area (EEA), set any request-specific flags (such as tagForChildDirectedTreatment or tag_for_under_age_of_consent), or otherwise take action before loading ads, ensure you do so before initializing the Google Mobile Ads SDK .
@ankitaverma7474
@ankitaverma7474 3 жыл бұрын
Make a video Button Click show Status bar(progress bar-showing ads) during an Interstitial Ad then ad closed second activity open
@ContigoDios
@ContigoDios 3 жыл бұрын
Hi. Wd u like to do a video native ads in exit dialogo? Sdk 20.3.0
@intelligentcoding689
@intelligentcoding689 3 жыл бұрын
I uploaded a video with same title for lower sdk, I will check and if coding is changed, I will do.
@mafnomekanix5442
@mafnomekanix5442 3 жыл бұрын
Need tutorial for video rewardads in Adapter
@ameliadylan2016
@ameliadylan2016 2 жыл бұрын
for the class 'opensecondactivity' and we have mltiples how can we do plz?!
@intelligentcoding689
@intelligentcoding689 2 жыл бұрын
I already have another video bout your question. please see my video list.
@bzgede3533
@bzgede3533 3 жыл бұрын
Can I ask one last question on this subject? my application is minsdk version 21, my test device is api level 21 (lollipop) admob does not work on this device (ads are not visible) but when I test it on my api level 28 device, test ads are opened without any problems. what could be the reason for this
@intelligentcoding689
@intelligentcoding689 3 жыл бұрын
Don't worry, it's a server bug from Google, happening while testing in debugging mode. Your release version will work 100%
@bzgede3533
@bzgede3533 3 жыл бұрын
@@intelligentcoding689 Thankyou so much. you're right I tried again today. api not showing ads on 21 devices. once it showed an ad then it didn't . I have no more questions for today :)) Have a nice day
@bzgede3533
@bzgede3533 3 жыл бұрын
Hello Thankyou so much this video . But I have a big problam . Android Studio build.gradle not generate `allprojects` section and causes error when manually added what is the reason ? Thankyou so much again
@intelligentcoding689
@intelligentcoding689 3 жыл бұрын
Because you already have Google and mavenCentral repositories in settings.gradle file Just remove allProject/repositories from project level of your build grade file.
@bzgede3533
@bzgede3533 3 жыл бұрын
@@intelligentcoding689 then there is no ad display. I have added ads without any problems by watching your videos before. but now the ads are not displayed . what would be the reason
@intelligentcoding689
@intelligentcoding689 3 жыл бұрын
@@bzgede3533 try another emulator or use a physical device. Don't forget to read the log in BUILD tab
@bzgede3533
@bzgede3533 3 жыл бұрын
@@intelligentcoding689 Brother THANKYOUUUUUUUU SO MUCH :)))) I've been trying for 4 hours. I have a phone that I use for testing. I used to do all the tests on it before. Never had a problem. I've been trying the ad on that phone for 4 hours. I changed the device after your message and it was working fine. No problem. God bless you bro. Thank you so much
@intelligentcoding689
@intelligentcoding689 3 жыл бұрын
@@bzgede3533 🍻 cheers
@dewamadesudiarsa9532
@dewamadesudiarsa9532 2 жыл бұрын
Sir, please make a video calling another ad if the admob interstitial fails to load. example: admob interstitial failed to load, then an applovin ad will appear. thank you
@mbatoo
@mbatoo 3 жыл бұрын
GREAT WORK SIR THANKYOU FOR THIS AWESOME VIDEO .. SIR I HAVE A QUESTION HOW TO RESET COUNTER AFTER EVERY 7 OR 6 CLICKS ON THAT SAME BUTTON .. PLEASE REPLY THANKYOU ..
@intelligentcoding689
@intelligentcoding689 3 жыл бұрын
add following code to onDissmissedFullScreenContent() method new CountDownTimer(6000, 1000){ // for 6 second set timer on 6000 milliseconds public void onTick(long millisUntolFinished){ //this method will be called every 1000 milliseconds } public void onFinished(){ counter =0; } }.start(); To reset counter after 6 clicks add following codes If(mInterstitial != null && counter%3==0){ mInterstital.show(getApplicationContex()); }else{ // whatever you want to do } counter++ If (counter >7){ counter = 0; }
@mbatoo
@mbatoo 3 жыл бұрын
@@intelligentcoding689 I completely RESET counter .. thanks for that .. now please tell how to show ads on every 7 click on that same button
@intelligentcoding689
@intelligentcoding689 3 жыл бұрын
@@mbatoo to show the ad every 7 clicks, you don't need to reset the "counter", see the below link and instead of counter%2==0 write counter%7==0 kzbin.info/www/bejne/rmbGdJ2PnbaHbpo If(mInterstital!=null && counter%7==0){ mInterstitial.show(getApplicationContex()); }
@mbatoo
@mbatoo 3 жыл бұрын
@@intelligentcoding689 great work sir but I'm talking about without leaving that activity I want to show ad because I created a .Technical Tip giving App which have more than 14 pages with a next button so I want to show Ad on every 5 or 7 click to user .. by the way . Love your channel ❤️ And videos
@intelligentcoding689
@intelligentcoding689 3 жыл бұрын
@@mbatoo if you don't leave the activity, just follow my instruction in the video, if you want to apply the counter on any button in any activity it's totally different. Just replace "intent" with whatever you want. If(mInterstital != null && counter%7==0){ mInterstital. Show(getApplicationContex()); }else{ // whatever you want to do, for example go to next page or open avctiviy } Also dont forget to update onDissmissedFullScreenContent() @Override public void onDissmissedFullScreenContent(AdError adError){ // whatever you want to do, for example go to next page or open avctiviy }
@kamaloulbraim2768
@kamaloulbraim2768 3 жыл бұрын
bro i have a problem but when i post the comment they delete it how can i talk to you instagram or something please bro
@intelligentcoding689
@intelligentcoding689 3 жыл бұрын
Hi, How I can help you? did you read the log into the Build window. when you face to a problem like that, the BUILD log can lead you to solve it.
@mdharunurrashid5791
@mdharunurrashid5791 3 жыл бұрын
@Intelligent Coding How to show Interstitial Ad automatically every one minute ?
@intelligentcoding689
@intelligentcoding689 3 жыл бұрын
You can use a CountDownTmer, but using timer to show full screen ads is AdMob policy violation and Google will suspend your AdMob account.
@bzgede3533
@bzgede3533 3 жыл бұрын
This is the last question bro :) please don't be angry. I do interstitial ad completely without any problems. I open the application on the api level 24 device, I look at the Log screen, the ad is called in oncreat, but then I get a "No ad config" response from the Log record in onfailedToLoad. I open the same application on my api level 28 device. There is no problem. everything is perfect. is this a bug or is it my fault?
@intelligentcoding689
@intelligentcoding689 3 жыл бұрын
It's the same google server bug, your app is fine
@bzgede3533
@bzgede3533 3 жыл бұрын
@@intelligentcoding689 My friend . The answer is as you gave. There is a bug in the Google test ad. I used my own admob ad ID and it showed ads on all devices without any problems. Thank you so much again . Have a nice day BROTHER... realy you are good human ...
@GeM_097
@GeM_097 3 жыл бұрын
bro this is tooo big video make a small
@intelligentcoding689
@intelligentcoding689 3 жыл бұрын
Thanks for feedback, I wanted to discuss about it and show how it's working and what is the best practice. I tried to answer the simple questions which many persons are asking.
App Open Ad - Android Studio (AdMob SDK 19.7.0 - JAVA - 2021)
23:42
Intelligent Coding
Рет қаралды 4,3 М.
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
How is this Website so fast!?
13:39
Wes Bos
Рет қаралды 1,3 МЛН
The 8 AI Skills That Will Separate Winners From Losers in 2025
19:32
Introduction to rewarded interstitial ads
6:21
Google AdMob
Рет қаралды 25 М.
Russian secret base uncovered / Russia abandons the region
14:15
NEXTA Live
Рет қаралды 830 М.
Rewarded Ad - 2021 (AdMob SDK 19.8.0 - Android Studio - Java)
14:58
Intelligent Coding
Рет қаралды 8 М.
How to implement rewarded interstitial ads
7:19
Google AdMob
Рет қаралды 10 М.
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН