Notification

Please make sure to visit Your AdSense Page where you can find personalized information about your account to help you succeed with AdSense.

Create an ad blocking recovery message

After you’ve set up your site, you can create a message that's only displayed to users who have ad blocking or script blocking software installed.

Ensure you've added the ad blocking tag to your site.
  1. Sign in to your AdSense account.
  2. Click Privacy & messaging.
  3. Click Ad blocking recovery.
  4. Click Create message. The “Edit message” page opens.
  5. Select the sites where this message will be displayed:
    1. Click Select sites.
    2. Select the desired sites.
    3. Click Confirm.
  6. (Optional) To include or exclude certain pages in the ad blocking recovery message, click Add URLs. You can add up to 5 total inclusions or exclusions per domain. In your domain, click:
    • Add page inclusion: Specify certain pages to include in the ad blocking recovery message. Setting up page inclusions automatically excludes all other pages (for example, if you only want the ad blocking recovery message to appear on one section of your site). 

      Note: If you don’t add any inclusions, the ad blocking recovery message will apply to your entire site. If you add page inclusions, any pages not included are automatically excluded from the ad blocking recovery message. 

      Page exclusions apply after inclusions. This means exclusions should be added if you have pages within the included site or sections that you’d like to exclude.

    • Add page exclusion: Specify certain pages to exclude from the ad blocking recovery message. Site visitors will always be able to visit this page without viewing an ad blocking recovery message. 
      • If you've implemented the ad blocking message tag on a page, a page view is still counted in the ad blocking rate even if the page did not show an ad blocking message due to exclusions. 
        Learn how to properly format your URLs for page inclusions and exclusions
  7. Select the languages in which this message will be displayed:
    1. Default language: The message is shown in the default language when the user’s device language cannot be determined, or when the user’s device language doesn't adequately match the selected “Additional languages.”
    2. Additional languages: The message can be shown to users in any of the “Additional languages” that match the user’s device language. Languages you select here should match the languages in which your site is available. You can edit the message text for each of the "Additional languages."
      Example
      If you select “Dutch” in the “Additional languages” field, a user whose device language is set to Dutch will be shown the Dutch version of the European regulations message.
  8. (Optional) Turn on Custom choice to offer your visitors a choice between allowing ads or a custom alternative solution to allowing ads. For example, you might ask users to either allow ads or subscribe to your site, where subscribing to your site is the custom choice.
    This option requires that you implement the googlefc.controlledMessagingFunction function of the Funding Choices unified API. Learn more about setting up a Custom Choice message
  9. In the "Message name" field, enter a descriptive message name that will help you identify the message later. The name is shown only in the Privacy & messaging page and won't be visible to users.
  10. In the "Placement" area, decide how and where you'd like the message to be displayed on your site:
    • Centered modal (dismiss): The message is centered on your page with a dark background that partly obscures page content. Users can close the message.
    • Centered modal (non-dismissible): The message is centered on your page with a dark background that partly obscures page content. Users cannot close the message. Not available for the "Allow ads or dismiss" message type.
    • Bottom pinned (dismiss): The message is fixed to the bottom of the page to allow site visitors to view the page's content. The message stretches to fit the full width of the device screen. Users can close the message.
  11. (Optional) Edit and format the message to match your site's editorial and visual standards.
  12. Click Publish to publish the message, or click Save draft to save without publishing.
    You must review your account settings before publishing your first ad blocking recovery message. Click Review settings and make a decision in the "For Acceptable Ads users" section.

Include or exclude pages in the ad blocking recovery message

You can choose which pages to include or exclude in the ad blocking recovery message.

Formatting URLs to include or exclude

The example below shows how a specific URL can be used to broadly or narrowly include or exclude pages in an ad blocking recovery message. Note that exclusions will always override inclusions.

Example

If you enter example.com and specify the following page inclusion and page exclusion:

  • path-include /articles/
  • page-exclude /articles/my-public-article

Then (assuming you don't have subdomains configured underneath example.com):

  • Offerwall will not display on either example.com/other/ or www.example.com/other.
  • Offerwall will display on example.com/articles/one and www.example.com/articles/one.
  • Offerwall will not display on either example.com/articles/my-public-article or www.example.com/articles/my-public-article.

For more details about showing user messages on specific subdomains, review user messages on sites and subsites.

Was this helpful?

How can we improve it?
true
Your AdSense page

Introducing AdSense Page: a new resource in which you can find personalized information and new opportunities in your account to help to succeed with AdSense.

Search
Clear search
Close search
Main menu
12621606016550242332
true
Search Help Center
true
true
true
true
true
157
false
false