Setting Up Rotator's Default Settings

Apr 30, 2013 at 4:50 AM
If my ID's are setup in the setting file do I still need:
SmaatoPublisherId ="xxxxxxxxxxxxxxxxxx"/>
defined in my AdRotater control? I don't entirely follow how the setup of the rotator works.
Apr 30, 2013 at 1:34 PM
Setup up of AdRotator follows these three simple steps:
  • Add the control to your app and register it in the page you want to display it
  • Add the configuration XML to your project and/or host it online
  • Start getting ad's by calling the Invalidate() method of the control in your apps' "onLoaded" event.
All this is detailed in the tutorial blogs linked at the bottom of the description pages for each version of the control

Our recommendation is to configure how you want the control to work in the XAML / Ad Settings and put the ad provider config ONLY in the configuration XML.

If you install from Nuget (recommended) then a default config XML file is added for you including the instructions plus a sample

Let me know if this helps
May 5, 2013 at 7:17 PM
Ah, I found my issue, I had incorrectly listed the Capabilities in my app manifest file so the ads could not access there needed components.
May 6, 2013 at 12:22 AM
Ahh that is always a kicker.
We always recommend putting your app through the store test kit to ensure you have all the required caps enabled.