A Few Errors

Hey Unity,

I’v been working on a game for the iOS app store, and I have wanted to use the Unity Ads platform. However I’m messing up somewhere, Unity is giving me a few errors, and I am not sure what to do.

UnityAdsEditor error: Server returned error message: Game profile not enabled.
UnityEngine.Advertisements.HTTPLayer.c__Iterator0:MoveNext()

And,

UnityAdsEditor error: Failed to fetch campaigns
UnityEngine.Advertisements.HTTPLayer.c__Iterator0:MoveNext()

Any clue what, or where I am going wrong?
I’v checked the game i.d. on the Unity ads admin website, and within my code so I don’t think its that. I have “using UnityEngine.Advertisements;” at the top of my code that starts and initializes the ads, does it need to be on any other scripts?

Thanks for any help!

When you log into the Unity Ads Admin and look at your list of games, make sure the Monetization switch is set to On. With this set to Off, it essentially disables the game profile. Monetization needs to be enabled to show ads.

That seamed to fix things, but to let you know, here is what happened.

I had made an Unity Ads page before my game went live on the app store. So when I went to turn the switch to on, it just switched back to off every time I refreshed the page, so nothing worked.
I ended up just deleting that entry and doing it over again (with a new game i.d.) and now it is working.
So thanks for the help!

Interesting. Haven’t seen this sort of issue before. Will keep an eye out for it.

Thanks for the heads up!