There are multiple ways to avoid this.
Install an Ad Blocker onto the browser of YOUR choice,
Or, if you do not like adding extensions there is a really simple solution. When the ad begins to play...
Right click on the Ad
Click the Submit Bug Report (this will cause the ad to stop playing)
Then click Cancel and return to the game.
If this does not satisfy your needs, enjoy Xbox.