Tuesday, 26 August 2014

How to integrate AdDuplex banner into your Unity game (part 1)

AdDuplex is a cross-promotion network specifically targeted at Windows 8 and Windows Phone apps and games. It empowers developers to promote apps for free by helping each other.
And in case you’ve been living under a rock - you can now score some serious cash by advertising in AdDuplex Direct

Adding AdDuplex banner to your game is pretty much plain sailing. Here’s how:

1.  Open the build generated Visual Studio project and go to TOOLS->NuGet Package Manager->Package Manager Console

2.  Run this command in the console:
Install-Package AdDuplexWP8

3 .  Add a reference to the top of your MainPage.xaml file:

4.  Insert the ad control in between the DrawingSurfaceBackgroundGrid tags:

5.  Enter your AppID, position the control as you like

Thats it. Learn how to enable/disable the banner from inside of your game in part 2



5 comments:

  1. Hi, I'm getting this error when I run the Install command:

    Install-Package : Unable to find package 'AdDuplexWP8'.
    At line:1 char:1
    + Install-Package AdDuplexWP8
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand

    ReplyDelete
  2. Helpful information.
    I also want to share with you information on how you can protect your personal or corporate document online data room providers

    ReplyDelete
  3. Maybe the best thing about playing recreations on the Internet is that a large portion of them are free. There are huge amounts of gaming sites which convey a huge number of great titles, and in addition interesting recreations created by the sites themselves. http://www.pokegogpshack.com/

    ReplyDelete
  4. The auto amusements come in different models intended to address the issues of each youngster.subway surfers hack apk 2017

    ReplyDelete