1. wpcitizen's Avatar
    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.
    05-01-2012 01:55 AM
  2. CommonBlob's Avatar
    Hmm, Id love to help, but those urls are connecting (although missing a pubid). I also have a project in front of me here displaying the test ads in the emulator. I am on Windows 8 x64, but I don't think that will make much difference.

    Have you put in a correct pubid etc to see if that works?
    05-01-2012 10:43 AM
  3. wpcitizen's Avatar
    Hmm, Id love to help, but those urls are connecting (although missing a pubid). I also have a project in front of me here displaying the test ads in the emulator. I am on Windows 8 x64, but I don't think that will make much difference.

    Have you put in a correct pubid etc to see if that works?
    Thanks CommonBlob.

    After couple of emails with MS Ad center support, they could reproduce the issue in-house when trying to connect from outside network. They fixed the issue this afternoon. Its working without any code change from my side. The problem was the ad server that serves test ads "https://mobileads-test.msn.com/v3/Delivery/Placement was not reachable from outside MS network!

    Also thanking Nick Grizzel from ad support.
    05-01-2012 10:55 PM
  4. CommonBlob's Avatar
    oh that was clever of them! Glad you got it sorted
    05-02-2012 02:58 PM
LINK TO POST COPIED TO CLIPBOARD