Search Unity

Microsoft Advertising SDK - AdControl problems

Discussion in 'Windows' started by Adknownps, Aug 15, 2018.

  1. Adknownps

    Adknownps

    Joined:
    May 16, 2017
    Posts:
    2
    We use microsoft advertising SDK to display our ads which is just attached to MainPage.xaml.

    Code (CSharp):
    1. <UI:AdControl ApplicationId="appID"
    2.                       AdUnitId="test"
    3.                       HorizontalAlignment="Left"
    4.                       Height="640"
    5.                       VerticalAlignment="Top"
    6.                       Width="100"
    7.                       Margin="0,0,0,0"/>
    This is done entirely through the exported .sln solution, the problem with this is we can't Display() or Hide() these banner ads whenever we want. We want to be able to Display() or Hide() them. Is there some type of callbacks I can do through the Unity side for this?