QOTD ⚡Are you learning how to make apps as a hobby or to make money? Let me know!👇 Kick start your own app with my free 7 Day App Action Plan ➡️ bit.ly/7dplan
Hey Chris pls can you help me set up mine have tried a thousand times pls I have an iOS phone but not a laptop pls reply my comment so I could drop my google email address pls
Chris I can not thank you enough for helping me launch my first app on the app store with ads from this video. It has been a bumpy road, but thank you for this straight forward video. Really appreciate your videos, keep up the great work!
Chris, thanks for the video! Just to point out to others... there is a change in the configuration of AdMob - make sure you follow the google guide as it requires a new key in the info.plist file and different code in the AppDelegate file.
we know admob takes 30% share from our app's total revenue ...so the balance showing on our admob account page is after the deduction of admob 30% share
Use UserDefault to check a bool like adsEnabled = true/false. Depending on what this object holds, you can show or hide the ad. Opacity could work or if you add it via code, just skip the whole code. -Adrien
Can you do an updated version of this video? Using latest versions of IOS and Xcode and Swift and also implementing each different type of ad (Banner, interstitial, native, and rewarded)
Hello, it is because it is already included in firebase and can be easily added to your app along with other functionalities you might use like analytics, etc, firebase is not just a database product - Francis
Chris where did you get all of this information from? Or if you went to school, where did you get your education? Do you have more in depth videos of arrays, if statements, for loops?
"Hello, watch out for the future we might cover admobs again to update this old one.. for the meantime you can check out the official documentation for the latest information on how to set it up properly - Francis"
Hello, it should not matter that the name is on the screen/storyboard label, whats important is the name and connection it has on your code. you can change the label name though if you want so you can easily trace your code - Francis
thank you so much for informative video. I'm currently choosing between add services for my IOS game and your video helped a lot. Good walkthrough into the topic
I don't have experience with this but I think you'd still be able to display an ad.. it just won't be personalized? That's just my guess.. someone can correct me if I'm wrong. I guess it's time to make a new tutorial for monetizing with ads! :)
"Hello, maybe try to post your question in stackoverflow or in the admobs/firebase forum and see if they can help.. I can assume though that your ad would probably be still displayed,, its just that you won't be able to track users on what ads they have opened or interacted with - Francis "
Hello, that would depend on where you are in the world, usually the price varies and its by 1000 views or more, so having only those number of people will make it pretty hard to earn - Francis
Hi Chris. Thank you for the video. I think because of how much of a noob/novice @ all of this, i still am not sure..I use Adalo for creating apps without having to know coding (Im not that smart) Can this be plugged into an application like that or am I barking up the wrong tree? Thank you for your answer if you see this.
Hello, depends on what kind of app adalo produces, if let's say it creates android and ios folders (build folders) then can opt to open those projects and apply this admob tutorial - Francis
I believe the small ad banner do not get larger because you are on iPad. Now iPad is not something I have used often in coding. An iPad series by Chris could be a nice thing to add too! I'll let him know! @AdrienVillez
Hi could you please either explain or make a guide on how to deal with IDFA, EU Consent, etc and if it need to be set up or not? I followed your tutorial and all, and when I was preparing to publish I read on the documentation about Preparing for IOS14 and that got me confused and it also mentioned I need to ask user if they accept target ads or not! Plz help! Thanks!
Hello, im sorry but there should be better people to help you with security and concent, i suggest maybe hiring someone or hitting the forums like our community forum at codecrew.codewithchris.com or maybe stackoverflow - Francis
Hello, i think its required to use firebase now, but feel free to check admobs documentation if you can add it without firebase (just the pod) you might still need firebase to track how your admobs is doing though - Francis
@@CodeWithChris I have integrated Admob banner without using Firebase. For my next project I'm going to try integrate Admob native ads and reward ads without firebase. You can track your app earnings via AdMob console. If I want backend service I'll use my own website, php mysql etc. Using firebase makes project big size. I like only firebase's phone authentication. I didn't used messaging
Fantastic Video, followed it very well, but got a bit confused as GADMobileAds.configure(withApplicationID: ) is now GADMobileAds.sharedInstance().start(completionHandler: nil and the GADApplicationIdentifier needs to be entered into Info.plist. The Google Documentation describes this now. But got the Demo Ads working. Thank you again!
Hello, a simple way would be to add a useraccount tag like "isPremium", then if isPremium is true the banneradd should not be loaded/shown, else bannerad is shown - Francis
What is best approach to display adMob in multiple views like for tab bar controller? Most tutorial just show admob banner in single view app. But in real application this is not the case as we have multiple views like tab bar or navigation bar etc. Do we need to add the code in each view of viewdidload to show the add in all views? Does doing so make multiple instances of admob banner? Is it okay to make multiple instances of admob banner and will it increase the chance of ad impression? or is it necessary to just use one instance of adbanner through all the views and add it as subview or rootviewcontroller sharing from appdelegate? or are there other good approaches? Will be great to know about this.
Yes, since every UIViewController is a different "piece" in the software, you have to insert an AdMob object every single time. You could even use full page banner at some point. -Adrien
Hello, make sure to use your own link to firebase, and add the pod and googleservice-info.plist so it establishes the connection ot your app properly - Francis
Hey Chris. Thank you for all your hard work. I have a question regarding app building. What do you recommend for those people who have great app ideas but get discouraged by all this programming language! It kills creativity having to worry about the app itself.
You have to want it so bad that even the challenges and road blocks will be passed! The first 3 to 4 months will be hard ohhhh yes, but once you have that AH AH moment, you are good! That... or you have some cash and pay someone else make it for you! Also, starting with small projects is also easier than building the next [Insert a million dollar app name here] is. @AdrienVillez
I believe Apple checks that all UI elements are working and visible. If the ads are not working and that the app doesn't work properly, they might decline it. Now if it just shows a white bar, it should be fine. Also, if coded correctly if there are no ads to be displayed, nothing should show anyway. So I guess you can always submit your app and decide on the ads later. @AdrienVillez
Hello, i don't see a problem using real ads for testing, i think it should even be better because you can get a feel of the actual product with the live ads instead of a placeholder one - Francis
Hello, you probably did not add the firebase cocoapods to your project if thats the case, i suggest checking out our cocoapods article if you are not familiar with it codewithchris.com/cocoapods/ also check the firebase documentation on what pods to add - Francis
I'm building some apps to learn to program Swift and become more proficient. It would be nice to have a little extra money but that's not my focus right now.
Hey Chris. Thank you for all your tutorial. Can I implement multiple tab controllers in this single way? Each controller is calling request to download ads, that is a violation of google policy like spam error If not, can you give me a solution for different tabs? thank you.
Hello, best if you post this question in our CodeCrew forum so that our tech support staff can guide you. Go here: codecrew.codewithchris.com. Thanks for learning with us! -Arthur
I have a couple of apps on the app store but they only ever get about 50 downloads - engagement falls off about 3 months after it is released. Would putting adds on my apps actually be worth it??
"Hello, you probably have SceneDelegate right? it should work similarly to that but you are probably running a SwiftUI app instead of a storyboard, should be fine though - Francis"
@@CodeWithChris Thanks, really appreciate your reply. Unfortunatelly I have none of them I am using swiftui lifecycle that was the problem. I will be glad if you can advise me any solution. Thanks
I guess I want to do both but i haven't really posted anything yet cause i dont know what/ how to really make anything worth even downloading and then receiving an ad
Yup, I'm in the same boat. My app isn't ready to hit version 1.0.0 and so I'm not ready to put ads on it BUT as soon as it is polished enough, I'll find a few corners! -Adrien
I feel like the title is extremely misleading just because this video could "be valid" for 2020 doesn't mean it's updated for 2020. There is new info regards to the IDFA stuff that I'm currently searching for so I do feel this video doesn't help me with that info.
Hello, you can reach out to Apple Support to see why it got cancelled. There are many ways you can market your app, you can also just Google for that to see which works best for you. - Kat
It just takes practice. I also don't like to navigate when I need to update a pod so I just put my project on the Desktop for a minute, do all the Terminal thing and then put my project back to the folder that syncs with GitHub. EDIT: you can find some Terminal cheatsheet to print too. They show the most commonly used keys. @AdrienVillez
Thank you for another informative tutorial Chris. I seemingly have everything set up correctly (I can see test ads and the 'real' ads in Xcode, over 1200 ad requests in Admob, all account details filled in, correct set up for ads in AppStore) but since my app (Geo Whizz) was released the ads are no longer showing and Admob never finds my app (but does find another app I have). Do you know of any way to link Admob to the AppStore app? Why does Admob delay this final connection?
"Hello, maybe your admob is not set up for production mode? or maybe it needs other settings or priviledges in order to load data from a real device especially on a specific country or region, it would be best to check out documentation of the forums for this - Francis"
Question..could you potentially set up an app, have lets say, 5 phones. Add a revenue source (admob) and just sit there all day and click ads making yourself money? i was doing some math and if that was feasible it could prove to make good money. (10 phones clicking on 2 ads per minute per phone, assuming you collect $0.05 per click at that rate would give you $0.10 per minute per phone, or $1.00 per minute. Translate that to Pr/Hr it would come out to $60/Hr.) Is there some sort of restrictions that would prohibit such thing??
I think Google is smarter than that..... I'm guessing everything is controler by user ID or maybe the IP. If it was doable, the secret would already be out. You can always code it on one phone and give it a try and let us know. @AdrienVillez
Hi Chris, I just bought an app and am trying to add ads to it. I made an admob account and linked it to the appstore but am unsure on how to activate the apps. Do I need access to the source code for this?
Hello, yes you need to access the old app and add admobs to it for it to load and link properly. you might also need to submit this again to the appstore for checking - Francis
I go tan error: ‘configure(withApplicationID:) is deprecated: Use [GADMobileAds.sharedinstance startWithCompletionHandler:] I tried all the ways but I can’t manage to insert the string that you inserted after the applicationID in the video. Please help!
it means they (Google) changed the way we need to call the methods. This usually happens when you use 3rd party codes. Always have the documentation opened next to you when you work with code that was made by someone else: developers.google.com/admob/ios/quick-start @AdrienVillez
Although the tutorial title says 2020, It looks like GADMobileAds.configure(withApplicationID: ) has been deprecated. What would be the workaround? Many thanks!
"Hello, would be hard to visualize what you are having problem with. but it should be noted that this video is very outdated already along with the Xcode version so you are better off checking out our newer videos/content or you can check out our latest tutorial on learn.codewithchris,com if you still need help with your issue try heading to our forum and post a screenshot there codecrew.codewithchris.com - Francis "
my project has crashed , and i can not run it anymore , how can i remove all pods that we added and get to my normal state please help , i am a beginner to Xcode and been building this for while , i can send you my work if you want. please help
Hello, check out our cocoapods toturial to understand it better codewithchris.com/cocoapods/ to remove all pods you just need to do pods deintegrate - Francis
its just not working i literally tried everything to debug all the bugs that showing up its and when it all solved its shows a black screen without any bugs showing
Hi there! We created a forum for people needing coding help. Please jump over to our CodeCrew Support Group: bit.ly/CodeCrewCommunity so we can help you the best as we can! Thanks. - Kat
Hello Majid, I'm not sure I understand your question. Are you talking about a campaign in a game or an ad campaign? I'm guessing ad, but what do you mean by ad campaign? Maybe the full screen ones? You should consider posting your question (with code sample and/or screenshots) in our community group that can be found here (bit.ly/CodeCrewCommunity). Make sure to check the posting guidelines (bit.ly/CWCHowToAskForHelp) like that we can help you the best as we can! Thanks for being a CodeCrew member! @AdrienVillez
@@CodeWithChris First thank you so much for your respond and care. I am sorry, it is my totally first time starting to learn about this stuff and please know me as a beginner. My question in a simple way is how can make money with conversion by the ads? But If I explain my question more specific, I would say, how can I make money as an affiliate marketer (like click-bankers on the web) with applications like games or any other app that accept ads? Is there any place that like bank of ads (ads can showing in the apps) that we can reach out and chose? If so, how can I chose and how can I add them to any application and get commission by views? P.S. I did susceptible your channel, but couldn't find all videos to see your beginner's lesson, can you give a link. Thanks
@@mottahedin AdMob and other services do take care of all the behind-the-scenes stuff. You can Google and find a couple of those. You will make money by the numbers. More people see or tap the ads, the more money you make. So it's just a question of volume. This is why all those trending dating apps and games have so many ads showing up at random. Because it's 1 or 2 ads per day per millions of users, .... make the maths! Here are the playlists by the way, and I also recommend you to join a Meetup or an online group of devs. Beginners RUclips Playlist: bit.ly/BeginnersPlaylist Learn Swift Playlist 2019: bit.ly/LearnSwift2019 @AdrienVillez
@@CodeWithChris Thank you so much and I believe you will are and you will grow faster and greater due to your honesty and openness sharing. I hope I can I could do something in return for you as a business and financial advisor.
i did everything like in video, but when i am launching the project, it has only white screen on simulator. i don't know what to do, who has any ideas, please help
"Hello, i think its an error in firebase.. have you checked the firebase documentation? this video is outdated so there might be some changes - Francis"
Hello! Feel free to post your question in our forum community. I guarantee that you'll receive a response from one of our technical support staff. And you'll also get a chance to connect with other learners: codecrew.codewithchris.com Thanks for learning with us! Have fun! :-) -Arthur
Hi Chris! I have a bad issue:( everything is linked, worked, etc test banners, i’m also add payment info, but real banners id is empty..( test as I said- warks perfect. I add project more then i week and banners to
"Hello, maybe try some links and settings it could be that something was not permitted or did not have access in the info plist check documentation on what to do or change for release - Francis"
Chris I tried importing the google mobile ads sdk it works and test ads are displaying but it only works if I only open my workspace file. it gives error if i open the project in xcode. it gives error saying the google mobile ads sdk not found. Does this made i have to keep on building my app using the workspace only.
Thanks for the tutorial. I get an Error "ld: framework not found FileProvider for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)" I am wondering if a project really Fileprovider.framework in order to run AdMob? thanks for the answer
The best solution is to Google around the error message and see if the solution provided there works for you. I found this: stackoverflow.com/questions/45994854/xcode-8-3-framework-not-found-fileprovider-for-architecture-armv7 (yours is a bit different tho, since you have arm64) Also, the other error message on Google gave me the answer that you need to use the cocopoad Xcode project and you are instead using the default Xcode project to open. -Adrien
Did you successfully install the Pods? Share with us your code and screenshots on Facebook, we will be more able to help there than here. bit.ly/CWCCommunity -Adrien
That's a good question. I'm guessing Google would/should be able to handle this and offer more relevant data regarding the region the user is. Here is an Android question but still relevant: stackoverflow.com/questions/25350401/android-admob-in-different-countries For the rest, I would dive into AdMob's documentation and Q&A. @AdrienVillez
Hello, you the ads should automatically refresh if you put them in banner style or it depends if you just put it as a pop up from time to time. you earn every 1000 views but it depends on your country how much you earn - Francis
PLEASE I NEED THIS FOR CODE!!! I'VE BEEN LOOKING FOR SOMEONE TO DO IT ONLY WITH CODE NO STORY BOARD... Is it not possible? I'm sooooo stuck, someone help me
@@CodeWithChris Thanks. I have it working; basically I was just looking for a verification that I didn't shortcut anything, or if there was something I could have done better/easier next time. I didn't even want to use CocoaPods, but the manual installation instructions from Google were... in typical Google fashion... incorrect, or not correct-enough. The cocoa pods docs I found were so much better. Thanks!
Hello! You can always watch the video again. I also recommend searching for articles or watching another video about it online if that's something that's hard to understand. It really helps when you also get to see other developers' perspectives on the topic. - Kat
QOTD ⚡Are you learning how to make apps as a hobby or to make money? Let me know!👇 Kick start your own app with my free 7 Day App Action Plan ➡️ bit.ly/7dplan
Hi Chris I have a problem. I don't know why I have an error message :
Showing Recent Messages
:-1: Undefined symbol: _OBJC_CLASS_$_GADRequest
thank you for all your videos. I am learning to build the app to make some money on the side :)
Hey, can you help me fix this bug? my audio doesnt work after interstitial ad. How come other gaming apps doesnt have this issue?
Hey Chris pls can you help me set up mine have tried a thousand times pls
I have an iOS phone but not a laptop pls reply my comment so I could drop my google email address pls
OPT could you please tell me are you following this tutorial and method to learn making apps ?
Chris I can not thank you enough for helping me launch my first app on the app store with ads from this video. It has been a bumpy road, but thank you for this straight forward video. Really appreciate your videos, keep up the great work!
Congratulations! Share your story to CodeWithChris! bit.ly/cwc-app-submit 😊Thanks a lot for your support!
-Kat
Chris, thanks for the video! Just to point out to others... there is a change in the configuration of AdMob - make sure you follow the google guide as it requires a new key in the info.plist file and different code in the AppDelegate file.
Thanks for the info!
- Kat
Thankyou Chris! You've been really helpful throughtout my journey of becoming an ios engineer! FACTS!! Anyone here feels the same?
Thank you! This is awesome to hear 🙌
- Kat
I freaking absolutely love your instruction style. You are truly gifted.
Thank you! 🙌
-Kat
Thanks for the help. Remark that its a little outdated so i recommend combine this tutorial with the documentation of admob
Thanks for your feedback! :-) -Arthur
we know admob takes 30% share from our app's total revenue ...so the balance showing on our admob account page is after the deduction of admob 30% share
Good to know, thanks for the info!
@AdrienVillez
Great tutorial! Quick question, how do one remove ads from in-app purchase?
Use UserDefault to check a bool like adsEnabled = true/false.
Depending on what this object holds, you can show or hide the ad. Opacity could work or if you add it via code, just skip the whole code.
-Adrien
Can you do an updated version of this video? Using latest versions of IOS and Xcode and Swift and also implementing each different type of ad (Banner, interstitial, native, and rewarded)
We'll take note of this and upload an updated version! - Pat
Why did you use firebase, what if I don't want to use it?
Hello, it is because it is already included in firebase and can be easily added to your app along with other functionalities you might use like analytics, etc, firebase is not just a database product
- Francis
thank you I've been waiting for someone trusted to do one of these thank you
We have more coming out soon!
-Adrien
Could you please tell me how to configure and initialize Firebase in SwiftUI not Storyboard. It would be very helpful.
Chris where did you get all of this information from? Or if you went to school, where did you get your education? Do you have more in depth videos of arrays, if statements, for loops?
Chris was a senior iOS developer. He covered these topics in this playlist bit.ly/LearnSwift2019
Kat
Could you do a video for admob native ads with iOS
"Hello, watch out for the future we might cover admobs again to update this old one.. for the meantime you can check out the official documentation for the latest information on how to set it up properly
- Francis"
Is this the best way to insert ads? Which other options do you have? Btw sorry for my bad englisch.
Hello, it should not matter that the name is on the screen/storyboard label, whats important is the name and connection it has on your code. you can change the label name though if you want so you can easily trace your code
- Francis
thank you so much for informative video. I'm currently choosing between add services for my IOS game and your video helped a lot. Good walkthrough into the topic
Hopefully you are able to get a couple of extra $$ with your app!
@AdrienVillez
My test ads are working perfect, but when i load the real ad unit ID the console logs "Ad wasn't ready" as per the else statement?? Any reason?
Thanks man! Keep up the good work!
How to display ad to user if user denies ATT permission in iOS 14.5+ please help?
I don't have experience with this but I think you'd still be able to display an ad.. it just won't be personalized? That's just my guess.. someone can correct me if I'm wrong. I guess it's time to make a new tutorial for monetizing with ads! :)
My non-personalised ads were showing without permission after publishing to app store. I had to link my app ID with AdMob settings too.
"Hello, maybe try to post your question in stackoverflow or in the admobs/firebase forum and see if they can help..
I can assume though that your ad would probably be still displayed,, its just that you won't be able to track users on what ads they have opened or interacted with
- Francis "
Great! What do you think about a notifications project too?
Ohhhhh yes!!!! It's on our ToDo list! (even I want to see that!!)
-Adrien
How much average money would we get if we were to have like 3 users per day looking at the app for like 2 minutes each?
Hello, that would depend on where you are in the world, usually the price varies and its by 1000 views or more, so having only those number of people will make it pretty hard to earn
- Francis
Hi Chris. Thank you for the video. I think because of how much of a noob/novice @ all of this, i still am not sure..I use Adalo for creating apps without having to know coding (Im not that smart) Can this be plugged into an application like that or am I barking up the wrong tree? Thank you for your answer if you see this.
Hello, depends on what kind of app adalo produces, if let's say it creates android and ios folders (build folders) then can opt to open those projects and apply this admob tutorial
- Francis
Is the UIView suppose to be that small for iPad, too?
I believe the small ad banner do not get larger because you are on iPad. Now iPad is not something I have used often in coding. An iPad series by Chris could be a nice thing to add too! I'll let him know!
@AdrienVillez
@AdrienVillez, thank you.
Hi could you please either explain or make a guide on how to deal with IDFA, EU Consent, etc and if it need to be set up or not? I followed your tutorial and all, and when I was preparing to publish I read on the documentation about Preparing for IOS14 and that got me confused and it also mentioned I need to ask user if they accept target ads or not! Plz help! Thanks!
Hello, im sorry but there should be better people to help you with security and concent, i suggest maybe hiring someone or hitting the forums like our community forum at codecrew.codewithchris.com or maybe stackoverflow
- Francis
Would you make an updated version for implementing AdMod to SwiftUI?
Hello, it should be generally the same, the codes should not change much only how you display it in the UI
- Francis
Why you messing Admob project with Firebase? How can I follow if I don't use firebase?
Hello, i think its required to use firebase now, but feel free to check admobs documentation if you can add it without firebase (just the pod) you might still need firebase to track how your admobs is doing though
- Francis
@@CodeWithChris I have integrated Admob banner without using Firebase. For my next project I'm going to try integrate Admob native ads and reward ads without firebase. You can track your app earnings via AdMob console. If I want backend service I'll use my own website, php mysql etc. Using firebase makes project big size. I like only firebase's phone authentication. I didn't used messaging
Fantastic Video, followed it very well, but got a bit confused as GADMobileAds.configure(withApplicationID: ) is now GADMobileAds.sharedInstance().start(completionHandler: nil and the GADApplicationIdentifier needs to be entered into Info.plist. The Google Documentation describes this now. But got the Demo Ads working. Thank you again!
Thanks for the update! :)
- Kat
Thanks a ton, a very helpful and easy to follow video :Thumbs Up:
Thanks a lot! 🙌
-Kat
Apps because of my hobby, nice video by the way, please keep up the awesome work
Working on new edits as we speak! :)
-Adrien
Hi Chris, thank you for a great tutorial ( once again ). Do you have any guides on how to dismiss admob once an in app purchase has been made ?
Thanks
Hello, a simple way would be to add a useraccount tag like "isPremium", then if isPremium is true the banneradd should not be loaded/shown, else bannerad is shown
- Francis
@@CodeWithChris are there any tutorials for this?
What is best approach to display adMob in multiple views like for tab bar controller? Most tutorial just show admob banner in single view app. But in real application this is not the case as we have multiple views like tab bar or navigation bar etc. Do we need to add the code in each view of viewdidload to show the add in all views? Does doing so make multiple instances of admob banner? Is it okay to make multiple instances of admob banner and will it increase the chance of ad impression? or is it necessary to just use one instance of adbanner through all the views and add it as subview or rootviewcontroller sharing from appdelegate? or are there other good approaches? Will be great to know about this.
Yes, since every UIViewController is a different "piece" in the software, you have to insert an AdMob object every single time. You could even use full page banner at some point.
-Adrien
Thank you for the View Storybuilder alternative. Very smart.
So it's not working for me... I think the link to firebase is not working right :/
Hello, make sure to use your own link to firebase, and add the pod and googleservice-info.plist so it establishes the connection ot your app properly
- Francis
CodeWithChris that’s perfect, I was missing the p-list 🙄
Cheers 🍻
Hi Chris, can you show us how to add ads within a collection view?
"Hello, i think you need to add it outside the collection, just make a banner or something
- Francis"
Hey Chris. Thank you for all your hard work.
I have a question regarding app building. What do you recommend for those people who have great app ideas but get discouraged by all this programming language! It kills creativity having to worry about the app itself.
You have to want it so bad that even the challenges and road blocks will be passed! The first 3 to 4 months will be hard ohhhh yes, but once you have that AH AH moment, you are good!
That... or you have some cash and pay someone else make it for you!
Also, starting with small projects is also easier than building the next [Insert a million dollar app name here] is.
@AdrienVillez
Is it better to submit the app before going to Admobs to setup the ad?
I believe Apple checks that all UI elements are working and visible. If the ads are not working and that the app doesn't work properly, they might decline it.
Now if it just shows a white bar, it should be fine. Also, if coded correctly if there are no ads to be displayed, nothing should show anyway.
So I guess you can always submit your app and decide on the ads later.
@AdrienVillez
When I type pod init it says pod command not found pls help
We recommend installing cocoapods first, here is a link to a video for it ruclips.net/video/oNKVVBN2JN0/видео.html
- Kat
Great video!, What size should i put in UIView if i want to use smart banner size?
Great stuff by you on Admob topic ..I really enjoyed it.
Time to get some money from the hard work you put into an app!
Thanks for watching our videos!
@AdrienVillez
thanks Chris
!
Easy to follow. Thank you for this Great Tutorial.
Thanks!! It means a lot.
-Kat
Is it ok to use real ads when in testflight? Or should you use the test ads until your app is on the app store
Hello, i don't see a problem using real ads for testing, i think it should even be better because you can get a feel of the actual product with the live ads instead of a placeholder one
- Francis
I get the Error "Framework not found" can u help me?
Hello, you probably did not add the firebase cocoapods to your project if thats the case, i suggest checking out our cocoapods article if you are not familiar with it codewithchris.com/cocoapods/
also check the firebase documentation on what pods to add
- Francis
@@CodeWithChris I solved the problem already. I had a 'ö' in the app name. After changing it it worked for me
Thanks for this I want this video.You are amazing sir.
Thank you! Let's go make some cash!
-Adrien
I'm building some apps to learn to program Swift and become more proficient. It would be nice to have a little extra money but that's not my focus right now.
That's the spirit! Never come in this industry (as a coder at least) with the big Buck$$ sign in your eyes! (or it's likely to fail)
@AdrienVillez
Hey Chris. Thank you for all your tutorial.
Can I implement multiple tab controllers in this single way? Each controller is calling request to download ads, that is a violation of google policy like spam error
If not, can you give me a solution for different tabs?
thank you.
Hello, best if you post this question in our CodeCrew forum so that our tech support staff can guide you. Go here: codecrew.codewithchris.com. Thanks for learning with us! -Arthur
I have a couple of apps on the app store but they only ever get about 50 downloads - engagement falls off about 3 months after it is released. Would putting adds on my apps actually be worth it??
Try it! ruclips.net/video/8SgFbQX2Oxo/видео.html
Kat
Hi Chris, thanks for the Tut, what to do if I dont have AppDelegate in my app?
"Hello, you probably have SceneDelegate right? it should work similarly to that but you are probably running a SwiftUI app instead of a storyboard, should be fine though
- Francis"
@@CodeWithChris Thanks, really appreciate your reply. Unfortunatelly I have none of them I am using swiftui lifecycle that was the problem. I will be glad if you can advise me any solution. Thanks
I guess I want to do both but i haven't really posted anything yet cause i dont know what/ how to really make anything worth even downloading and then receiving an ad
Yup, I'm in the same boat. My app isn't ready to hit version 1.0.0 and so I'm not ready to put ads on it BUT as soon as it is polished enough, I'll find a few corners!
-Adrien
Hello I get an error installing pod init it says: permission denied
I feel like the title is extremely misleading just because this video could "be valid" for 2020 doesn't mean it's updated for 2020. There is new info regards to the IDFA stuff that I'm currently searching for so I do feel this video doesn't help me with that info.
Hello, thank you for pointing that out, this is noted and we will check on what we can do to correct it
- Francis
Hello, I would like to know how can I promote an application? why when I posted on facebook, youtube, email my app was canceled, is there any way?
Hello, you can reach out to Apple Support to see why it got cancelled. There are many ways you can market your app, you can also just Google for that to see which works best for you.
- Kat
navigating terminal is difficult, any tips?
It just takes practice. I also don't like to navigate when I need to update a pod so I just put my project on the Desktop for a minute, do all the Terminal thing and then put my project back to the folder that syncs with GitHub.
EDIT: you can find some Terminal cheatsheet to print too. They show the most commonly used keys.
@AdrienVillez
Thank you for another informative tutorial Chris. I seemingly have everything set up correctly (I can see test ads and the 'real' ads in Xcode, over 1200 ad requests in Admob, all account details filled in, correct set up for ads in AppStore) but since my app (Geo Whizz) was released the ads are no longer showing and Admob never finds my app (but does find another app I have). Do you know of any way to link Admob to the AppStore app? Why does Admob delay this final connection?
"Hello, maybe your admob is not set up for production mode? or maybe it needs other settings or priviledges in order to load data from a real device especially on a specific country or region, it would be best to check out documentation of the forums for this
- Francis"
@@CodeWithChris Thank you. So far, nothing is happening. There are some forums that say iOS apps can take more than 2 weeks for ads to appear.
so i need to download xcode ?
Yes, you can get it from the Mac App Store
-Kat
Question..could you potentially set up an app, have lets say, 5 phones. Add a revenue source (admob) and just sit there all day and click ads making yourself money? i was doing some math and if that was feasible it could prove to make good money. (10 phones clicking on 2 ads per minute per phone, assuming you collect $0.05 per click at that rate would give you $0.10 per minute per phone, or $1.00 per minute. Translate that to Pr/Hr it would come out to $60/Hr.) Is there some sort of restrictions that would prohibit such thing??
I think Google is smarter than that..... I'm guessing everything is controler by user ID or maybe the IP.
If it was doable, the secret would already be out.
You can always code it on one phone and give it a try and let us know.
@AdrienVillez
Thanks for the instructions. Comment for the algo.
Awesome, Ryan! All the best to your projects! -Arthur
Hi Chris the real deal question how to add these Ads to the others IOS or android mobile Apps and how we know which app has the traffic ?
To know traffic, you need to use an Analytics API.
blog.appsee.com/top-11-ios-app-analytics-tools-in-2018/
@AdrienVillez
Hi Chris, I just bought an app and am trying to add ads to it. I made an admob account and linked it to the appstore but am unsure on how to activate the apps. Do I need access to the source code for this?
Hello, yes you need to access the old app and add admobs to it for it to load and link properly. you might also need to submit this again to the appstore for checking
- Francis
Hw can I get an app for myself
Hello, I'm getting this error Thread 3: signal SIGABRT and I don’t know why pls help 😀
Hello, you can look at our article of common xcode errors to familiarize yourself with them :) codewithchris.com/xcode-errors/#signalsigabrt
- Francis
I go tan error: ‘configure(withApplicationID:) is deprecated: Use [GADMobileAds.sharedinstance startWithCompletionHandler:]
I tried all the ways but I can’t manage to insert the string that you inserted after the applicationID in the video. Please help!
it means they (Google) changed the way we need to call the methods. This usually happens when you use 3rd party codes.
Always have the documentation opened next to you when you work with code that was made by someone else: developers.google.com/admob/ios/quick-start
@AdrienVillez
@@CodeWithChris Yea they change it to GADMobileAds.sharedInstance().start(completionHandler: nil)
@@CodeWithChris Does this mean we do not need the app id there anymore?
@@nickthecoder7052 ^^
Also the line of code the Nick said to use above is giving me the error "Use of unresolved identifier 'GADMobileAds'
Although the tutorial title says 2020, It looks like GADMobileAds.configure(withApplicationID: ) has been deprecated. What would be the workaround? Many thanks!
Hello, yes it seems that it got depreciated, follow this answer from stackoverflow instead stackoverflow.com/a/55338690
- Francis
@@CodeWithChris thanks, that works!
how did zou come about creating the x code project screen
Creating a brand new project is part of the basic skills we teach in the 28 Day Coding Path: bit.ly/iOS28Days
@AdrienVillez
Hi, in 9.20 when I press comand B, my build fails and this is the error:
Buil input files cannot be found:....
please help me
"Hello, would be hard to visualize what you are having problem with. but it should be noted that this video is very outdated already along with the Xcode version so you are better off checking out our newer videos/content or you can check out our latest tutorial on learn.codewithchris,com
if you still need help with your issue try heading to our forum and post a screenshot there codecrew.codewithchris.com
- Francis "
after adding the SDK at 9:10 and run the app it carshes , can you help please .
my project has crashed , and i can not run it anymore , how can i remove all pods that we added and get to my normal state please help , i am a beginner to Xcode and been building this for while , i can send you my work if you want. please help
Hello, check out our cocoapods toturial to understand it better codewithchris.com/cocoapods/
to remove all pods you just need to do pods deintegrate
- Francis
How can I get the IOS Source Code for admob? Can you please send it to me.
Hi Toby, please post your inquiry to our CodeCrew forum codecrew.codewithchris.com so that our tech support staff can help you out. - Pat
Hi, is there a free Xcode project for Mac?
GitHub! GitHub for anything open source! Download, test, improve...
@AdrienVillez
its just not working i literally tried everything to debug all the bugs that showing up its and when it all solved its shows a black screen without any bugs showing
Hi there! We created a forum for people needing coding help. Please jump over to our CodeCrew Support Group: bit.ly/CodeCrewCommunity so we can help you the best as we can! Thanks.
- Kat
I just wanna know if I can learn how to earn by adding campaign in those apps like games they accept, is that also your filed that I learn from you?
Hello Majid, I'm not sure I understand your question. Are you talking about a campaign in a game or an ad campaign? I'm guessing ad, but what do you mean by ad campaign? Maybe the full screen ones?
You should consider posting your question (with code sample and/or screenshots) in our community group that can be found here (bit.ly/CodeCrewCommunity). Make sure to check the posting guidelines (bit.ly/CWCHowToAskForHelp) like that we can help you the best as we can!
Thanks for being a CodeCrew member!
@AdrienVillez
@@CodeWithChris First thank you so much for your respond and care. I am sorry, it is my totally first time starting to learn about this stuff and please know me as a beginner.
My question in a simple way is how can make money with conversion by the ads? But If I explain my question more specific, I would say, how can I make money as an affiliate marketer (like click-bankers on the web) with applications like games or any other app that accept ads? Is there any place that like bank of ads (ads can showing in the apps) that we can reach out and chose? If so, how can I chose and how can I add them to any application and get commission by views?
P.S. I did susceptible your channel, but couldn't find all videos to see your beginner's lesson, can you give a link.
Thanks
@@mottahedin AdMob and other services do take care of all the behind-the-scenes stuff. You can Google and find a couple of those.
You will make money by the numbers. More people see or tap the ads, the more money you make. So it's just a question of volume. This is why all those trending dating apps and games have so many ads showing up at random. Because it's 1 or 2 ads per day per millions of users, .... make the maths!
Here are the playlists by the way, and I also recommend you to join a Meetup or an online group of devs.
Beginners RUclips Playlist:
bit.ly/BeginnersPlaylist
Learn Swift Playlist 2019:
bit.ly/LearnSwift2019
@AdrienVillez
@@CodeWithChris Thank you so much and I believe you will are and you will grow faster and greater due to your honesty and openness sharing. I hope I can I could do something in return for you as a business and financial advisor.
i did everything like in video, but when i am launching the project, it has only white screen on simulator. i don't know what to do, who has any ideas, please help
Try if this will fix it: ruclips.net/video/ea9fCSXGhSU/видео.html
- Kat
thank you
You're welcome! Hopefully you got to make some extra cash!
-Adrien
Can you do the same video with facebook audience network ads ?
Facebook offers Ads outside of Facebook itself? We can take a look!
@AdrienVillez
Make an AdMob tutorial with SwiftUI pls!
Thanks for your suggestion! -Arthur
I’m getting the error framework not found FBL promises, I have no idea what to do. Can anyone please help? Thanks in advanced!
"Hello, i think its an error in firebase.. have you checked the firebase documentation? this video is outdated so there might be some changes
- Francis"
@@CodeWithChris oh ok
The process with a swift ui is the same?
Hello! Feel free to post your question in our forum community. I guarantee that you'll receive a response from one of our technical support staff. And you'll also get a chance to connect with other learners:
codecrew.codewithchris.com
Thanks for learning with us! Have fun! :-) -Arthur
🤗Thank you Chris-talClear!
Good one, good one!
True that Chris is really good. Helene'xplains very well!.
-Adrien
How do i update my SDK on AdMob
Via Cocoapod. pod install instead of pod update, works better.
@AdrienVillez
Hi Chris! I have a bad issue:( everything is linked, worked, etc test banners, i’m also add payment info, but real banners id is empty..( test as I said- warks perfect. I add project more then i week and banners to
"Hello, maybe try some links and settings it could be that something was not permitted or did not have access in the info plist check documentation on what to do or change for release
- Francis"
Chris I tried importing the google mobile ads sdk it works and test ads are displaying but it only works if I only open my workspace file. it gives error if i open the project in xcode. it gives error saying the google mobile ads sdk not found. Does this made i have to keep on building my app using the workspace only.
Hi! We suggest posting on our CodeCrew forum so that our tech support staff can help you. Just visit this link codecrew.codewithchris.com - Pat
Thanks for the tutorial.
I get an Error "ld: framework not found FileProvider for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)"
I am wondering if a project really Fileprovider.framework in order to run AdMob?
thanks for the answer
The best solution is to Google around the error message and see if the solution provided there works for you. I found this: stackoverflow.com/questions/45994854/xcode-8-3-framework-not-found-fileprovider-for-architecture-armv7
(yours is a bit different tho, since you have arm64)
Also, the other error message on Google gave me the answer that you need to use the cocopoad Xcode project and you are instead using the default Xcode project to open.
-Adrien
Nice! 👍
Perfect! Like!
When using "import Firebase" I get this compiler error: Could not build Objective-C module 'Firebase'
Please help
Did you successfully install the Pods? Share with us your code and screenshots on Facebook, we will be more able to help there than here. bit.ly/CWCCommunity
-Adrien
Is this international? I mean lets say I wrote the app in Europe, will someone from USA see the ads in my app?
That's a good question. I'm guessing Google would/should be able to handle this and offer more relevant data regarding the region the user is.
Here is an Android question but still relevant: stackoverflow.com/questions/25350401/android-admob-in-different-countries
For the rest, I would dive into AdMob's documentation and Q&A.
@AdrienVillez
Thanx ❤️
apps for money, how do I earn from a game app , with ad mobs, how does the operation work ?
Hello, you the ads should automatically refresh if you put them in banner style or it depends if you just put it as a pop up from time to time. you earn every 1000 views but it depends on your country how much you earn
- Francis
uploaded in 2018 good
It's still relevant in 2020! :)
- Kat
PLEASE I NEED THIS FOR CODE!!!
I'VE BEEN LOOKING FOR SOMEONE TO DO IT ONLY WITH CODE NO STORY BOARD...
Is it not possible? I'm sooooo stuck, someone help me
USING INTERSTIALS no banner
I want to learn swift to develop apps for money.
Let's do it!
-Adrien
I'm a purist; you lost me at Firebase inclusion. I don't even want to use AdMob but it's the most successful of the various ad systems :\
Hopefully our future tutorials will help you, Chris! :-) -Arthur
@@CodeWithChris Thanks. I have it working; basically I was just looking for a verification that I didn't shortcut anything, or if there was something I could have done better/easier next time. I didn't even want to use CocoaPods, but the manual installation instructions from Google were... in typical Google fashion... incorrect, or not correct-enough. The cocoa pods docs I found were so much better.
Thanks!
can't see in the simulator
Make sure to check AdMob's documentation to make sure some code didn't change since the publication of this video.
I find it amazing that the most useful thing about this video (at least for me) starts at the 13:37 mark. Hah!
Thanks for watching! Glad you found something very useful here.
-Kat
Someone help me pls
All my effort to set up mine is to no avail
I tried a thousand times they keep blocking my acct
Pls somebody help me
Hello, thats weird, you should be able to use firebase easily using just your google account, perhaps its banned on your country?
- Francis
Both
I got a sigbart
SIGABRT is usually Xcode's way of saying that something was linked/named wrong codewithchris.com/xcode-errors/#signalsigabrt
-Kat
OMG! This is what U call "easy"?
Hello! You can always watch the video again. I also recommend searching for articles or watching another video about it online if that's something that's hard to understand. It really helps when you also get to see other developers' perspectives on the topic.
- Kat
Jesus Christ. you get nothing until 14:00
Well... technically you get 14 minutes of project setup, which is useful if you have never done it before.
@AdrienVillez
Hello..sir....how can I contact u.....I need some help....if u r free and has keen interest in my issue ....I would like to contact u....
We have a community for this: bit.ly/CWCCommunity
You'll find the help you need.
-Adrien
Hello how do you earn from admob please
@%!& Almost seven minutes in you inform us you're using cocoa pods. I don't use cocoa pods. Can I have seven minutes of my life back?
Here you go: [7 minutes]
How else do you use 3rd party APIs and keep them up to date?
-Adrien
H h I
Hello!
- Kat