1
Vote

Smaato failed

description

Hi,

I have the nuget 1.0.3 installed and have pubcenter working. Only smaato fails.
    void MainPage_Loaded(object sender, System.Windows.RoutedEventArgs e)
    {
        AdRotatorControl.Invalidate();
        AdRotatorControl.Log += AdRotatorControl_Log;
    }

    void AdRotatorControl_Log(string message)
    {
        Console.WriteLine(message);
    }

message has:
Testing "Smaato" - Result True
Ads being requested for: Smaato
Ads failed request for: Smaato
Ads failed for: Smaato
Ads are enabled for display
Testing "PubCenter" - Result True
etc.

so smaato fails.

I have this in my xaml:
<adRotator:AdRotatorControl x:Name="AdRotatorControl" 
        xmlns:adRotator="clr-namespace:AdRotator;assembly=AdRotator"
        Width="480" Height="80"
        SettingsUrl="http://mywebsite.com/myappname.xml"
        DefaultAdType="None"
        DefaultSettingsFileUri="/AppAssemblyName;component/myappname.xml"
        PubCenterAdUnitId="10xxxxxx"
        PubCenterAppId="0e1xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx"
        SmaatoPublisherId ="92xxxxxxx"
        SmaatoAppId="65xxxxxx"

and in my myappname.xml
<?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>
<AdCultureDescriptor CultureName="en-US">
  <Probabilities Probability="50" AdType="Smaato" AppID="65xxxxxx" SecondaryID="92xxxxxxx" />
  <Probabilities Probability="50" AdType="PubCenter" AppID="0e1xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx" SecondaryID="10xxxxxx" />
</AdCultureDescriptor>
  <AdCultureDescriptor CultureName="default">
  <Probabilities Probability="50" AdType="Smaato" AppID="65xxxxxx" SecondaryID="92xxxxxxx" />
  <Probabilities Probability="50" AdType="PubCenter" AppID="0e1xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx" SecondaryID="10xxxxxx" />
</AdCultureDescriptor>
</CultureDescriptors>
</AdSettings>

same xml on the remote http uri
How should I troubleshoot the smaato error?

it seems green at smaato's side
Image

comments

Darkside wrote Mar 20, 2014 at 3:34 PM

Sounds like AdRotator is actually working fine, especially since PubCentre is displaying ads (no small feat since they generally don't)
So either Smaato isn't delivering an ad at the time you are requesting or your config is incorrect / not active for smaato.

Best test is to spin up a new project and test the smaato control manually and test your config and if ads are showing.

Hope this helps