1
Vote

windows phone add admob request Chinese show messy code

description

When Admob request Chinese advertising ,Chinese show messy code and English can normally display.

Example:
<?xml version="1.0" encoding="utf-8"?>
<AdSettings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<CultureDescriptors CultureName="">
<Smaato AppId="0" SecondaryId="10" Probability="50" PopupAd="True"/>
<AdMob AppId="ca-app-pub-2213751212440288/6666168142" Format="SmartBanner" Probability="50" />
</CultureDescriptors>
</AdSettings>

If edit "encoding="utf-8"" to "GB2312" ,AdMob will no longer display ads.

Thanks.

comments

Darkside wrote Aug 8, 2014 at 10:11 PM

Thanks for the issue, certainly an interesting one.
Will do some testing over the next few weeks, but to clarify a few things first:
  • AdRotator uses the natural language of the device paired with the language of the app. So to function in another language, the device must be set to Chinese and the app must have a resource language for Chinese (either as the default or as another selected language in the project properties)
  • Your config XML is a bit off. We don't support several of the properties you have used, such as:
    • PopupAd
    • Format
      These are the AdProviders own parameters which we don't use, we provide a common abstraction across all providers, so we only support a common set of parameters, not each and every providers properties.
Might I suggest trying the V2 control and see if that behaves better in your configuration (note the config XML is different, so check the example projects for the new format) - https://github.com/Adrotator/AdrotatorV2

Also, might I ask if you test the AdMob control natively, to see if it is AdRotator causing the issue or if the AdMob control has the issue.

Hope this helps
Simon