Darkside,
thank you for your hints, I understood what happened; also I never ment to sound offensive or suggest you were cheating somehow.
My application is divided in a library and a main. In the library I have all core functionalities including the Advs management while in the main app I have the configuration files and some specific windows/data.
I had to install, via nuget, the Ad Rotator to the library, at the same time I created the configuration file in the main application.
What happened is that the nuget installation automatically creates a default defaultAdSettings.xml in the library.
So when the package is compiled and deployed Visual studio does not add the defaultAdSettings.xml from the main application as there already is one (the one from library).
With respects of the "hardcoded" values they are in the defaultAdSettings.xml it is installed from Nuget; I would strongly suggest you remove your values and put some generic like:
<?xml version="1.0" encoding="utf8"?>
<AdSettings xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<CultureDescriptors>
<AdCultureDescriptor CultureName="enUS">
<Probabilities Probability="16" AdType="Smaato" AppID="<Insert Smaato AppID here>" SecondaryID="<Insert Smaato Publisher ID here>"/>
<Probabilities Probability="16" AdType="AdMob" AppID="<insert AdMob App ID here>"/>
<Probabilities Probability="15" AdType="InnerActive" AppID="<Insert InnerActive APPID here>" />
<Probabilities Probability="15" AdType="MobFox" AppID="<Insert MobFox APP ID here>" IsTest="false"/>
<Probabilities Probability="40" AdType="PubCenter" AppID="<Insert Pubcenter APP ID here>" SecondaryID="<inserrt Pubcenter AD Unit ID here>" />
<Probabilities Probability="10" AdType="AdDuplex" AppID="<insert AdDuplex AD ID here>"/>
<Probabilities AdType="DefaultHouseAd"/>
</AdCultureDescriptor>
<AdCultureDescriptor CultureName="enGB">
<Probabilities Probability="20" AdType="Smaato" AppID="<Insert Smaato AppID here>" SecondaryID="<Insert Smaato Publisher ID here>"/>
<Probabilities Probability="10" AdType="InnerActive" AppID="<Insert InnerActive APPID here>" />
<Probabilities Probability="10" AdType="MobFox" AppID="<Insert MobFox APP ID here>" IsTest="false"/>
<Probabilities Probability="10" AdType="AdDuplex" AppID="<insert AdDuplex AD ID here>"/>
<Probabilities Probability="20" AdType="AdMob" AppID="<insert AdMob App ID"/>
<Probabilities Probability="20" AdType="PubCenter" AppID="<Insert Pubcenter APP ID here>" SecondaryID="<inserrt Pubcenter AD Unit ID here>" />
<Probabilities AdType="DefaultHouseAd"/>
</AdCultureDescriptor>
<AdCultureDescriptor CultureName="deDE">
<Probabilities Probability="25" AdType="Smaato" AppID="<Insert Smaato AppID here>" SecondaryID="<Insert Smaato Publisher ID here>"/>
<Probabilities Probability="25" AdType="PubCenter" AppID="<Insert Pubcenter APP ID here>" SecondaryID="<inserrt Pubcenter AD Unit ID here>" />
<Probabilities Probability="25" AdType="AdMob" AppID="<insert AdMob App ID here>"/>
<Probabilities Probability="25" AdType="AdDuplex" AppID="<insert AdDuplex AD ID here>"/>
<Probabilities AdType="DefaultHouseAd"/>
</AdCultureDescriptor>
<AdCultureDescriptor CultureName="default">
<Probabilities Probability="16" AdType="Smaato" AppID="<Insert Smaato AppID here>" SecondaryID="<Insert Smaato Publisher ID here>"/>
<Probabilities Probability="16" AdType="AdMob" AppID="<insert AdMob App ID here>"/>
<Probabilities Probability="16" AdType="InnerActive" AppID="<Insert InnerActive APPID here>" />
<Probabilities Probability="16" AdType="MobFox" AppID="<Insert MobFox APP ID here>" IsTest="false"/>
<Probabilities Probability="16" AdType="PubCenter" AppID="<Insert Pubcenter APP ID here>" SecondaryID="<inserrt Pubcenter AD Unit ID here>" />
<Probabilities Probability="16" AdType="AdDuplex" AppID="<insert AdDuplex AD ID here>"/>
<Probabilities AdType="DefaultHouseAd"/>
</AdCultureDescriptor>
</CultureDescriptors>
</AdSettings>
So that Advs will NOT be served if the user will not do the correct work on the file and also will be easier to troubleshoot problems of advs :)
If you want to cross check the issue here are the repro steps: simply create and empty windows phone 7.1 project, save it, Nuget, add package :)
Bingo!
