OK, I put the code in the index.html right after:
<div id="c2canvasdiv">
<div id="fs" class="grid-item">
MS AD CODE HERE....
Don't forget to go through the rest of the steps in the link. Installing the SDK, adding ads.js, setting internet under capabilities.