nfl / react-gpt

A React display ad component using Google Publisher Tag
MIT License
145 stars 84 forks source link

Support for GDPR compliant nonPersonalizedAds #81

Closed jonsherrard closed 5 years ago

jonsherrard commented 6 years ago

React GPT users inside the EU will need to be able request nonPersonalized ads... tomorrow.

Here's the documentation: https://support.google.com/dfp_premium/answer/7678538

We'll create a fork and try and get something working - but wanted to flag it.

We'll need to be able to replace https://github.com/nfl/react-gpt/blob/22437553b50272b8d6221ed29f98da76c912eabd/src/Bling.js#L690 with a call to:

googletag.pubads().setRequestNonPersonalizedAds(1)

tomRzeznik commented 6 years ago

When you intend to implement the setRequestNonPersonalizedAds method in react-gpt? Support for GDPR is an important issue for European Union countries.

aaronatmycujoo commented 6 years ago

Is it possible to request non personalised ads with react-gpt yet?

miblanchard commented 5 years ago

Closing this issue as https://github.com/nfl/react-gpt/pull/97 fixes