How to implement '"Appnext Ads" in app

I don’t know how to implement '“Appnext Ads” in app. Please help me with blocks