Step 1: Get Your Google Analytics Tracking Code
- Log into your Google Adsense account and get the google adsense auto ads code. In the left navigation panel, visit My ads and select Get Started with google adsense auto-ads.
- Log in to your WordPress dashboard and navigate to Appearance » Editor. Now click the header.php file on the right-hand side below the Templates section.
- Paste thegoogle adsense auto ads code you just copied from your Google Adsense account after the <body> tag.
Paste the ad code between the <head> and </head> tags of each page where you want to show Auto ads.