Getting Firebase Instance Advertisements private FirebaseAuth mAuth; mAuth = FirebaseAuth.getInstance();