Help improve the Google Publisher Tag developer experience. Share your thoughts in our survey.
Stay organized with collections Save and categorize content based on your preferences.

Configure privacy settings

This example shows how to configure privacy settings for ad requests using the Google Publisher Tag (GPT) library. Learn more about available privacy settings in the Google Ad Manager help center:

To learn about working with Limited ads in GPT, see the Display a limited ad sample.

Sample implementation

View demo