Tag your site with GPT to display messages

Use Funding Choiceswith the IMA HTML5 SDK.

Google Publisher Tags (GPT) 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 your web pages.

Check the "Referrer-Policy" set on the site. The only supported values are "strict-origin-when-cross-origin" (the default referrer policy), "origin", "origin-when-cross-origin", or "unsafe-url". If you are setting any other value, such as "same-origin", messages will be unable to serve.

Confirm the GPT tag was: 

  • Added to your site’s code.
  • Included with the async attribute.

Your site shows messages to visitors when the GPT tag includes the async attribute. Messages you've created in Ad Manager Privacy & messaging automatically display to eligible users.

Use these resources to add or update the GPT tag: 

 Update older messages to the GPT tag

Update your previously published messages to use the Google Publisher Tag (GPT) in Privacy & messaging .

Complete these steps for each published message:

  1.  Sign in to Google Ad Manager.
  2. Click Privacy & messaging.
  3. Click Manage on one of the message type cards on the Privacy & messaging page.
  4. Turn off the Publish toggle for the message you want to update, 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.

Was this helpful?

How can we improve it?
Search
Clear search
Close search
Main menu
4903107030768124515
true
Search Help Center
true
true
true
true
true
148
false
false