Hi,
Thank you for providing us a screenshot of your code snippets.
Based on the code snippets, you seem to be calling the return function (directly returning the inflated layout) before your code snippets for the AdRequest which is why it was marked as Unreachable Code.
Call the return function after the Ad Request and see if the "Unreachable Code" warning persists. On another note, it seems like your adView2 was never instantiated.
Regards,
Ivan Bautista
Mobile Ads SDK Team