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

Manage messages

Edit and format messages

You can change the text and format elements of your messages as you build them or any time afterward. Customize the message formatting so that messages match the look and feel of your sites.

Editing message text

The default text on the message mainly depends on your site or app name. Most of the text is editable.

  1. Sign in to your AdSense account.
  2. Click Privacy & messaging.
  3. Click one of the message type cards on the Privacy & messaging page.
  4. In the list of messages, click Edit in the row with the message you want to edit.
  5. Select the message screen you want to edit.
  6. Click the element you want to edit (for example, the body text or button text) and make the desired changes.
  7. Click Apply style to update the message.

Formatting message elements

When you change the formatting of an element, it changes that element on all the applicable dialogs. For example, if you change the body text of the "Consent request" dialog to green, the body text of the "Consent alternative" dialog is also changed to green.

Complete the following steps to change the formatting of a message element:

  1.  Sign in to your AdSense account.
  2. Click Privacy & messaging.
  3. Click one of the message type cards on the Privacy & messaging page.
  4. In the list of messages, click Edit in the row with the message you want to edit.
  5. Select the element you want to format in the message dialog itself, or in the sidebar menu (for example, Body). Change the settings in the menu to change the formatting.
  6. Click Apply style to update the message.

Formatting controls

Depending on which message element you are formatting, one or more of the following controls may be available.

  • Body: Font family
  • Style: Bold, italic, or underline
  • Alignment: Left, Right, Center
  • Font size: Font size is in "em" units, which allows the text to scale with the viewer's screen size or browser settings.
  • Font color: Enter your own Hex- or RGB-defined color by clicking the Save icon.

"Global" element

  • Primary color: Applied to the following message elements: 
    • background color of the primary message button
    • font color of the third message button (when it is included)
    • icon backgrounds
    • toggles
    • font color of the Vendor preferences link
    • close button on help dialog triggered from the message
  • Secondary color: Applied to the background color of the secondary button in a message.

"Buttons" element

  • Primary color: Applied to the font color of the primary message button.
  • Secondary color: Applied to the font color of the secondary message button.

For EU consent/GDPR messages, the IAB Europe Transparency & Consent Framework Policies require that the buttons displayed in your messages must not be invisible, illegible, or appear disabled. While the buttons do not need to be identical, to ensure they are clearly visible, they must have matching text treatment (font, font size, font style) and, for the text of each, a minimum contrast ratio of 5 to 1.

This means that the background color and font color of the buttons displayed in your messages must differ enough to be easily readable. When you set the button background and font colors, we will detect whether there is enough contrast between the colors and let you know if you need to adjust the colors you've selected.

Was this helpful?
How can we improve it?

Need more help?

Sign in for additional support options to quickly solve your issue

true
' data-mime-type=
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
Google apps
Main menu
Search Help Center
true
157
false