In AdDuplex SDK version 22.214.171.124 we have an issue when ad appears after its Visibility was set to Collapsed.
While we work on a fix, we suggest few temporary solutions to this problem.
1. Place the ad control in an additional Grid and collapse it instead. The ad will no longer appear until you set Grid's Visibility back to Visible.
2. Create a Grid with a specific x:Name set and create AdControl instance in your code:
AdControl adControl = new AdControl(); adcontrol.AdUnitId = xxxxxx;
After you create your AdControl instance, you may add or remove it from your Grid like this:
If you have any questions, please contact us at firstname.lastname@example.org