How to show ads in WinPhone8

Hello.
I want to know about showing ads in wp8 using cocos2d-x.
I have created the project using cocos2d-x 2.2 and run the game.
But I don’t know how to show ads in wp8 and how to implement iap.
Please help me.
Thanks and Regards.