TheGameCreators / AGK-Studio

3 stars 1 forks source link

Admob: setMaxAdContentRating? #1052

Open adambiser opened 1 year ago

adambiser commented 1 year ago

It looks like the AdMob code should also be setting setMaxAdContentRating(MAX_AD_CONTENT_RATING_G) here: https://github.com/TheGameCreators/AGKTier2/blob/master/apps/android_common/AdMob/com/thegamecreators/agk_player/AdMobSDK.java#L416

https://developers.google.com/admob/android/targeting

adambiser commented 1 year ago

Just trying to figure out why my app is showing ads that go against the Designed for Families designation.

adambiser commented 1 year ago

Back in Feb, Daisia (Ads) was flagged with:

Issue with your app

That version was compiled with AGK Classic 2022.09.28, before this fix. Yesterday, I compiled using AGK Classic 2023.01.26 and Google Play accepted and posted the update.

I would say that this issue is resolved until someone else gets flagged by Google for a related issue.

adambiser commented 1 year ago

Received a new, possibly related

We’ve identified that your app or an SDK in your app transmits device identifier(s) from children or users of unknown age that do not comply with our Families Policy. •These identifiers may include but are not limited to Advertising ID. Your app may face additional enforcement actions, if you do not resolve this issue by May 13, 2023.

Issue details We found an issue in the following area(s): Code Analysis

This was compiled with AppGameKit Classic 2022.12.13 on Dec 19, 2022, so this fix should have been in it.

adambiser commented 1 year ago

This makes me wonder:

_Some SDKs, such as the Google Mobile Ads SDK (play-services-ads) may already declare this permission in the SDK’s library manifest. If your app uses these SDKs as dependencies, the ADID permission from the SDK’s library manifest will be merged with your app’s main manifest by default, even if you don’t explicitly declare the permission in your app’s main manifest. Source

And I see "com.google.android.gms.permission.AD_ID" in classes.dex

adambiser commented 1 year ago

As a temporary workaround until this is resolved, I removed target age groups for ages less than 13. The site informed me that the change would remove my games from the Families policy. I think this will at least prevent them from being removed from the Google Play store.

adambiser commented 1 year ago

"We recently told you that your app does not adhere to Google Play Developer Program policies. This violation has now been addressed." So for now, games developed using AppGameKit cannot be part of the Families policy.