Google Publisher Tags (GPT) is an ad tag library that allows publishers to define inventory, initiate and bundle ad requests, and render matching demand. GPT takes key details from you (such as ad unit code, ad size, and key-values), builds the request, and displays the ad on web pages.
The GPT tag is also required for your site to display user messages. To ensure your site can display user messages, confirm the following:
- The GPT tag has been added to your site’s code.
- The GPT tag in your site's code includes the
async
attribute.
If your site already contains the GPT tag (including the async
attribute), it is prepared to show user messages to site visitors. Messages you've created in Ad Manager Privacy & messaging will be automatically displayed to eligible users.
If the GPT tag is not already added to your site or it doesn't include the async
attribute, you can use the following resources to add or update the tag:
- Overview of Google Publisher Tags
- Tagging best practices
- Avoid common GPT mistakes
- Google Developers GPT resources
- Load ad tag asynchronously
Update from Funding Choices tag to GPT tag
Messages that you previously published in Funding Choices were published using the Funding Choices tag. To streamline your set up in Privacy & messaging, we recommend that you update your previously published messages to use the Google Publisher Tag (GPT) instead.
Complete the following steps for each published message you want to update:
- Sign in to Google Ad Manager.
- Click Privacy & messaging.
- Click a message type card on the Privacy & messaging page.
- Turn off the Publish toggle, and then turn it back on again. The message has now been updated and will use the GPT tag instead of the Funding Choices tag.