We’ve become aware of some issues with Ads when updating an existing project to Unity 5.5. (Ads Asset Package & editor integration)
We are addressing these cases, but in the mean time, most issues can be cleared up by toggling Ads in the Services window.
Disabling Ads will remove the Ads extension from the namespace (allowing the Asset package to own the namespace), while re-enabling it will refresh & update the extension.
Part deux: If you experience issues with 5.5.0p3, check the following:
In build settings → set build target to iOS or Android
In Ads service menu > open Advanced → Toggle “Enable Ads extension”
Make sure you’ve included the correct library: “using UnityEngine.Advertisements;” (See code sample)
If it still doesn’t work…
Edit > Project Settings > Editor
Asset Serialization > mode → Force text
In Finder, open either [Unity project] > ProjectSettings > UnityAdsSettings.asset OR UnityConnectSettings.asset
Just wondering if there is an update on this issue?
I have just updated my project from 5.4 to 5.5 and have had to remove Unity Ads due to the missing namespace error…
I tried to toggle the Ads in the Services Manager (3 times) but had no luck, also deleted and re-built my project Library folder and finally re-installed 5.5. No joy yet though.
I saw that there is a patch now available for 5.5 which includes an Ads binary update… is that intended to fix this issue?
This worked for me. Turn on unity ads in the service panel. Close Unity. Delete your Library folder then reload your project. I have been upgrading this project since Unity 5 came out and this was the only thing that got the integrated ads namespace to work
A thanks instigator24, but alas I tried that (a few times times) and it had no effect for me.
Having said that though, the namespace issue did fix itself about 2 weeks ago… after trying everything under the sun I found myself upgrading an old Unity 4.3 project for a bit of fun, and what do you know, when I toggled the inbuilt Unity Ads service the Namespace reappeared!! yay! and now it also works in my other projects (well the 2 I have tested anyhoo).
It was all fine when I was using 5.4.0 And it is fine again when I turn off ads and delete adcode.
I am sure there’s a solution to this problem. Bu I do not know how.