APP don't show ads in play store or app.

I published my app on play store .Then i use a extention to show ads on my app. But when i use any extenttion or ads in any page on the app and test the ads on kodular compunent then ads show but when the app is dawnload or published on play store then the page of the app where i use any extention or ads the page is not working. The app is automatisly out of the apk. I am a premium user.I wan’t to know why this happend.