5

I am using AdMob in my app. I want to know how to disable IDFA in the admob SDK. Is it possible to do this?

ilyon
  • 233
  • 2
  • 13
  • I’ve submitted an app targeted for kids category, integrated AdMob and it’s rejected because of IDFA usage, any workaround would be appreciated – Enes Karaosman Jan 09 '21 at 06:52

1 Answers1

0

The default behavior of the Google Mobile Ads SDK is to serve personalized ads. If a user has consented to receive only non-personalized ads, you can configure an AdRequest object with the following code to specify that only non-personalized ads should be requested:

AdRequest request = new AdRequest.Builder()
.AddExtra("npa", "1")
.Build();

It's for Unity, but you can find solution for your platform.

https://developers.google.com/admob/unity/eu-consent

Oleg
  • 21
  • 2