How to create AdMob Banner and Get banner_ad_unit_id from AdMob (iOS App)?

Here I will show how to configure iOS application for Admob. To get the Ad unit ID from AdMob you need only a few simple steps:

Log in or sign up https://apps.admob.com

Click -> Apps

How to create AdMob Banner and Get banner_ad_unit_id from AdMob (iOS App)

Here I chose option (2), because my application was not published in the Apple Store

How to create AdMob Banner and Get banner_ad_unit_id from AdMob (iOS App)

Enter "App Name", Select iOS (radio button) and Click -> Add

How to create AdMob Banner and Get banner_ad_unit_id from AdMob (iOS App)

Click -> CREATE AD UNIT

How to create AdMob Banner and Get banner_ad_unit_id from AdMob (iOS App)

Select -> Banner

How to create AdMob Banner and Get banner_ad_unit_id from AdMob (iOS App)

Enter "Ad unit name" and Click -> CREATE AD UNIT

How to create AdMob Banner and Get banner_ad_unit_id from AdMob (iOS App)

Copy "Ad unit id" and Click -> DONE

How to create AdMob Banner and Get banner_ad_unit_id from AdMob (iOS App)

Paste you "Ad unit id" to file "TabBarController.swift" (see screenshot)

How to create AdMob Banner and Get banner_ad_unit_id from AdMob (iOS App)