Create a Google-ready banner
Google asks that a consent banner used with Consent Mode does three things: tells visitors that data is collected for personalised advertising, links to how Google uses data, and offers a clear way to accept. Everything below happens in the One Privacy dashboard; there is no code to write.
The whole setup takes a few minutes.
1. Create the banner
Open your project and go to Banner Configuration → Customization, then click Add New. Give the banner a name and keep the preselected GDPR (EU) type. Click Create Banner.
The GDPR type is the one we recommend for Consent Mode. Its consent buttons are always shown, and its default text already meets Google's wording requirements. See Banner templates.
2. Keep the personalised advertising sentence
In the customization editor, click the Content card and edit your language. The default banner description ends with:
Learn how Google uses data when you allow personalised advertising.
The bold part is a link to https://business.safety.google/privacy/. The cookie settings description carries the same sentence. Keep both, or keep at least one sentence that says data is used for personalised advertising and keeps the link, if you rewrite the text. See Editing banner content.
3. Keep the accept option visible
On a GDPR banner, Accept All, Reject All, and Manage Settings are always on, so there is nothing to change. If you use a Standard banner instead, open the Banner tab, expand Visibility, and make sure Accept All Button stays on. See Visibility settings.
4. Publish
Publish to Test first, install the Test script on a staging page, and check the banner. Then publish to Live. See Publishing to Test and Publishing to Live.
5. Map it to your consent regions
Go to Geo targeting and create a rule for the regions where you ask for consent, for example the EEA and the UK, with this banner selected. Regions where you show no banner can use a No banner rule; visitors there get every category granted, so Google tags keep measuring. See Creating a geo rule.
6. Verify the signals
Open your website, open the browser console, and run:
onePrivacy.debug()
The report should show Consent default: OK, and after you click Accept All, an update with every signal granted. See Debug Google Consent Mode.
What you get
One Privacy sends the Consent Mode default and update commands for you, with the four consent types Google requires (ad_storage, analytics_storage, ad_user_data, ad_personalization) plus the functionality, personalization, and security types. Nothing else is needed on the page. See Google Consent Mode.