Hello Ashley!
Perhaps you already know that Microsoft has shut down the Ad Monetization Platform since June 1 and now developers are looking for a new advertising platform for monetization. Therefore, you can remove the Pubcenter plugin from Сonstruct 3.
I found a way to add web ads to UWP projects created by Construct (ads from AdsJumbo.com and Lifestreet.com for example) to integrate it, you need to add a script to the header for initialization. But JS UWP projects do not support the execution of inline scripts from the header for security reasons. To workaround this you need to change the protocol from ms-appx to ms-appx-web after these changes, the inline script works and the ads is loads. You can see an example here:
github.com/AdsJumbo/AdsJumbo.com/tree/master/AdsJumbo_WinJS_Example/AdsJumbo_WinJS_Example
But along with this, a large number of game crashes with an error appear in the dev console:
nonterminalnavigationerrorcalled_silent_text_iframe_navigation_failed_with_error_404_194_54227<app_package_name>!unknown_function
I can’t reproduce this, and there is no log for this error in the dev console, but it very often happens with users. If you use the default protocol ms-appx, this failure does not occur.
What do you think this may be connected with? Is it possible that something breaks in the Construct when changing the protocol? Or this error is not related to the Construct?
I just would like to be able to monetize my UWP games and would be glad if you could help deal me with this problem.