Hey Guys, when im using the newest version of monogame
my AdControl is invisible. Im Using the MS Advertisement sdk.
And it’s totally invisible. In other projects it works but not in MonoGame 3.2!
I tried everything, like adding some grids or sth but it wont change.
PS: using a DrawingSurface in a LayoutRoot there’s just a black screen and the Draw-Function in Game1 wasnt even called!
Also tried it with MonoGame 3.0.1.
its qgual if i ad the Adcontrol to the DrawingSurfaceBackgroundGrid or the ContentPanel or sth else. It just wont be shown
I’m using Pubcenter ads in WP8 and I had some problems too at the start.
What I did ws starting with a simple Grid of a (in example) blue color and try to show it while playing.
Once it was shown, I inserted the AdControl inside the “advertGrid” (all adverts… smaato, pubcenter, admob) are inserted inside that grid: it’s easier to control the container than controlling all the ad controls for, in example, move them.
JFTR, my XAML with ads is something like this
Without adding an advert, you should see a blue banner while playing. If not, something weird is happening.
I wrote an small sample which has the adverts working based on Monogame WP8 new project template. The interesting stuff is in Game1.loadAdControl (I’m running it from a separate UI thread because… uhh… wp8 thread locks are killing me. It’s probably not needed depending on where you run it from)
Thanks! The Problem is kinda funny Sorry, but i fogot to click on “ID_CAP_IDENTITY_USER”.
But luckily you wrote a function that writes the error in debug console! I think i would never had found it out if it wasnt shown in debug console… thx