Hi everyone,
I want to add the AdControl to my app, but after doing everthing in the msdn guide, the AdControl still didn’t show in my app.
There’s no error or warning returns, it’s just disappeared. I don’t know why.
I build a Phone8.1 solution
and here’s my MainPage.xaml code
<Page
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:Template"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:UI="using:Microsoft.Advertising.Mobile.UI"
x:Class="Template.MainPage"
IsTabStop="false"
mc:Ignorable="d">
<SwapChainPanel x:Name="DXSwapChainPanel">
<Grid x:Name="ExtendedSplashGrid">
<Image x:Name="ExtendedSplashImage" Source="Assets/SplashScreen.png" VerticalAlignment="Center" HorizontalAlignment="Center"/>
<UI:AdControl AutoRefreshIntervalInSeconds="60" ApplicationId="test_client" AdUnitId="Image320_50" HorizontalAlignment="Left" Height="50" IsAutoRefreshEnabled="True" Margin="27,10,0,0" VerticalAlignment="Top" Width="320"/>
</Grid>
</SwapChainPanel>
</Page>
I think I’ve installed the SDK right, because I can test the AdControl in a blank app which built by VS.
Does any one knows what the problem is?