Download and the install the SDK from here. For existing Windows Phone 7 SDK users, these steps and the SDK API should be very familiar.
In order to receive live ads from real advertisers, you need to register and setup your account at Pubcenter
Integrate the SDK by adding a reference to the newly installed Microsoft.Advertising.winmd assembly. Also, copy the Ads folder (Found in Program Files (x86)/Microsoft SDKs/Advertising for Windows8) to the root of your application.
Finally add a script reference to the Ads/ad.js file and integrate the following code snippet into your application at the location you want to place your advertising.
This version will support the following ad sizes for live ads:
In “test mode” additional experiences, including full screen ads can be enabled. (See the help
file for the full list)
During the technical preview, there will not be support for actual payments as apps will only be running in an emulation mode. This is a preview after all.