<UserControl
    x:Class="FoxTube.Controls.Advert"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:ad="using:Microsoft.Advertising.WinRT.UI"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid Name="grid" SizeChanged="Grid_SizeChanged">
        <ad:AdControl VerticalAlignment="Top"
            Name="ad" ApplicationId="{x:Bind AppId}"
            AdUnitId="{x:Bind AdUnitId}"
            Height="50"
            Width="300"/>
    </Grid>
</UserControl>
