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.

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?

I also get this issue