Open joannajerz opened 2 years ago
Anyone found a workaround for these warnings, as well as the one below?
googletag.pubads().setCookieOptions() has been removed, and no longer has any effect. Consider migrating to Limited Ads.
or alternatively maybe another package that works with Google Ad Manager and React? Not that I would like to leave react-dfp, it's some really great effort that has been put in to this package, so I hope it gets updated at some point.
The following functions are deprecated: googletag.pubads().setTagForChildDirectedTreatment(), googletag.pubads().clearTagForChildDirectedTreatment(), googletag.pubads().setRequestNonPersonalizedAds(), and googletag.pubads().setTagForUnderAgeOfConsent(). Please use googletag.pubads().setPrivacySettings() instead.
Hi, i get this warning about using deprecated method.