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