This project is read-only.
1
Vote

Ads not working

description

Ads do not work

You can plugin test ApplicationID and AdUnitID to verify

d25517cb-12d4-4699-8bdc-52040c712cab
10043105

comments

wrote Apr 10, 2013 at 9:22 PM

wrote Apr 10, 2013 at 9:29 PM

wrote Apr 10, 2013 at 9:30 PM

Simpuhl wrote Apr 10, 2013 at 9:30 PM

They worked in the first template when I manually edited the AdvertArticle.xaml using the following code: <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:UI="using:Microsoft.Advertising.WinRT.UI"> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="Shared.xaml" /> </ResourceDictionary.MergedDictionaries> <DataTemplate x:Name="AdvertTemplateNormal"> <Grid Width="250" Height="250"> <Image Source="ms-appx:///Assets/AltAdvert.jpg" Stretch="UniformToFill" /> <UI:AdControl ApplicationId="d25517cb-12d4-4699-8bdc-52040c712cab" AdUnitId="10043107" HorizontalAlignment="Left" Height="240" Margin="0,0,0,0" VerticalAlignment="Top" Width="240"/> </Grid> </DataTemplate> </ResourceDictionary>

Simpuhl wrote Apr 13, 2013 at 2:16 AM

<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:UI="using:Microsoft.Advertising.WinRT.UI">
 
 <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="Shared.xaml" /> </ResourceDictionary.MergedDictionaries>
 
 <DataTemplate x:Name="AdvertTemplateNormal"> <Grid Width="250" Height="250"> <Image Source="ms-appx:///Assets/AltAdvert.jpg" Stretch="UniformToFill" /> <UI:AdControl ApplicationId="d25517cb-12d4-4699-8bdc-52040c712cab" AdUnitId="10043107" HorizontalAlignment="Left" Height="240" Margin="0,0,0,0" VerticalAlignment="Top" Width="240"/> </Grid> </DataTemplate>
 
 </ResourceDictionary>