Developing for Windows Phone 7? Want to make advertising supported revenue straight from your app? Microsoft has released SDK for that ;) You can download it here: http://go.microsoft.com/fwlink/?LinkId=198440
The SDK takes the form of an assembly that you can simply add a reference to in your project and start using straight away. You can add the reference in Expression Blend 4 or in Visual Studio 2010, and the assembly lives here: C:\Program Files (x86)\Microsoft Advertising SDK for Windows Phone 7\Microsoft.Advertising.Mobile.UI.dll.
In this video, the Windows Phone 7 team walks us through how to set this up and show us what we can do with the SDK.
All I had to do was drop the AdControl from the Toolbox onto my mobile application (started in my previous blog post) and set a couple of properties: AdUnitId and ApplicationId. Both these properties correspond to the account you can set up on the Microsoft Publicity Center site. Simply visit http://pubcenter.microsoft.com and sign up with your Windows Live ID and create an advertising subscription.