How to get banner_ad_unit_id from AdMob?

In their applications, we actively use AdMob. Here we decided to show you how easily and quickly perform Ad unit ID from AdMob. To get the Ad unit ID from AdMob you need only a few simple steps:

Log in or sign up https://www.google.com/admob

Click -> Apps, Click -> "ADD APP"

How to get banner_ad_unit_id from AdMob

I click "YES" because my app is published on Google Play

How to get banner_ad_unit_id from AdMob

After selecting an application from Google Play, we start creating ad unit. Press "NEXT: CREATE AD UNIT"

How to get banner_ad_unit_id from AdMob

Choose Banner, Press "SELECT"

How to get banner_ad_unit_id from AdMob

Enter "Ad unit name" and Press "CREATE AD UNIT"

How to get banner_ad_unit_id from AdMob

Copy you "app id" (1) to constant value "admob_app_id" and "ad unit ID" (2) to constant value "banner_ad_unit_id" in file "res/values/strings.xml", and press "DONE"

How to get banner_ad_unit_id from AdMob

Banner creation and configuration are complete. If the application uses Rewards Ads, continue: How to get ad_unit_id for Rewarded Ads from Admob?