For making wp8 game with IAP do I need XAML project?

Ok I have a fundamental question…

Inorder to develop a windows phone 8 game with ad integration do I need to make a wp-XAML project or I can achieve the same with just the wp8 project?

Also what is the advantage/ disadvantage of using either…

Thanks.