Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug unity-ads 4.0.1 Your app includes non-compliant SDK version - Unity Ads on google playconsole

Discussion in 'Unity Ads & User Acquisition' started by lostplesed, Dec 23, 2022.

  1. lostplesed

    lostplesed

    Joined:
    Mar 26, 2014
    Posts:
    25
    "During review, we found that your app XXX (App Bundle Version: 3, Track: Production) is using a non-compliant version of Unity Ads SDK or an SDK that one of your libraries depends on, which collects personal or sensitive data. Persistent device identifiers may not be linked to other personal and sensitive user data or resettable device identifiers as described in the User Data policy.

    This SDK version violates the User Data and Device & Network Abuse policy. You may consider moving to another SDK; removing this SDK; or if available from your SDK provider, upgrading to a policy-compliant version of this SDK that does not include the violating code.
    According to the information provided by your SDK provider Unity Ads SDK, you may consider upgrading to their version 4.0.1 which they have recommended for use. Google is not endorsing or recommending any third party software. Please consult the SDK provider for further information."

    The version of Unity I am using is 2019.4.26f1. I have completely removed the unityads library from my app. However, the Google backend still reports this error. Do I need to upgrade the engine to solve this problem? Is the unityads library built-in to the Unity engine? Which version do I need to upgrade to in order to avoid this problem? I have been troubled by this problem for a while and hope that the official developers can give me timely help.thanks!
     
    unity_s78c05bh8z likes this.
  2. aylin_unity3d

    aylin_unity3d

    Unity Technologies

    Joined:
    Apr 6, 2015
    Posts:
    43
    Hi @lostplesed You need to update unityads sdk 4.0.1 or the upper version to comply with google's new policy. If you have already updated the unityads SDK version or removed it from the latest app, you should check both the production track and non-production track(Internal / Closed / Open testing) version on the google play console to see if those versions have unityads SDK lower than 4.0.1. Please deactivate those versions.
     
  3. wheel_wang

    wheel_wang

    Joined:
    Feb 5, 2017
    Posts:
    6
    How you explain game never use Unity ADs still got this warning?
     
  4. Yasuyuki

    Yasuyuki

    Unity Technologies

    Joined:
    Sep 11, 2014
    Posts:
    90
    We don't have the right answer to some specific cases, but I recommend reaching out to Google to confirm which binary contains the code in question.
     
  5. Fortunecode69

    Fortunecode69

    Joined:
    Mar 19, 2023
    Posts:
    5
    Same issue with me. Need help!
    I used Unity 2021.3.2 Chinese version. Whatever I update Unity Ads 4.4.1. or removed Unity Ads. Google play review rejected with the same reason. What can I do? Thanks.
     
  6. Yasuyuki

    Yasuyuki

    Unity Technologies

    Joined:
    Sep 11, 2014
    Posts:
    90
    Please make sure your project doesn't contain old SDK, and check the production/testing truck in Play Console to see if those apks don't have Unity Ads SDK lower than 4.0.1.
    For further assistance, please reach out to Google directly.
     
  7. Fortunecode69

    Fortunecode69

    Joined:
    Mar 19, 2023
    Posts:
    5
    Yes, I removed Unity ads sdk, but Google still think some unity skd code inside. and ask me reach unity technologies. Is anything I can do to completely removed unity ads sdk? Thanks
     
  8. Fortunecode69

    Fortunecode69

    Joined:
    Mar 19, 2023
    Posts:
    5
    Thank you for your response.

    We understand that you have submitted an update to your app. However, please note that your app (App Bundle Version: 22, Track: Production) is still in violation of the User Data policy as we found that your app is still using a non-compliant version of the Unity Ads SDK.

    To resolve this issue, kindly upgrade the SDK version to the compliant version of 4.0.1 or remove this SDK fully from your app. We highly recommend you to consult with the SDK provider for further clarification on the removal or upgrade of the SDK version.

    Please also make sure to DEACTIVATE the non-compliant version (App Bundle Version: 22, Track: Production) and increment the version code of APK before resubmitting your app. All active APKs (including Alpha, Beta, production, and internal testing) of your app must be compliant with our policy.

    Thanks for your understanding and continued support.
     
  9. Yasuyuki

    Yasuyuki

    Unity Technologies

    Joined:
    Sep 11, 2014
    Posts:
    90
    If you implemented Unity Ads via Package Manager, please check your package.json.
    If you use a mediation tool(LevelPlay, AdMob, MAX etc) to implement ad networks, check your gradle files.

    Besides that, check your Plugins folder under (project root)/Assets. Also, would be worth checking to export Android project to see if Unity Ads SDK contains.
     
  10. SamOYUnity3D

    SamOYUnity3D

    Unity Technologies

    Joined:
    May 12, 2019
    Posts:
    597
    For users who encounter this problem with the Chinese Editor version, please update to the version of the editor released after October 26, 2022, or use the global version of the editor.
     
  11. coldev2

    coldev2

    Joined:
    Oct 27, 2018
    Posts:
    6
    playstore com.unity3d.ads:unity-ads error:

    1. remove old play-services-ads .aar files
    in Assets\Plugins\Android folder to evitate duplicate errors

    2. copy in Assets\Plugins\Android folder the following .aar files
    https://mvnrepository.com/artifact/com.google.android.gms/play-services-ads
    play-services-ads-22.2.0.aar

    https://github.com/Unity-Technologies/unity-ads-android/releases
    unity-ads.aar

    3. build your apk

    :)

    more information:
    https://developers.google.com/ad-manager/mobile-ads-sdk/android/mediation/unity
     
  12. saadzridi25

    saadzridi25

    Joined:
    Jun 20, 2023
    Posts:
    1
    any video action to show how to do so? cause am getting errors related to GUID's when i do that
     
  13. ngoansc

    ngoansc

    Joined:
    Nov 17, 2021
    Posts:
    2
    hi, I have same probelm. Any other solution to fix it?
     
  14. TheGameLearner

    TheGameLearner

    Joined:
    Feb 10, 2018
    Posts:
    20
    I had google Mediation tool files left in grade after I deleted all Packages related to ads.
    I ran the google resolver and I had the checkboxes active to create gradleTemplate and mainTemplate.

    After resolving again, mainTemplate no longer has mediation or ads
     
  15. Pnvanol

    Pnvanol

    Joined:
    Jan 11, 2016
    Posts:
    110
    I deleted advertisement package, services, etc... And I'm still getting this from Google after submitting. Why?
    • SDK: Unity com.unity3d.ads:unity-ads (consider upgrading to version 4.0.1)
     
  16. Pnvanol

    Pnvanol

    Joined:
    Jan 11, 2016
    Posts:
    110
    It's impossible to deactivate until you provide a new update

     
  17. Pnvanol

    Pnvanol

    Joined:
    Jan 11, 2016
    Posts:
    110
    Nevermind, I solved it by uninstalling every ads package on the package manager and some unityads files that were lurking around. App has been accepted at last!