AdSense will now make a code snippet with your publisher ID and Screen it. You can now copy and paste this code into a text editor.
specifically, you'll want to connection your Google Analytics and AdSense accounts https://www.brodneil.com/google-adsense/