Unity ads not working in APK, but works in Editor

My unity ads services are not working in my APK, but it works in my editor. I have my ads disabled in the services tab, but the unity ads asset imported. My ads initialize correctly and play in the editor with this code:

Advertisement.Initialize("gameID", false);

and then

 if (Advertisement.IsReady()) {

and then

void playAd() {
    adCounter = 0;
    Advertisement.Initialize("gameId", true);

Is this a config issue? Is my code wrong?


Can you post the complete code because in playAd() method you are initializing the ads right before showing i think u have to initialize the ads in Start()