You can change the text and format elements of your messages as you build them or any time afterwards. Customise the message formatting so that messages match the look and feel of your apps.
Editing message text
The default text on the message mainly depends on your app name. Most of the text is editable.
- Sign in to your AdMob account at https://apps.admob.com.
- Click Privacy & messaging.
- Click GDPR.
- In the list of messages, click the name of the message that you want to edit.
- Select the dialogue within the message that you want to edit.
- Select the language that you want to edit from the Language drop-down menu.
- Click the element that you want to edit (for example, the body text or button text) and make the desired changes.
- Select user consent options. These are the options that users can choose from when your message is displayed. The following combinations of options are available:
- Consent or Manage options
- Consent, Do not consent or Manage options
- (optional) Tick the Close (do not consent) box 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.
- Click Publish or Save draft. If you click Publish, a warning will appear to remind you that your changes will go live shortly after saving.
Formatting message elements
Complete the following steps to change the formatting of a message element:
- Sign in to your AdMob account at https://apps.admob.com.
- Click Privacy & messaging.
- Click GDPR.
- In the list of messages, click the name of the message that you want to edit.
- Select the element that you want to format in the message dialogue itself, or in the right-hand menu (for example, Body). Change the settings in the menu to change the formatting.
- Click Publish or Save draft. If you click Publish, a warning will appear to remind you that your changes will go live shortly after saving.
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, Centre
- Font size: Font size is in 'em' units, which allows the text to scale with the viewer's screen size or browser settings.
- Font colour: Enter your own Hex- or RGB-defined colour by clicking the Save icon.
'Global' element
- Primary colour: Applied to the following message elements:
- background colour of the primary message button
- font colour of the third message button (when it is included)
- icon backgrounds
- toggles
- font colour of the Vendor preferences link
- close button on help dialogue triggered from the message
- Secondary colour: Applied to the background colour of the secondary button in a message.
'Buttons' element
- Primary colour: Applied to the font colour of the primary message button.
- Secondary colour: Applied to the font colour of the secondary message button.
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 colour and font colour of the buttons displayed in your messages must differ enough to be easily readable. When you set the button background and font colours, we will detect whether there is enough contrast between the colours and let you know if you need to adjust the colours that you've selected.
Select message targeting
Use geographical targeting to determine which app visitors will see your existing European regulations message. You can choose to show the message to all visitors, or only show the message to visitors from the EEA, the UK and Switzerland.
Complete the following steps to select geographical targeting for a European regulations message:
- Sign in to your AdMob account at https://apps.admob.com.
- Click Privacy & messaging.
- Click GDPR.
- In the list of messages, click the name of the message that you want to edit.
- Click and select one of the following options:
- Countries subject to GDPR (EEA and UK): Display the European regulations message to visitors in the EEA, the UK and Switzerland.
- Everywhere: Display the European regulations message to all visitors.