You can use a mediator to provide an integrated front to several ad networks. THis is the recommended approach. One such is Admob https://developers.google.com/mobile-ads-sdk/docs/admob/mediation
You will ind a lot of the networks you want to integrate already supported out of the box. For those that aren't you can create a CustomEvent that hands off to that network.