Error with Capabilities and Language settings for WP8

179 views
Skip to first unread message

Vincenzo Petronio

unread,
Oct 9, 2013, 7:08:56 AM10/9/13
to google-adm...@googlegroups.com
Hello,

I'm trying to use AdMob with Windows Phone 8.
I've:

Visual Studio  Ultimate 2012 Update 3 with Windows Phone SDK  8.0 Update 10322
Nokia Lumia 920

I tried to download the example project (https://developers.google.com/mobile-ads-sdk/docs/admob/fundamentals#wp), but in my Output i get different errors related to capabilities settings.

An exception of type 'System.UnauthorizedAccessException' occurred in Microsoft.Phone.ni.dll and wasn't handled before a managed/native boundary
An exception of type 'System.NotImplementedException' occurred in GoogleAds.DLL and wasn't handled before a managed/native boundary
An exception of type 'System.SystemException' occurred in Microsoft.Phone.Interop.ni.dll and wasn't handled before a managed/native boundary 

Anyway, if i try to deploy to the Lumia (with the language set to English United States), the testing banner is displayed. However, if i change language to Italian, the banner is no longer displayed! 

Finally, i've added this Capabilities in the Manifest and the first two exceptions was gone:

ID_CAP_IDENTITY_USER


where i'm wrong?
Thanks in advanced. ... :-)


Tuna Toksoz

unread,
Oct 11, 2013, 10:41:24 PM10/11/13
to google-adm...@googlegroups.com
IS the error logged causing crashing the app or preventing you from getting an Ad? We ideally would love to have you specify identity user so we can do better targeting and frequency capping. So it's better if you have it.

I am investigating the language issue as we speak.



--
 
---
You received this message because you are subscribed to the Google Groups "Google AdMob Ads Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Tuna

Eternal sunshine of the opensource mind.

Tuna Toksoz

unread,
Oct 11, 2013, 10:54:07 PM10/11/13
to google-admob-ads-sdk
Partially solved language issue. Test ad will not work, but a live ad will. Will announce when we release the new version.

Vincenzo Petronio

unread,
Oct 15, 2013, 4:52:46 AM10/15/13
to google-adm...@googlegroups.com

none crash, only preventing from getting ads. :-)

tunatoksoz

unread,
Oct 16, 2013, 4:10:02 AM10/16/13
to google-adm...@googlegroups.com
Hi Vincenzo,

Can you check if the language issue is fixed?

Also, currently, there is not a reliable way to get device id for windows, so there are some caught exceptions, which gets printed to your console.

We prefer if you add the user identity capability.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.
--
Tuna

Eternal sunshine of the opensource mind.

Vincenzo Petronio

unread,
Oct 16, 2013, 5:03:21 AM10/16/13
to google-adm...@googlegroups.com
Yes, now it works with emulator and real device.

However now also with "ID_CAP_IDENTITY_USER" enabled ,  the three exceptions are still logged.
Instead with "ID_CAP_IDENTITY_USER" and "ID_CAP_IDENTITY_DEVICE" enabled, the first two exceptions disappear.
But probably not a real issue. 

Thanks ;-)
Reply all
Reply to author
Forward
0 new messages