AdMob event on banner ad click

I have included AdMob banner ads in my iOS app, which is made for kids . The application was rejected from the application store viewing process with the following message:

You have selected the Kids category for your application, but it includes links from the application or participating in the trade without first obtaining parental permission. In particular, your application includes advertisements that when listening, take the user to a web page or in the App Store.

I have built-in parental control, but I can not determine where to start parental control. I am checking some way to handle a click on the Banner GADBannerView icon in the GADBannerViewDelegate class, but it is not. There is the following delegate method

- (void) adViewWillLeaveApplication: (GADBannerView *) bannerView;

But this method should only notify you that it will leave app-can not return NO or write something here to restrict it after exiting the application.

Can someone help me find a way to stop the application from opening GADBannerView, if necessary?

+6
source share
2 answers

Under the Children's Online Privacy Protection Act (COPPA), there is a parameter called tagForChildDirectedTreatment .

Here is a link that describes the use of the method.

Basically this is what you can do:

  • Set tagForChildDirectedTreatment to YES to indicate that you want your content to be considered child for COPPA purposes.
  • Set tagForChildDirectedTreatment to NO to indicate that you do not want your content to be considered child-friendly for COPPA purposes.
  • Do not set tagForChildDirectedTreatment unless you want to specify how you want your content to be processed in relation to COPPA.

You should also follow the recommendations in the App Store. Here, the quote is important for your situation:

Applications in the Children category may not include behavioral advertising (for example, an advertiser cannot display ads based on user activity), and any contextual ads should be appropriate for young audiences. You should also pay particular attention to privacy laws around the world regarding the collection of data from children on the Internet. Be sure to review the privacy section of these guidelines for more information.

For a quick inspiration on this, check out this Apple guide form. https://developer.apple.com/app-store/parental-gates/

What you can do: Set tagForChildDirectedTreatment to YES. Do not track user data for children. Be careful what types of ads you display.

If you want your application to be in a child category, you cannot show the add-on that takes the child out of the application. But if you first ask for parental permission , you can do it. To do this, you either add or do not add banner / other ads, depending on the response from parental permission.

Edit: Perhaps this can work as a check before adding it opens a safari / application store:

 func application(_ app: UIApplication, open url: URL, options: [UIApplicationOpenURLOptionsKey : Any] = [:]) -> Bool { //check the url that opens. //present parental control //return true or false /open or reject opening safari/app store } 
+4
source

You can try other approaches:

  • You can target your ads to children:

     GADRequest *request = [GADRequest request]; [request tagForChildDirectedTreatment:YES]; 
  • You can implement parental controls at the beginning of your application. If it passes, show the ad, if not show the ad.

+1
source

Source: https://habr.com/ru/post/1014961/


All Articles