I copy your code and publish it in app on google play store but code s not compliant with Developer Program Policies
app is rejected with Issue found: Disruptive Ads
"Your app cannot force a user to click an ad or submit personal information for advertising purposes before they can fully use an app. Ads may only be displayed inside of the app serving them and must not interfere with other apps, ads or the operation of the device, including system or device buttons and ports. This includes overlays, companion functionality and widgetised ad units. If your app displays ads or other ads that interfere with normal use, they must be easily dismissible without penalty. "
I copy your code and publish it in app on google play store but code s not compliant with Developer Program Policies
app is rejected with Issue found: Disruptive Ads
"Your app cannot force a user to click an ad or submit personal information for advertising purposes before they can fully use an app. Ads may only be displayed inside of the app serving them and must not interfere with other apps, ads or the operation of the device, including system or device buttons and ports. This includes overlays, companion functionality and widgetised ad units. If your app displays ads or other ads that interfere with normal use, they must be easily dismissible without penalty. "