# Integrate Privacy &amp; messaging

The Google Ad Manager Privacy \& messaging tool lets you comply
with the EU General Data Protection Regulation (GDPR), US State regulations,
and recover lost revenue from ad blocking users.

This guide covers using Privacy \& messaging with IMA SDK for HTML5.

## Add the Privacy \& messaging message to your site

IMA SDK for HTML5 automatically integrates with Privacy \& messaging and
Google Publisher Tags (GPT) after you create one or more site messages.
For information about copying your ad blocking recovery messages to your site,
see
[Ad blocking recovery messages](https://support.google.com/admanager/answer/10711849).
To create your Privacy \& messaging messages:

1. In the Ad Manager UI, go to **Privacy \& messaging**.
2. Select your preferred option:
   - **European regulations**
   - **US state regulations**
   - **Ad blocking recovery**
3. Select **Create message \> Sites**.
4. Create your site-specific consent or ad blocking recovery message.
5. Click **Publish**.

If successful, IMA SDK for HTML5 automatically serves the messages to
your site, when GDPR and US state privacy laws require these messages.
For more details, see
[About Privacy \& messaging](https://support.google.com/admanager/answer/10075997).

For the Privacy \& Messaging JavaScript API, see
[Privacy \& Messaging JavaScript API](https://developers.google.com/funding-choices/fc-api-docs).