How to embed ads in WP7 app?
I want to know how to embed ad frame into my WP7/WP7.1 application.
I also want to know places that I can get the ads from to put in the app.
Everything you need to know is provided right here by Microsoft. The control is included in the Windows Phone SDK and can be dropped right into your app (AdControl in the Visual Studio Toolbox).
You cannot directly control which ads are shown but you can influence it in some way (cited from FAQ):
As noted above, the most relevant ads will also be the most likely ones to get you the most revenue. So the same advice holds true:
- If your app is location-aware, provide that info to the Ad Control.
- Set as many of the demographic targeting properties in the Ad Control as you can for each user.
- Set the right category for the Ad Unit in pubCenter.
- If you have a set of relevant ad keywords, set those in the Ad Control.
For more tutorials I strongly suggest a Google/Bing search as there are plenty of these.