Use the available options on the Tagging tab to manage your ad blocking recovery messages. The Tagging tab provides code snippets to help ad blocking recovery messages work on your site.
You must paste the ad blocking tag code in between the
<head>
and </head>
tags of your site's HTML before your ad blocking recovery message can be displayed.- Sign in to your AdSense account.
- Click Privacy & messaging.
- Click Ad blocking recovery.
- Click Tagging.
- Click Copy to copy the ad blocking recovery tag code into your site. Then, paste the code between the
<head>
and</head>
tags in your site's HTML code. - (optional) Click Copy to copy the error protection code into your site. Then, paste the code between the
<head>
and</head>
tags in your site's HTML code. The error protection code will display a message to users if an ad blocking extension blocks their access to your site.
Even if you aren't ready to publish an ad blocking recovery message on your site, you can still access ad blocker detection data and reporting metrics in your account. To access this data:
- Add the ad blocking recovery tag code to your site.
- Create an ad blocking recovery message in Privacy & messaging and leave it in "Draft" status.
AdSense will start detecting ad blockers and generating reporting metrics even if the message is unpublished and isn't being displayed on your site.