I add advertising to the application in Android Studio according to this instruction . In the virtual device, an ad unit appeared with an inscription like a test banner. The link describes that you need to add lines:

compile 'com.google.firebase:firebase-ads:10.0.1' MobileAds.initialize(getApplicationContext(), "ca-app-pub-3940256099942544~3347511713"); 

Tell me whether to do it or you can not add?

    1 answer 1

    Adding FireBase is optional. But it will give you the opportunity to receive a variety of info about users in the console. For example, the number of users, their gender, age, retention and estimate advertising revenue per user. Those. this is useful, and is very easy to set up. Conclusion - why not put