AdMob! (Firebase : Swift 2 in Xcode)
ฝัง
- เผยแพร่เมื่อ 2 ก.พ. 2025
- How to use AdMob from google to earn money from your apps! Enjoy! :D
Firebase is an optional thing to do in this video, if you're just looking for AdMob, just skip any steps involving Firebase. :)
Source Code - archetapp.com/...
~Music~
Toby - Life
• Tobu - Life *Swift 2 is now Swift 3 and a lot of changes have occurred. The logic behind these videos are still the pretty much the same, which is why I choose to leave them up, but syntax changes have occurred. Working hard to get these updated ASAP. :)
Donate (Thank you!) - www.paypal.com...
Donate (Thank you!) - www.paypal.com...
Hope you guys are enjoying all these Firebase tutorials! :D
Let me know what else you'd like to see in the future. And yes, I'm working on the messaging app. ;)
You can invite me to test it. :)
What happened to your intros?
+Nathan Schafer One, I switched my editing software, so I lost my original files. And two, I just feel like getting straight to the video, and not being tied down to an intro. :)
Sure thing! Keep doing cool stuff. :)
Great video, great explanation. I'll add this to my game when it's ready! Keep the Firebase tutorials coming. :)
Great. Just opened mouth to ask for firebase push-notifications continue when some value on server changes and push comes but you're working on it. Had only to wait. Thanks for all you've done! Great job
The best type of ads in my opinion is rewarded videos like those that let you continue playing a game when dying. They are optional, not annoying and obtrusive, and earns the developer more money. No downside at all - and I really don't mind scrolling facebook for another 30 seconds while the video plays
+LucasFray Very true, anything that is less obtrusive is better. :)
Jared Davidson If developers weren't money hungry, it would be possible to only have optional video ads ;)
SWEET! Im definitely excited to hear you are working on a messaging app with firebase! I can't wait! I have been trying to figure it out as well with Firebase Realtime database and it can be challenging. I am currently stuck on populating a tableview with the messages in the database. I can upload fine but downloading them into a tableview has me totally lost! Thanks for all you do!
This helped me do exactly what I was wanting. Thank you very much, Jared! This was a very easy to follow tutorial. It was clear, concise and very simple. I plan on checking out more of your tutorials soon. :)
THANKS FOR ALL THE FIREBASE TUTORIALS, JARED!! 😊😊😊
Glad you like them! :D
Keep up the good work Jared, you have really helped me out tons
Hey Jared, great tutorial!
Quick question, the part you said right at the end about the provisioning profiles, do we have to do that? Could you explain what that is actually for??
What just happened? Jared, this honestly stopped making any sense, after attempting to launch and receiving errors, random errors - this just seemed to not work at all, however after vewiing the video a few times, i've cought my mistake.
What I thought was that the class for the UIView Controller was changed, but after spending days... I finally caught my mistake. What I thought was that you created a swift file with the class named, ' GADBannerView,' which was selected by you in the video, however you were selecting the UIView, which confused me with the View Controller. However you really changed the class for the ones provided in the SDK... I never knew that was even possible and in the end, no amount of stalk-flow questions nor google thread forums seem to have any answers for this. If it wasn't for you, this would have never made sense, thanks once more!
12:38 at night is late !!! You'e an Awesome TH-camr. Thanks.
Thanks for staying up! :D
man i love your vids .. great work, please keep them coming (:
Thank you again! Great work as usual.
My admob works fine, but is there any way I can add a "remove ad" feature?
I'd love to see some tutorial on how to use Firebase with things like TableViews etc. The beginners guide to Firebase. No one really makes any clear or decent tutorials, so you'd be one of the first! And I'd really appreciate it.
Just letting you know I uploaded a tutorial on this today! Let me know what you think. :)
amazing! Watching it now! Thanks very much! and i'll leave some feedback!
Hey Jared! I recently updated to Xcode 8, and the part of the code where you say bannerView.rootViewController = self does not seem to be working for me. I have tried a lot of things, but I feel like the answer is staring me in the face. Any quick help?
When I imported GoogleMobileAds it said that there is no such model. How do I fix this?
I was unable to import the GoogleMobileAds.framework into my project via "import GoogleMobileAds" on my "GameScene.swift" in SpriteKit.
I went to my "Build Settings" tab (same page as General) and searched for "Framework Search Paths". As it turns out, my framework search path was not my project folder. (It consisted of the project name about 8 times in succession. I simply double clicked the search path and removed all but the "$(inherited)" and one "$(PROJECT_DIR)/Project\ Title"
I was then able to build and run my project with the framework imported.
I finished the tutorial, ran into some road blocks - didn't realize I should have been in "GameViewController.swift" rather than 'GameScene.swift". I now have ads visible in my app and everything seems to be working swell.
The only difference I encountered was that "bannerView.loadRequest(request)" was just renamed to "bannerView.load(request)", following the theme of Swift 3 and eliminating excessive words.
Notes: Swift 3, Target = iOS 8.0, Xcode 8.2.1
Omg. I saw the framework bs too and if you try to remove the module you get errors. The syntax difference for the updated XCode isn't too different and it flags it instantly with suggested fixes.
Hi Jared. I was wondering if it would be possible to do a tutorial on Firebase databases. Looking to build a database application.
Hi, thanks for the lesson! Prompt when closing a banner on a real device block with the inscription "ad closed by Google" it will or will not be seen?
Thank you very much, Jared!
Do you have any video about make rewarded video ads?
Bro seriously love i was stuck in ad thing from past week ...
why do we need com. in organization identifier? can i not have it?
Could you do a video on polylines in mapkit possibly?
If have an app that's already finished (not released) and I want to add the AdMob how am I assured that the positions of all the other objects won't change because with iAds the other objects move up when there is an add. I just don't want to struggle with the UI. So does it cover the things already on the storyboard?
Hi just wanted to know how do I get an object to rotate / point towards mouse cursor . This is in Xcode with swift. Also I am in the game category.
P.S I am very new to code so it would be great if you do it for beginners
Another fantastic tutorial. Thanks!!
hey jared! I've got a recent game out now and i was wondering if you could help! i have a 'player select' menu that selects players, but each player is linked to the same game over scene. what can i do to put a button that says 'restart' that takes you to the same player you just played as?
i could really use your help! thanks!
Thanks for the video Jared ! Quick question : can i still download the provisioning profile if i don't have a paid Apple developer account (I created the account but i haven't paid the 100 dollars yet).
Hey Jared,
Will you be updating your tutorials to accompany Xcode 8 when it releases? Also are you going to start basing your videos on that or are you going to wait for the public launch? Just curious as I am currently using the beta version of 8.
Thanks!
Is there any difference when using admob on xcode 7 when compared to using admob on xcode 8?
I actually did not test this sorry. I was not using this tutorial I was just trying to contact Jared sorry! xD
I love drawer menu in Slack for iOS app (slide to show). Do you have any idea how to replicate that?
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.
Maybe you can make a music streaming with firebase because parse is shutting down
hi Jared, how to make "remove add" option in my app?
hey thank u for the tutorial
but what next? just archive it and upload it to iTunes connect?
Will this work for spritekit?
Hi Jared Davidson , Can you help me , please ? My app is crashed when I run app , bannerView.load(requeset) isn't working (Thread 1 SIGARBT) . How to fix this error ?
Hello can you have any video which Embedd google admob native ads into UITableView
Hello, Jared! Thanks a lot for all these tutorials man, you are the best! I am trying to build an app and about to publish it on appstore soon, I am also trying apply these insturctions in swift 4.
There is one thing on my mind, My bundle identifier starts "pun." instead of "com." is it a big problem? Can I just publish it starting with "pun."? and I make sure the rest is same in both firebase and Admob and unique.
Thanks in advance..
totally love this channel bro. just keep posting the videos and i will be your permanent viewer. greetings from india
hey can you make a video on how to make a reward bases ad ,from firebas like rewardbasedvideoad
the messaging app - will you release the app on the appstore or is it going to be a tutorial series?
No, it's just gonna be little course, not an app. :)
Can you do one on Firebase's Database?
can you PLEASE do one with interstitials?? more specifically interstitials during a segue
Hi Jared Do you need to do the last part to make real money ?
nice tutorial i have question when i put bannerView.adUnitID = ¨ca-app-pub i get error on Xcode the error is Swift Complier Error any help thanks
Thanks, your videos are really helpful! Also, this is off-topic but have you made a video before that shows how to make a pause menu in SpriteKit? For example, an overlay on top of a gamescreen that has button functionality but is not actually a whole new scene (maybe a subview?). Thanks!
Why did iAd close down? please explain
Jared Im stuck can you plz fix the source Code link that might help me
hey , my add banner works fine on my simulator but when i try it on my actual phone it doesn't show , anyone know why is that?
i have the same problem....have you solved it?
dude he explains it in the end
Do I have to download the config files and SDK:s for each game or can I use the same for every game?
do you only get money if the banner is clicked? or you also get money (probably less) if it s showed ?
how about a video on filtering like in travel apps: for dates, hotel star ranges etc
Hi Jared. I would like to ask you Apple Ad and AdMob - what is better ?
+Hiep Pham Well, given that Apple iAd is shutting down soon, I'd have to say AdMob. :)
Any idea why my banner doesn't appear? :(
Very clear, thanks!
Hello Jared, your explanation is really awesome and easy to understand thank you man ,can you tell me the difference between AdMob and Google Adwords. I want to integrate Adwords in my IOS app. I don't have any idea about that ... can you explain me briefly. Then I want to know about, once if I create conversions and get an ID, VALUE, and Label, How to implement in my code, (I want to design my own app and display into my app.)can you please explain briefly and show me full demo and Sample.Because i want to run in my MAC, Thank You advance
Why drag and drop over Cocoapods here Jared?
You can do whatever you want, but in this case, I just found it simpler to drag and drop, as it was just super easy. :)
Thanks just wondering, I attempted to import Firebase today via Cocoapods and was having issues so wasn't sure if was intentional on your end. I prefer Cocoapods so that I can pod update so easily.
Upload more on Firebase. And hope you finish the Messaging App video soon
I KEEP GETTING UNRESOLVED IDENTIFIER BANNER
PLZ HELP :(
Is it possible without firebase? Do you have some alternatives. Firebase hosting is to expensive for me
+Tom Jansen Yep! It's definitely possible without Firebase, just skip anything to do with Firebase, as everything I did with Firebase is optional. Also, just want to point out that Firebase is free, until you hit a certain point. :)
+Jared Davidson (Archetapp) Thanks for your quick reply! I know that it's free untill a certain point but after that certain point you have to pay so much!
"and as you can see i don't make any money... *shows 30 second treehouse advert*"
+oliver kavanagh From my apps is the point I was making.
I make some money from TH-cam, but believe me, it's not that much. :)
Great video, superb! U genius... :)
Haha, thanks. :]
Hai jared can you make a video save image and recording in firebase (swift 3)?
thanks for your tutorial :)
Thanks Jared!
Help, please. I have an error that says, No such module 'GoogleMobileAds'
same issue
Let me know if you figure out how to fix it.
Use cocoapods.
Muito bom Jared, me ajudou muito no meu aplicativo. Parabéns mestre.
Hi Jared, Can You do a tutorial Video On Dynamic Links. Would really appreciate It... ! :)
ANY one here know how to update ads on admob because old sdk has problems im using xcode
Great tutorial
I don't know much of the uses for it but Remote Config sounds interesting
jared can you make a video using alamofire get and post request..... :)
Nice man... bring more Firebase tutorials....
You got it! :D
Like your tutorials! It's just I think it's gonna be great if you can work on a project with series videos instead of a bunch of videos without connection
We're waiting for Firebase Storage! :)
You Are Awesome !!!!!!
Make a video on how to migrate from Parse to Firebase ;)
+Jared Davidson this is so easily understandable thank you so much..and can you please show one more video on making simple news app using firebase. That would be really awesome too..
can u please give one tutorial on displaying contacts from device to view controller while clicking on button. in swift especially plzz....your tutorials are very helpful for new comers of ios...thanku :)
Before pushed to the app store, should request.testDevices = [kGADSimulatorID] be removed?
Also... put a lens cap on that lens!!!!! :D
issue ----> Allow Arbitrary Loads also true but issue still here
2018-07-13 16:20:24.798633+0500 WF: === Starting WebFilter logging for process Idillionaire
2018-07-13 16:20:24.800137+0500 WF: _userSettingsForUser : (null)
2018-07-13 16:20:24.801217+0500 WF: _WebFilterIsActive returning: NO
ad work in new project but not work in my app
Thanks for this finally i did right :) keep it up
if so can you do a tutorial for "how to do a E-commerce app by swift and php + mysql " ?
Hi jared,
Your doing very well and make tutorials fb integration and twitter integrations
Cool. Can you now do one on smaato.com?
I'll look into it. Thanks! :)
has existential crisis.... lol
What about windows they don't come with xcode please help..
Thank you so much i hope god give you what you need
Merci beaucoup j'espère que Dieu vous donne ce que vous avez besoin
شكرا جزيلا لكم وآمل أن يعطي الله لك ما تحتاج إليه
Muchas gracias espero que Dios le dará lo que necesita
Grazie mille Spero che Dio vi darà quello che ti serve
非常感谢你,我希望上帝给你你需要什么
And if you click on your own ad... they will know... and you will be suspended... learnt it the hard way..
+Vigneswara Baarathi Huh, yeah, I guess you just gotta be careful. :/
what do you mean click on your own ad?
First :D
Yeah! :D
Better wait for TH-cam to finalise the video processing :P
Haha, sounds good. :)
Check out my iOS app "Stump Trump!" Thanks for all the videos!
Interstitial
Noted. :)