I am having some issue with AdControl SDK for Windows Phone, and wondering if anybody else is having the issue here. My problem is that AdControl is not displaying test ads in emulator and on device too. I tested on multiple machines, and even created a new test project to try it out.
This is my XAML code:
<!--ContentPanel - place additional content here-->
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
<my:AdControl AdUnitId="Image480_80" ApplicationId="test_client" Height="80" HorizontalAlignment="Left" Margin="-34,118,0,0" Name="adControl1" VerticalAlignment="Top" Width="540" />
</Grid>
This is what I did so far:
1. Added erroroccured event of the ad control, and printed the error. it showed "HTTP error status code: NotFound (404)"
2. I checked all capabilities in the manifest. it contains all capabilities because its the default test project.
3. then i tried the same on my work pc, which didnt have Windows Phone SDK as well AD SDK before. Its not working there either.
4. then i decompiled Ad SDK for Silverlight assembly, and found the URL of production and testing server.
AdPlacement.ServerUrl = "https://mobileads.msn.com/v3/Delivery/Placement";
AdPlacement.TestServerUrl = "https://mobileads-test.msn.com/v3/Delivery/Placement";
The test server url is not connecting at all. I am using VS2010 ultimate on a Windows 7 x64 ultimate machine.
Any other idea? I contacted psupport AT microsoft DOT com as well, yet to get their reply.
This is my XAML code:
<!--ContentPanel - place additional content here-->
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
<my:AdControl AdUnitId="Image480_80" ApplicationId="test_client" Height="80" HorizontalAlignment="Left" Margin="-34,118,0,0" Name="adControl1" VerticalAlignment="Top" Width="540" />
</Grid>
This is what I did so far:
1. Added erroroccured event of the ad control, and printed the error. it showed "HTTP error status code: NotFound (404)"
2. I checked all capabilities in the manifest. it contains all capabilities because its the default test project.
3. then i tried the same on my work pc, which didnt have Windows Phone SDK as well AD SDK before. Its not working there either.
4. then i decompiled Ad SDK for Silverlight assembly, and found the URL of production and testing server.
AdPlacement.ServerUrl = "https://mobileads.msn.com/v3/Delivery/Placement";
AdPlacement.TestServerUrl = "https://mobileads-test.msn.com/v3/Delivery/Placement";
The test server url is not connecting at all. I am using VS2010 ultimate on a Windows 7 x64 ultimate machine.
Any other idea? I contacted psupport AT microsoft DOT com as well, yet to get their reply.