1

As suggested by google play store I have made android application to opt in for Primarily Child-Directed and Designed for Families programs. Since its once approved the Admobs has stopped displaying banner ads. Does any know about why ads is not displaying and does i need to make any changes in my code to display ads by using admob sdk.

Thanks in advance.

Mihir Patel
  • 599
  • 1
  • 5
  • 10

2 Answers2

0

You have to setup your admob banner

https://support.google.com/admob/answer/6223431?hl=en

Bundle extras = new Bundle();
extras.putBoolean("is_designed_for_families", true);

AdRequest request = new AdRequest.Builder()
        .addNetworkExtrasBundle(AdMobAdapter.class, extras)
        .tagForChildDirectedTreatment(true)
        .build();
Vyacheslav
  • 26,359
  • 19
  • 112
  • 194
-1

I faced the same problem and it was the number of family (<5 years) ads is very small so I change my app to (>13) and it works .