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()) {
playAd();
}
and then
void playAd() {
adCounter = 0;
Debug.Log("AD");
Advertisement.Initialize("gameId", true);
Advertisement.Show();
}
Is this a config issue? Is my code wrong?
Thanks.
↧