Skip to content

Commit

Permalink
Add AdMediator
Browse files Browse the repository at this point in the history
  • Loading branch information
scemino committed Sep 26, 2015
1 parent 5bd7132 commit 2e6ced7
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 4 deletions.
46 changes: 46 additions & 0 deletions NScumm.MonoGame/Platforms/UWP/NScumm.MonoGame/AdMediator.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="utf-8"?>
<AdMediatorConfiguration xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<BaseConfiguration>
<AdAdapters>
<AdAdapterInfo>
<Metadata>
<Property>
<Key>WApplicationId</Key>
<Value>d25517cb-12d4-4699-8bdc-52040c712cab</Value>
</Property>
<Property>
<Key>MApplicationId</Key>
<Value>3f83fe91-d6be-434d-a0ae-7351c5a997f1</Value>
</Property>
</Metadata>
<Name>MicrosoftAdvertising</Name>
<Weight>1</Weight>
</AdAdapterInfo>
</AdAdapters>
<AdControlConfigurations>
<AdControlConfiguration>
<AdAdapters>
<AdAdapterInfo>
<Metadata>
<Property>
<Key>WAdUnitId</Key>
<Value>10043121</Value>
</Property>
<Property>
<Key>MAdUnitId</Key>
<Value>10865270</Value>
</Property>
</Metadata>
<Name>MicrosoftAdvertising</Name>
</AdAdapterInfo>
</AdAdapters>
<Id>AdMediator-Id-00E0ED82-7500-43AA-9D71-4A33D02832FB</Id>
<Name>AdMediator_BF1FAD</Name>
</AdControlConfiguration>
</AdControlConfigurations>
</BaseConfiguration>
<RefreshRate>30</RefreshRate>
<SchemaVersion>1.0.3</SchemaVersion>
<UpdatedDateTime>2015-09-25T20:06:02.917114Z</UpdatedDateTime>
<UseRoundRobin>true</UseRoundRobin>
</AdMediatorConfiguration>
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<PackageCertificateKeyFile>NScumm.MonoGame_StoreKey.pfx</PackageCertificateKeyFile>
<PackageCertificateThumbprint>BD492D41897CAA7A6BAF8248F98A664D606F4C5D</PackageCertificateThumbprint>
<AppxAutoIncrementPackageRevision>True</AppxAutoIncrementPackageRevision>
<AppxAutoIncrementPackageRevision>False</AppxAutoIncrementPackageRevision>
<AppxBundlePlatforms>x86|x64|arm</AppxBundlePlatforms>
<AppxBundle>Always</AppxBundle>
</PropertyGroup>
Expand Down Expand Up @@ -116,6 +116,7 @@
<Content Include="Assets\StoreLogo.scale-100.png" />
<Content Include="Assets\StoreLogo.scale-200.png" />
<Content Include="Content\NScumm.mgcb" />
<Content Include="AdMediator.config" />
<None Include="NScumm.MonoGame_StoreKey.pfx" />
<None Include="project.json" />
</ItemGroup>
Expand Down Expand Up @@ -209,6 +210,15 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
<SDKReference Include="Microsoft.AdMediator.Universal, Version=1.0">
<Name>Microsoft.AdMediator.Universal</Name>
</SDKReference>
<SDKReference Include="Microsoft.Advertising.Xaml, Version=10.0">
<Name>Microsoft Advertising SDK for XAML</Name>
</SDKReference>
<SDKReference Include="Microsoft.VCLibs, Version=14.0">
<Name>Visual C++ 2015 Runtime for Universal Windows Platform Apps</Name>
</SDKReference>
<SDKReference Include="WindowsMobile, Version=10.0.10240.0">
<Name>Windows Mobile Extensions for the UWP</Name>
</SDKReference>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" IgnorableNamespaces="uap mp">
<Identity Name="51560FunPixel.nSCUMM" Publisher="CN=A36FFAB6-4663-4F63-AA43-83D65839652F" Version="1.1.1.0" />
<Identity Name="51560FunPixel.nSCUMM" Publisher="CN=A36FFAB6-4663-4F63-AA43-83D65839652F" Version="1.1.2.0" />
<mp:PhoneIdentity PhoneProductId="b1aac8f5-189c-42ba-a130-8c78b81892d9" PhonePublisherId="00000000-0000-0000-0000-000000000000" />
<Properties>
<DisplayName>nSCUMM</DisplayName>
Expand Down Expand Up @@ -164,6 +164,7 @@
</Application>
</Applications>
<Capabilities>
<Capability Name="internetClient" />
<uap:Capability Name="removableStorage" />
</Capabilities>
</Package>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Page
<Page xmlns:Universal="using:Microsoft.AdMediator.Universal"
x:Class="NScumm.MonoGame.GameLibraryPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Expand All @@ -22,6 +22,7 @@
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<!-- Title -->
<TextBlock Grid.Row="0" Text="Game Library" Style="{ThemeResource HeaderTextBlockStyle}" Margin="8 0" />
Expand All @@ -36,8 +37,9 @@
<!-- NoGame message -->
<TextBlock x:Name="NoGameTextBlock" Text="There is no game in your library.&#xD;Press Add button to add your games SCUMM games."
Grid.Row="2" VerticalAlignment="Center" HorizontalAlignment="Center" TextWrapping="Wrap" TextAlignment="Center" Margin="4" />
</Grid>
<Universal:AdMediatorControl x:Name="AdMediator_BF1FAD" Id="AdMediator-Id-00E0ED82-7500-43AA-9D71-4A33D02832FB" Grid.Row="3" Height="80"/>

</Grid>
<Page.BottomAppBar>
<CommandBar x:Name="BottomBar">
<CommandBar.PrimaryCommands>
Expand Down

0 comments on commit 2e6ced7

Please sign in to comment.