AdMob Ads Tutorial for iOS (2020)

Поделиться
HTML-код
  • Опубликовано: 25 окт 2024

Комментарии • 224

  • @CodeWithChris
    @CodeWithChris  5 лет назад +4

    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

    • @TheOuioui94
      @TheOuioui94 5 лет назад

      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

    • @opt7845
      @opt7845 4 года назад +1

      thank you for all your videos. I am learning to build the app to make some money on the side :)

    • @T1ger8oi
      @T1ger8oi 4 года назад

      Hey, can you help me fix this bug? my audio doesnt work after interstitial ad. How come other gaming apps doesnt have this issue?

    • @teejay7323
      @teejay7323 4 года назад

      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

    • @NJComic_Cartoon
      @NJComic_Cartoon 4 года назад

      OPT could you please tell me are you following this tutorial and method to learn making apps ?

  • @ItsIan.
    @ItsIan. 5 лет назад +5

    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!

    • @CodeWithChris
      @CodeWithChris  5 лет назад +1

      Congratulations! Share your story to CodeWithChris! bit.ly/cwc-app-submit 😊Thanks a lot for your support!
      -Kat

  • @petertwiss4215
    @petertwiss4215 4 года назад +3

    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.

  • @sdhermanus
    @sdhermanus 4 года назад +3

    Thankyou Chris! You've been really helpful throughtout my journey of becoming an ios engineer! FACTS!! Anyone here feels the same?

    • @CodeWithChris
      @CodeWithChris  4 года назад

      Thank you! This is awesome to hear 🙌
      - Kat

  • @AW-uh2ux
    @AW-uh2ux 5 лет назад +2

    I freaking absolutely love your instruction style. You are truly gifted.

  • @mekuabdulhabar713
    @mekuabdulhabar713 3 года назад

    Thanks for the help. Remark that its a little outdated so i recommend combine this tutorial with the documentation of admob

    • @CodeWithChris
      @CodeWithChris  3 года назад

      Thanks for your feedback! :-) -Arthur

  • @goldentimebox1435
    @goldentimebox1435 5 лет назад +5

    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

    • @CodeWithChris
      @CodeWithChris  5 лет назад

      Good to know, thanks for the info!
      @AdrienVillez

  • @m.w.1666
    @m.w.1666 5 лет назад +3

    Great tutorial! Quick question, how do one remove ads from in-app purchase?

    • @CodeWithChris
      @CodeWithChris  5 лет назад

      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

  • @brandonparham3460
    @brandonparham3460 Год назад +1

    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)

    • @CodeWithChris
      @CodeWithChris  Год назад +1

      We'll take note of this and upload an updated version! - Pat

  • @thevitruvianman9781
    @thevitruvianman9781 4 года назад +1

    Why did you use firebase, what if I don't want to use it?

    • @CodeWithChris
      @CodeWithChris  4 года назад

      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

  • @garrettb2034
    @garrettb2034 6 лет назад +2

    thank you I've been waiting for someone trusted to do one of these thank you

  • @JosephSatzl-sf3rp
    @JosephSatzl-sf3rp 8 месяцев назад

    Could you please tell me how to configure and initialize Firebase in SwiftUI not Storyboard. It would be very helpful.

  • @itslilarab4837
    @itslilarab4837 4 года назад +1

    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?

    • @CodeWithChris
      @CodeWithChris  4 года назад

      Chris was a senior iOS developer. He covered these topics in this playlist bit.ly/LearnSwift2019
      Kat

  • @sandylikestravel
    @sandylikestravel 3 года назад +1

    Could you do a video for admob native ads with iOS

    • @CodeWithChris
      @CodeWithChris  3 года назад

      "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"

  • @gamex5789
    @gamex5789 4 года назад +1

    Is this the best way to insert ads? Which other options do you have? Btw sorry for my bad englisch.

    • @CodeWithChris
      @CodeWithChris  4 года назад

      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

  • @danylopolishchuk4191
    @danylopolishchuk4191 5 лет назад +2

    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

    • @CodeWithChris
      @CodeWithChris  5 лет назад

      Hopefully you are able to get a couple of extra $$ with your app!
      @AdrienVillez

  • @tanyageorgievski9123
    @tanyageorgievski9123 5 лет назад +1

    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?

  • @ottocodes
    @ottocodes 5 лет назад +2

    Thanks man! Keep up the good work!

  • @wahaxoxo
    @wahaxoxo 3 года назад +1

    How to display ad to user if user denies ATT permission in iOS 14.5+ please help?

    • @CodeWithChris
      @CodeWithChris  3 года назад +1

      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! :)

    • @wahaxoxo
      @wahaxoxo 3 года назад

      My non-personalised ads were showing without permission after publishing to app store. I had to link my app ID with AdMob settings too.

    • @CodeWithChris
      @CodeWithChris  3 года назад +1

      "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 "

  • @carloszetula2307
    @carloszetula2307 6 лет назад +7

    Great! What do you think about a notifications project too?

    • @CodeWithChris
      @CodeWithChris  6 лет назад

      Ohhhhh yes!!!! It's on our ToDo list! (even I want to see that!!)
      -Adrien

  • @RazzorrXX
    @RazzorrXX 4 года назад +2

    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?

    • @CodeWithChris
      @CodeWithChris  4 года назад

      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

  • @MichaelJohnson-
    @MichaelJohnson- 4 года назад +1

    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.

    • @CodeWithChris
      @CodeWithChris  4 года назад

      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

  • @joshcasticshow
    @joshcasticshow 4 года назад +1

    Is the UIView suppose to be that small for iPad, too?

    • @CodeWithChris
      @CodeWithChris  4 года назад

      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

    • @joshcasticshow
      @joshcasticshow 4 года назад

      @AdrienVillez, thank you.

  • @MoShehab
    @MoShehab 4 года назад +1

    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!

    • @CodeWithChris
      @CodeWithChris  4 года назад +1

      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

  • @punkysuen
    @punkysuen 4 года назад +1

    Would you make an updated version for implementing AdMod to SwiftUI?

    • @CodeWithChris
      @CodeWithChris  4 года назад

      Hello, it should be generally the same, the codes should not change much only how you display it in the UI
      - Francis

  • @nurlanakylbekov7266
    @nurlanakylbekov7266 4 года назад +1

    Why you messing Admob project with Firebase? How can I follow if I don't use firebase?

    • @CodeWithChris
      @CodeWithChris  4 года назад

      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

    • @nurlanakylbekov7266
      @nurlanakylbekov7266 4 года назад

      @@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

  • @daviddevlin7321
    @daviddevlin7321 4 года назад +2

    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!

  • @TricoliciSerghei
    @TricoliciSerghei 5 лет назад +2

    Thanks a ton, a very helpful and easy to follow video :Thumbs Up:

  • @amirroohi4566
    @amirroohi4566 6 лет назад +1

    Apps because of my hobby, nice video by the way, please keep up the awesome work

    • @CodeWithChris
      @CodeWithChris  6 лет назад

      Working on new edits as we speak! :)
      -Adrien

  • @Billiams2230
    @Billiams2230 4 года назад +2

    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

    • @CodeWithChris
      @CodeWithChris  4 года назад +3

      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

    • @antreaschatzitofi1614
      @antreaschatzitofi1614 4 года назад

      @@CodeWithChris are there any tutorials for this?

  • @prakashmaharjan6021
    @prakashmaharjan6021 6 лет назад +3

    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.

    • @CodeWithChris
      @CodeWithChris  6 лет назад

      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

  • @jbare777
    @jbare777 5 лет назад +1

    Thank you for the View Storybuilder alternative. Very smart.

  • @d4com
    @d4com 4 года назад +1

    So it's not working for me... I think the link to firebase is not working right :/

    • @CodeWithChris
      @CodeWithChris  4 года назад

      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

    • @d4com
      @d4com 4 года назад

      CodeWithChris that’s perfect, I was missing the p-list 🙄
      Cheers 🍻

  • @elimulz
    @elimulz 3 года назад

    Hi Chris, can you show us how to add ads within a collection view?

    • @CodeWithChris
      @CodeWithChris  3 года назад

      "Hello, i think you need to add it outside the collection, just make a banner or something
      - Francis"

  • @CarbonInstinct0
    @CarbonInstinct0 5 лет назад +2

    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.

    • @CodeWithChris
      @CodeWithChris  5 лет назад +1

      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

  • @bitsurfer0101
    @bitsurfer0101 5 лет назад +1

    Is it better to submit the app before going to Admobs to setup the ad?

    • @CodeWithChris
      @CodeWithChris  5 лет назад

      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

  • @tylerc9579
    @tylerc9579 4 года назад +2

    When I type pod init it says pod command not found pls help

    • @CodeWithChris
      @CodeWithChris  4 года назад

      We recommend installing cocoapods first, here is a link to a video for it ruclips.net/video/oNKVVBN2JN0/видео.html
      - Kat

  • @ZimbronApps
    @ZimbronApps 5 лет назад

    Great video!, What size should i put in UIView if i want to use smart banner size?

  • @govindsuryawanshi9052
    @govindsuryawanshi9052 5 лет назад +1

    Great stuff by you on Admob topic ..I really enjoyed it.

    • @CodeWithChris
      @CodeWithChris  5 лет назад

      Time to get some money from the hard work you put into an app!
      Thanks for watching our videos!
      @AdrienVillez

  • @布魯斯-x4e
    @布魯斯-x4e 6 лет назад +1

    thanks Chris
    !

  • @shruthipal3434
    @shruthipal3434 5 лет назад +1

    Easy to follow. Thank you for this Great Tutorial.

  • @brockchelle465
    @brockchelle465 5 лет назад +1

    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

    • @CodeWithChris
      @CodeWithChris  5 лет назад

      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

  • @ken0bey401
    @ken0bey401 4 года назад +1

    I get the Error "Framework not found" can u help me?

    • @CodeWithChris
      @CodeWithChris  4 года назад

      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

    • @ken0bey401
      @ken0bey401 4 года назад

      @@CodeWithChris I solved the problem already. I had a 'ö' in the app name. After changing it it worked for me

  • @KausT_10
    @KausT_10 6 лет назад +1

    Thanks for this I want this video.You are amazing sir.

    • @CodeWithChris
      @CodeWithChris  6 лет назад

      Thank you! Let's go make some cash!
      -Adrien

  • @bitsurfer0101
    @bitsurfer0101 5 лет назад +1

    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.

    • @CodeWithChris
      @CodeWithChris  5 лет назад

      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

  • @theresacolorado367
    @theresacolorado367 2 года назад

    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.

    • @CodeWithChris
      @CodeWithChris  2 года назад

      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

  • @cameronpartee2949
    @cameronpartee2949 4 года назад +1

    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??

    • @CodeWithChris
      @CodeWithChris  4 года назад

      Try it! ruclips.net/video/8SgFbQX2Oxo/видео.html
      Kat

  • @taoapps5637
    @taoapps5637 3 года назад

    Hi Chris, thanks for the Tut, what to do if I dont have AppDelegate in my app?

    • @CodeWithChris
      @CodeWithChris  3 года назад

      "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"

    • @taoapps5637
      @taoapps5637 3 года назад

      @@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

  • @xscitobor1233
    @xscitobor1233 6 лет назад +2

    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

    • @CodeWithChris
      @CodeWithChris  6 лет назад

      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

  • @efthimistsantes
    @efthimistsantes Год назад

    Hello I get an error installing pod init it says: permission denied

  • @WesleyFranks
    @WesleyFranks 4 года назад

    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.

    • @CodeWithChris
      @CodeWithChris  4 года назад

      Hello, thank you for pointing that out, this is noted and we will check on what we can do to correct it
      - Francis

  • @TiagoSiqueiraxD
    @TiagoSiqueiraxD 4 года назад +1

    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?

    • @CodeWithChris
      @CodeWithChris  4 года назад

      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

  • @reuben3077
    @reuben3077 5 лет назад +1

    navigating terminal is difficult, any tips?

    • @CodeWithChris
      @CodeWithChris  5 лет назад +1

      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

  • @kathryndonaldson1455
    @kathryndonaldson1455 3 года назад

    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?

    • @CodeWithChris
      @CodeWithChris  3 года назад

      "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"

    • @kathryndonaldson1455
      @kathryndonaldson1455 3 года назад

      @@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.

  • @meorharrieth162
    @meorharrieth162 5 лет назад +1

    so i need to download xcode ?

    • @CodeWithChris
      @CodeWithChris  5 лет назад

      Yes, you can get it from the Mac App Store
      -Kat

  • @Norse_Code1
    @Norse_Code1 5 лет назад +1

    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??

    • @CodeWithChris
      @CodeWithChris  5 лет назад

      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

  • @ryanbell5213
    @ryanbell5213 3 года назад

    Thanks for the instructions. Comment for the algo.

    • @CodeWithChris
      @CodeWithChris  3 года назад

      Awesome, Ryan! All the best to your projects! -Arthur

  • @whatfoodsmenu
    @whatfoodsmenu 5 лет назад +1

    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 ?

    • @CodeWithChris
      @CodeWithChris  5 лет назад

      To know traffic, you need to use an Analytics API.
      blog.appsee.com/top-11-ios-app-analytics-tools-in-2018/
      @AdrienVillez

  • @Natalie-on5ly
    @Natalie-on5ly 4 года назад

    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?

    • @CodeWithChris
      @CodeWithChris  4 года назад

      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

    • @ibrahimabdulraheem9217
      @ibrahimabdulraheem9217 Месяц назад

      Hw can I get an app for myself

  • @mohamadmortada8347
    @mohamadmortada8347 4 года назад +1

    Hello, I'm getting this error Thread 3: signal SIGABRT and I don’t know why pls help 😀

    • @CodeWithChris
      @CodeWithChris  4 года назад

      Hello, you can look at our article of common xcode errors to familiarize yourself with them :) codewithchris.com/xcode-errors/#signalsigabrt
      - Francis

  • @riccardogiacalone
    @riccardogiacalone 5 лет назад +1

    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!

    • @CodeWithChris
      @CodeWithChris  5 лет назад +2

      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

    • @nickthecoder7052
      @nickthecoder7052 5 лет назад +1

      @@CodeWithChris Yea they change it to GADMobileAds.sharedInstance().start(completionHandler: nil)

    • @danielshiffman4195
      @danielshiffman4195 5 лет назад +1

      @@CodeWithChris Does this mean we do not need the app id there anymore?

    • @danielshiffman4195
      @danielshiffman4195 5 лет назад +1

      @@nickthecoder7052 ^^

    • @danielshiffman4195
      @danielshiffman4195 5 лет назад +1

      Also the line of code the Nick said to use above is giving me the error "Use of unresolved identifier 'GADMobileAds'

  • @highRider72
    @highRider72 4 года назад

    Although the tutorial title says 2020, It looks like GADMobileAds.configure(withApplicationID: ) has been deprecated. What would be the workaround? Many thanks!

    • @CodeWithChris
      @CodeWithChris  4 года назад +1

      Hello, yes it seems that it got depreciated, follow this answer from stackoverflow instead stackoverflow.com/a/55338690
      - Francis

    • @highRider72
      @highRider72 4 года назад

      @@CodeWithChris thanks, that works!

  • @dkaysfam1404
    @dkaysfam1404 5 лет назад +1

    how did zou come about creating the x code project screen

    • @CodeWithChris
      @CodeWithChris  5 лет назад

      Creating a brand new project is part of the basic skills we teach in the 28 Day Coding Path: bit.ly/iOS28Days
      @AdrienVillez

  • @extremelyrics1959
    @extremelyrics1959 3 года назад

    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

    • @CodeWithChris
      @CodeWithChris  3 года назад

      "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 "

  • @mahranalarimi9449
    @mahranalarimi9449 4 года назад

    after adding the SDK at 9:10 and run the app it carshes , can you help please .

    • @mahranalarimi9449
      @mahranalarimi9449 4 года назад

      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

    • @CodeWithChris
      @CodeWithChris  4 года назад

      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

  • @tobyroyal6542
    @tobyroyal6542 2 года назад

    How can I get the IOS Source Code for admob? Can you please send it to me.

    • @CodeWithChris
      @CodeWithChris  2 года назад

      Hi Toby, please post your inquiry to our CodeCrew forum codecrew.codewithchris.com so that our tech support staff can help you out. - Pat

  • @jehfariMe
    @jehfariMe 5 лет назад +1

    Hi, is there a free Xcode project for Mac?

    • @CodeWithChris
      @CodeWithChris  5 лет назад

      GitHub! GitHub for anything open source! Download, test, improve...
      @AdrienVillez

  • @0od
    @0od 4 года назад +1

    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

    • @CodeWithChris
      @CodeWithChris  4 года назад

      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

  • @mottahedin
    @mottahedin 5 лет назад +1

    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?

    • @CodeWithChris
      @CodeWithChris  5 лет назад

      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

    • @mottahedin
      @mottahedin 5 лет назад +1

      @@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

    • @CodeWithChris
      @CodeWithChris  4 года назад +1

      @@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

    • @mottahedin
      @mottahedin 4 года назад

      @@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.

  • @NightEagle001
    @NightEagle001 4 года назад +1

    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

    • @CodeWithChris
      @CodeWithChris  4 года назад

      Try if this will fix it: ruclips.net/video/ea9fCSXGhSU/видео.html
      - Kat

  • @simotylerr534
    @simotylerr534 6 лет назад +1

    thank you

    • @CodeWithChris
      @CodeWithChris  6 лет назад

      You're welcome! Hopefully you got to make some extra cash!
      -Adrien

  • @wizzl8513
    @wizzl8513 5 лет назад +1

    Can you do the same video with facebook audience network ads ?

    • @CodeWithChris
      @CodeWithChris  5 лет назад +1

      Facebook offers Ads outside of Facebook itself? We can take a look!
      @AdrienVillez

  • @bruhmoment3731
    @bruhmoment3731 2 года назад

    Make an AdMob tutorial with SwiftUI pls!

  • @havoccipher323
    @havoccipher323 3 года назад

    I’m getting the error framework not found FBL promises, I have no idea what to do. Can anyone please help? Thanks in advanced!

    • @CodeWithChris
      @CodeWithChris  3 года назад

      "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"

    • @havoccipher323
      @havoccipher323 3 года назад

      @@CodeWithChris oh ok

  • @nursultanyelemessov480
    @nursultanyelemessov480 5 лет назад

    The process with a swift ui is the same?

    • @CodeWithChris
      @CodeWithChris  4 года назад

      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

  • @helenerottier1708
    @helenerottier1708 5 лет назад +1

    🤗Thank you Chris-talClear!

    • @CodeWithChris
      @CodeWithChris  5 лет назад

      Good one, good one!
      True that Chris is really good. Helene'xplains very well!.
      -Adrien

  • @rtthomas4216
    @rtthomas4216 5 лет назад +1

    How do i update my SDK on AdMob

    • @CodeWithChris
      @CodeWithChris  5 лет назад +1

      Via Cocoapod. pod install instead of pod update, works better.
      @AdrienVillez

  • @mindchokolate
    @mindchokolate 3 года назад

    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

    • @CodeWithChris
      @CodeWithChris  3 года назад

      "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"

  • @franklynomeben527
    @franklynomeben527 Год назад

    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.

    • @CodeWithChris
      @CodeWithChris  Год назад

      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

  • @mmusk1469
    @mmusk1469 6 лет назад

    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

    • @CodeWithChris
      @CodeWithChris  6 лет назад

      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

  • @guruitcompany
    @guruitcompany 6 лет назад +1

    Nice! 👍

  • @ДенисЛапшин-с2р
    @ДенисЛапшин-с2р 5 лет назад +1

    Perfect! Like!

  • @F3LLAROX
    @F3LLAROX 6 лет назад

    When using "import Firebase" I get this compiler error: Could not build Objective-C module 'Firebase'
    Please help

    • @CodeWithChris
      @CodeWithChris  6 лет назад

      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

  • @jakemars2601
    @jakemars2601 5 лет назад +1

    Is this international? I mean lets say I wrote the app in Europe, will someone from USA see the ads in my app?

    • @CodeWithChris
      @CodeWithChris  5 лет назад +2

      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

    • @jakemars2601
      @jakemars2601 5 лет назад +1

      Thanx ❤️

  • @bujarebscon3545
    @bujarebscon3545 5 лет назад +1

    apps for money, how do I earn from a game app , with ad mobs, how does the operation work ?

    • @CodeWithChris
      @CodeWithChris  5 лет назад

      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

  • @zhelyo5467
    @zhelyo5467 4 года назад +1

    uploaded in 2018 good

    • @CodeWithChris
      @CodeWithChris  4 года назад

      It's still relevant in 2020! :)
      - Kat

  • @Brandon-qw4tn
    @Brandon-qw4tn 5 лет назад

    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

  • @followerOfJesus723
    @followerOfJesus723 6 лет назад +1

    I want to learn swift to develop apps for money.

  • @ChrisHornberger
    @ChrisHornberger 3 года назад

    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 :\

    • @CodeWithChris
      @CodeWithChris  3 года назад

      Hopefully our future tutorials will help you, Chris! :-) -Arthur

    • @ChrisHornberger
      @ChrisHornberger 3 года назад

      @@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!

  • @sinanavci2778
    @sinanavci2778 5 лет назад

    can't see in the simulator

    • @CodeWithChris
      @CodeWithChris  5 лет назад

      Make sure to check AdMob's documentation to make sure some code didn't change since the publication of this video.

  • @dakevs
    @dakevs 4 года назад

    I find it amazing that the most useful thing about this video (at least for me) starts at the 13:37 mark. Hah!

    • @CodeWithChris
      @CodeWithChris  4 года назад

      Thanks for watching! Glad you found something very useful here.
      -Kat

  • @teejay7323
    @teejay7323 4 года назад

    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

    • @CodeWithChris
      @CodeWithChris  4 года назад

      Hello, thats weird, you should be able to use firebase easily using just your google account, perhaps its banned on your country?
      - Francis

  • @lounilongheval2126
    @lounilongheval2126 5 лет назад +1

    Both

  • @Wonixer
    @Wonixer 4 года назад +1

    I got a sigbart

    • @CodeWithChris
      @CodeWithChris  4 года назад

      SIGABRT is usually Xcode's way of saying that something was linked/named wrong codewithchris.com/xcode-errors/#signalsigabrt
      -Kat

  • @truthseeker1278
    @truthseeker1278 4 года назад +2

    OMG! This is what U call "easy"?

    • @CodeWithChris
      @CodeWithChris  4 года назад +1

      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

  • @MoeDimanche
    @MoeDimanche 2 года назад +1

    Jesus Christ. you get nothing until 14:00

    • @CodeWithChris
      @CodeWithChris  2 года назад

      Well... technically you get 14 minutes of project setup, which is useful if you have never done it before.
      @AdrienVillez

  • @kuengatshering3530
    @kuengatshering3530 6 лет назад

    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....

    • @CodeWithChris
      @CodeWithChris  6 лет назад

      We have a community for this: bit.ly/CWCCommunity
      You'll find the help you need.
      -Adrien

    • @wanjohinjuguna6757
      @wanjohinjuguna6757 6 лет назад

      Hello how do you earn from admob please

  • @peterolafson3124
    @peterolafson3124 5 лет назад

    @%!& 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?

    • @CodeWithChris
      @CodeWithChris  5 лет назад

      Here you go: [7 minutes]
      How else do you use 3rd party APIs and keep them up to date?
      -Adrien

  • @warbaby8939
    @warbaby8939 4 года назад +1

    H h I