How to fix the “Restricted ad serving – Google-served ads obscuring content” AdMob issue

Motivation:

You got the “Restricted ad serving” issue from AdMob.
The detailed information is “Google-served ads obscuring content”.
This issue happens to your iOS app.
You need to fix it to remove your ad serving restriction.

Solution:

1. Upgrade the AdMob SDK (iOS) to the latest version.

2. Review your UI to ensure that there are overlapped contents. If there is one then you may add margins to their frames to separate them.

Example code:

view.layoutMargins = UIEdgeInsets(top: 8, left: 8, bottom: 8, right: 8)

3. Repeat requesting a review in AdMob Policy center until it is approved. Typically it takes about a week for the restriction to be removed.

Include the below message in the review request.

We have fixed it.

How to fix the “Restricted ad serving – Site Behavior: Navigation” AdMob issue

Motivation:

You got the “Restricted ad serving” issue from AdMob.
The detailed information is “Site Behavior: Navigation”.
This issue happens to your Android app.
You need to fix it to remove your ad serving restriction.

Solution:

1. Upgrade the AdMob SDK (Android) to the latest version.

2. Review all URLs in your application code to ensure that there is no broken link.

3. Upgrade all URLs with HTTP protocol to HTTPS protocol in your application code if there are any.

4. Repeat requesting a review in AdMob Policy center until it is approved. Typically it takes about a week for the restriction to be removed.

Include the below message in the review request.

We have fixed it.

How to fix the “Google-served ads obscuring content” issue

Motivation:

You got the “Google-served ads obscuring content” issue from AdMob.
This issue happens to your iOS app.
You need to fix it to re-enable your ad serving.

Solution:

1. Upgrade the AdMob SDK to the latest version.

2. Modify your code to add space between Google ads and your content.
The typical code is as follows.

view.layoutMargins = UIEdgeInsets(top: 16, left: 16, bottom: 16, right: 16)

3. Request a review in AdMob Policy center.
Include the below message in the review request.

We have upgraded the AdMob SDK to the latest version (9.5.0) and added space between the content and the ads. Code: view.layoutMargins = UIEdgeInsets(top: 16, left: 16, bottom: 16, right: 16).

How to fill the data safety section in Google Play Console

Motivation: You have a Google Play application that uses AdMob for displaying ads in order to generate revenue. Google requires you to complete the data safety section. There are many options and you are not sure which options should be selected.

Solution: Select the options below and their corresponding answer.

Does your app collect or share any of the required user data types? Yes
Is all of the user data collected by your app encrypted in transit? Yes
Do you provide a way for users to request that their data is deleted? No

Location > Approximate location
App activity > Page views and taps in app
App info and performance > Crash logs, Diagnostics
Device or other identifiers > Device or other identifiers

Is this data collected, shared, or both? Shared
Is this data processed ephemerally? No
Is this data required for your app, or can users choose whether it’s collected? Data collection is required (users can’t turn off this data collection)
Why is this user data shared? Advertising or marketing

Reference: https://developers.google.com/admob/android/play-data-disclosure