After your account has been activated, you can display Google ads on the pages of your site behind a login by creating a crawler login. This will give the AdSense ads crawler access to visit your site and deliver ads.
You'll need to provide login details for your site, and verify your site using Search Console.
Follow these steps.
- Sign in to your AdSense account.
- Click Account.
- Click Access and authorization, then click Crawler access.
- In the "Crawler access" section, click Add login details.
- In the "Login information" section, provide the login details that our crawler will use to access your site:
- Restricted directory or URL: The URL that is blocked from our crawler's access.
- Login URL: The URL that our crawler should visit to sign in.
- Login method: The method your site uses to authenticate users who log in. POST and GET are common authentication methods.
- Login parameters: The credentials that our crawler will use to sign in (for example, your site's username and password). For GET and POST methods, enter the URL parameter key-value pairs such that your server will return a cookie for logged-in access. Click + Add another parameter if you want to add any additional parameters.
- Click Add login.
- Sign in to Search Console using your Google Account. You must be using your Google Account in order for any changes you make in Search Console to be reflected in your AdSense account.
- Add your site to your Search Console account. Make sure you add the site that you want to allow our crawler to access.
After you've verified your site, the login details you've provided will allow the AdSense crawler to reach your site and provide ads.