Cant use Advertisement Library
I've been working on this project for a while, but I'm having lots of issues implementing unity Ads into my code. First it wouldn't recognize the UnityEngine.Advertisement library. And when I managed to fix that, this problem came up in VisualStudio:
 The type 'Advertisement' exists in both 'UnityEngine.Advertisements.Editor, Version=2.0.6197.25740, Culture=neutral, PublicKeyToken=null' and 'UnityEngine.Advertisements, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
 
               This is what showed up in the console: 
I can't see why I'm having so much trouble with the Advertisement Library, I've already reinstalled unity 2 times
Btw , I'm working in Unity 5.5.0 (Latest version), and I'm using Unity's example advertisement code:
 using UnityEngine;
 using UnityEngine.Advertisements;
 
 public class AdManager : MonoBehaviour
 {
     public void ShowAd()
     {
         if (***Advertisement***.IsReady())
         {
             ***Advertisement***.Show();
         }
     }
 }
 
 
               (I marked with *** where Visual Studio gives me that message)
Thanks in advance for your help.
Answer by Purplepigfarm · Aug 17, 2017 at 09:06 PM
I'm getting this error as well. Been researching for a while and sounds as if importing the unity ads package has something to do with it... but the built-in ad services aren't working (or are non-existent) for me.....
@alejandrodlsp Did you happen to have solved this yet?
Your answer
 
             Follow this Question
Related Questions
How do i use library on GameObjects? 0 Answers
How can we integrate more than one unity module in Android Studio? 0 Answers
Question Concerning Chartboost SDK 0 Answers
TAX informations problem 0 Answers
Interstitial Unity Ads Crashing in iOS in Landscape Mode 0 Answers