Search Unity

[Solved] Disabling/removing Unity Ads to comply with IDFA requirements

Discussion in 'Unity Ads & User Acquisition' started by fherbst, Jan 3, 2019.

Thread Status:
Not open for further replies.
  1. fherbst

    fherbst

    Joined:
    Jun 24, 2012
    Posts:
    802
    Currently, there's a lot of manual work involved in making sure that a submitted app contains absolutely no traces of the UnityAds framework (manually deleting folders in XCode, manually removing the reference to Ads libraries, ...).

    What is the recommended way to (ideally from inside Unity) completely disable this behaviour, so that proper Ad-free apps can be released without using the Advertising Identifier (IDFA)?

    The error message usually is "Your app is using the Advertising Identifier (IDFA). You must either provide details about the IDFA usage or remove it from the app and submit your binary again." Yes, just saying that IDFA is used works, but we'd like to not use it at in some of our applications. Just saying to a client "well, no, we're not using Ads, but since we're using Unity the answer needs to be Yes" is not an option, especially given that using the IDFA requires to state why it's used and to state that the answers are correct.
     
  2. mikaisomaa

    mikaisomaa

    Unity Technologies

    Joined:
    Sep 14, 2015
    Posts:
    365
    1) Disable ads from the services window
    2) Remove any ads integrations from the project (Asset Store package, if you've integrated it)

    In case you also have the ads package included, you'll need to remove this either by using the package manager or by editing the manifest.json -file.
     
  3. fherbst

    fherbst

    Joined:
    Jun 24, 2012
    Posts:
    802
    1) The project is not using Unity Services and thus there is no option to disable Ads.
    2) Good point. I haven't added the Advertisement package but it was installed regardless. So I guess this one is on by default and I didn't notice. It would be great that, if Unity Services is not selected when creating a new project, Advertisement package is just off by default.

    I'll test when I do the next release.
     
  4. sguyge

    sguyge

    Joined:
    Nov 15, 2016
    Posts:
    5
    I ran into the exact same problem. I'm not using Unity Services and any other plugin/package. Before I was using Unity 2018.1, and I was able to build iOS version and submit to AppStore without problem (not using IDFA). However, I upgraded to 2018.3 days ago, and when I was submitting the new version built with Unity 2018.3, AppStore prevents the submission saying it's using IDFA.

    I checked Packages and can see the Advertisement package is installed. I suspect this might be a behavior change between Unity 2018.1 (not installed by default) and 2018.3 (installed by default).

    @mikaisomaa Can you confirm if this behavior change is by design? If not, this is a regression that should be fixed. A lot of developers are impacted by this. See this other form thread: https://forum.unity.com/threads/solved-ios-app-store-submit-and-idfa.601270/

    Meanwhile, I'm going to remove the Advertisement package, build a new version and see how the submission goes with the new build.
     
    fherbst likes this.
  5. koZis

    koZis

    Joined:
    Jun 1, 2017
    Posts:
    8
    Hello,
    I have the same problem. I never used advertising and never enabled it, but after submitting package to iTunes connect, I see mentioned error message.
    Is there some solution?
    I am using Unity 2018.3.
    Thank You,
    Tomas
     
  6. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,519
    @fherbst, @sguyge, @koZis

    Yes, this was a problem with the Unity Ads package (version 2.3.1) that was included in 2018.3. Basically, it was included in projects it should not have been, which caused the rejections some devs have seen and compiler errors if you already had the Ads package installed.

    The new package (2.3.2) should fix these issues and one of the next Unity patches will not include the broken version as the default package.
     
    fherbst and koZis like this.
  7. koZis

    koZis

    Joined:
    Jun 1, 2017
    Posts:
    8
    I found solution of current state. In Unity is possible to remove Ads package completely.
    Window -> Package manager -> Advertisement -> Uninstall
    After is no problem with publishing to iTunes Connect.
    T.
     
    blmsiegal, kraskon, mhmtbtn and 2 others like this.
Thread Status:
Not open for further replies.