After you add your sites to AdSense, complete the following steps to create the European regulations message that you want to display to the eligible EEA (European Economic Area) and UK (United Kingdom) users of your sites.
Note: Make sure you've placed the AdSense code on your site.
Messages may not be eligible to show on web if the referrer-policy isn't configured to share the "Referrer" header on cross-origin requests. Ensure that your referrer policy allows cross-origin sharing (for example, strict-origin or strict-origin-when-cross-origin).
- Sign in to your AdSense account.
- Click Privacy & messaging.
-
Create a new message. On the European regulations message type card:
- Click Create if this is your first European regulations message.
- Click Manage if you've previously created an European regulations message. Then, click Create message.
-
Select the sites in which this message will be displayed:
- Click Select sites.
- Select the desired sites.
- Click Confirm.
- Select the languages in which this message will be displayed:
- 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.”
- 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.
- In the “User choices” section, make a decision for the Do not consent option. If turned on, this message presents your users with a choice to not consent to your ad partners and your ad partners’ purposes with a single click on the first page of the message.
Note: To provide a good experience for your visitors, the consent message won't appear on your privacy policy page.
- (Optional) Turn on the Close (do not consent) option to add a close icon to your message. Users can click the close icon to dismiss the message and decline consent to your ad partners and their purposes.
- 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.
- (Optional) Edit and format the message to match your editorial and visual standards.
If the message will be shown in more than one language, review the message in all of the selected languages before publishing.
- Enter your site's privacy policy URL.
- When you’re ready, click Publish. Or, click Save draft to save a draft of the message and exit the message builder without publishing.
Note: European regulations messages in AdSense don't support Accelerated Mobile Pages (AMP).