Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Bug How to remove Google Ads - Admob from unity project completely?

Discussion in 'Editor & General Support' started by zyonneo, Jan 17, 2023.

  1. zyonneo

    zyonneo

    Joined:
    Apr 13, 2018
    Posts:
    386
    Hi I deleted Admob folder and google ads folder from the project and restarted the project.So that i could add other ad packages.What is happening is when I hit forced resolve(I need to do this for other packages) external dependency manager will add google ad libraries again in the plugins folder.When I take build the app crashes saying not added android id in google ads.I don't want external dependency manager to download files in Plugins>Android folder.How is this happening even if i removed the folders?
     
    dingaloo12 and MrGreenish like this.
  2. dingaloo12

    dingaloo12

    Joined:
    Jun 30, 2020
    Posts:
    12
    I have a similar problem where google ads is removed and it works fine in google play, but on xcode I keep getting an error saying that I can't publish because google ads wasn't properly initialized. In my unity project, there is no noticeable trace of google ads
     
  3. movepdev

    movepdev

    Joined:
    Sep 26, 2022
    Posts:
    1
    hi, I am having similar issues for my android build. iOS builds are fine. Did you happen to solve this issue?
     
  4. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    39,413
    If you use source control properly before you put in packages then you can more confidently remove them by studying the commit log for what was changed and reverting it, either automatically with the source control program or by hand if necessary.

    If you have not done this then it's a bit more of a slog.

    Often with the really annoying plugins it is easier to make a fresh blank project and copy over the contents of your
    Assets/
    folder, then set all the other ProjectSettings backup.

    You can also use a blank project as a reference to see what is different that you need to fix up.

    Use source control to avoid such sillinesses. :)