AdControl在调用广告来源期间发生意外错误(名称:CNTX)。}

时间:2014-12-16 16:13:10

标签: silverlight windows-phone-8.1 ads

我使用Windows Phone 8.1 silverlight,我会在项目中插入AdControl。 收到错误: 调用广告源时出现意外错误(名称:CNTX)。}

这是我的xaml

<Grid x:Name="LayoutRoot" Background="Transparent">
    <Grid.RowDefinitions>
        <RowDefinition Height="Auto"/>
        <RowDefinition Height="*"/>
    </Grid.RowDefinitions>

    <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
        <Button Click="Button_Click" Content="Open New page" />
    </Grid>

    <Grid x:Name="advertising" Grid.Row="1" VerticalAlignment="Bottom" Width="480" Height="80">
        <UI:AdControl Grid.Row="1" ApplicationId="test_client" AdUnitId="Image480_80" Height="80" Name="AdControlMain" Width="480" IsAutoCollapseEnabled="True" Margin="0,-2" AdRefreshed="AdControlMain_AdRefreshed" ErrorOccurred="AdControlMain_ErrorOccurred" />

    </Grid>

</Grid>

0 个答案:

没有答案