Search code examples
c#xamluwpadswindows-dev-center

UWP AdControl not working


Ad control working fine when i use test Id, test ads are displayed, but control empty when i try to set values from my deshboard for a real ad. Ad mediator is enabled.

Here is my xaml:

<Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
        <advertisment:AdControl ApplicationId="App_Id_Of_Ad_from_Dashboard"
                                AdUnitId="11689013"
                                Width="480"
                                Height="80"/>
</Grid>

Here is my dashboard keys for a unit enter image description here


Solution

  • Have you published your app? The real ad unit need you to publish your app successfully and it will begin to work after around 24 hours.

    Besides, please note that you'd better select a proper banner size so that your ad can be displayed well. If the real unit id still doesn't work, please feel free to share your Ad unit so that I can forward it to related team. Or you can create a free support ticket to report your issue.