Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Windows phone ads plugin

Discussion in 'Windows' started by gn.gametorque, Mar 21, 2016.

  1. gn.gametorque

    gn.gametorque

    Joined:
    Feb 13, 2015
    Posts:
    26
    Hi,

    I am working on adding ads in my windows phone project.
    I tried to do it with this thread, but not successful.

    Upon following this thread I faced problems. (I am using Visual Studio 2015 ... )

    - I don't not see Capabilities listed in this thread in my menifest file.
    - Also when I try to add AdView in Toolbox. It generates an error that this dll file does not contain any control to be added in Toolbox

    - I am getting this error when I build the project in VS.
    Error Cannot find type System.Windows.Controls.UserControl in module System.Windows.dll. MobileAppNative

    I am unable to resolve it. Any thing I am doing wrong?
     
  2. IndieFist

    IndieFist

    Joined:
    Jul 18, 2013
    Posts:
    515
  3. gn.gametorque

    gn.gametorque

    Joined:
    Feb 13, 2015
    Posts:
    26
  4. IndieFist

    IndieFist

    Joined:
    Jul 18, 2013
    Posts:
    515
    The answer on google group its on this year, your tutorial its 2 years ago, maybe its discontinued. Got you working it?
     
  5. gn.gametorque

    gn.gametorque

    Joined:
    Feb 13, 2015
    Posts:
    26
    not yet..
     
  6. IndieFist

    IndieFist

    Joined:
    Jul 18, 2013
    Posts:
    515
    I got it working finally with microsoft ads plugin system. I recommended you that.
     
  7. Onotseike

    Onotseike

    Joined:
    May 26, 2015
    Posts:
    23
    Hi MrPacoGP,
    could you give a step by step tutorial on how you built the Microsoft Ads Plugin from cloning it from the GitHub Repo to implementing it in your Unity Code. Thank you.
     
  8. IndieFist

    IndieFist

    Joined:
    Jul 18, 2013
    Posts:
    515
  9. Onotseike

    Onotseike

    Joined:
    May 26, 2015
    Posts:
    23
    Hi MrPacoGp,
    I check out the link. my issue is from running the build.ps1 script to build the unity packages, the errors I posted above are from running the build.ps1 script. that is why I want to know if I am missing a step between downloading the unityplugin folder from GitHub and running the build.ps1 script
     
  10. IndieFist

    IndieFist

    Joined:
    Jul 18, 2013
    Posts:
    515
    You dont need to compile build.ps1.
    Only use the two files on unity. MicrosoftAdsTest.zip
    After that, put MicrosoftAdsBridge on Visual Studio.
     
  11. Onotseike

    Onotseike

    Joined:
    May 26, 2015
    Posts:
    23
    Thank you MrPacoGP. I played around with the build.ps1 script and finally got it to work. I think I am going to make a video of how to build and finally use the unity plugins after I finish my game. Again Many thanks.
     
  12. raviraj_vdy

    raviraj_vdy

    Joined:
    May 14, 2009
    Posts:
    309
    Hello Guys,

    We want to port our existing game on the windows phone platform, have integrated Heyzap Ads mediation in to our game and would like to know if it is supported on windows phone platform.

    Thank you,
    Raviraj.
     
    IndieFist likes this.
  13. IndieFist

    IndieFist

    Joined:
    Jul 18, 2013
    Posts:
    515
    Tell us if you got it working on windows phone. Also if you use video ads.