About code for unity ads

I am new to unity and recently the first game of mine is on oending at playing store. However, I realised that i did not include initialize(game id,testmode) that sort of thing. Instead, I just put
If (Advertisement.IsReady(“video”))
{
Advertisement.Show(“video”)
}
(just this sort of code)

Can it still function properly? And the second problem is that I turned off the testing mode and get real ads played in my phone, before acknowledging that this violet the rule. What should I do now? Sincerely need help. Thanks in advance.

You are good. testmode is only during development, to just show a test video ad (in case you are testing the game a lot during development). When submitting to playstore, you should show “real” ads.

/Rasmus

I didnt include my game_id inside the code, is that ok? Like what I had mentioned above. What is the function of game id btw?

Sorry but I need some replies of my question tho. If not including the gameid inside code will cause potential error for my ads, I have to fix it asap. Thanks!

Yes, your game requires the gameID so you can earn revenue on your ads. Are your ads displaying correctly in your testing, without initialization?

Anybody know what this is, or how to fix this.

5188910--515654--Question.PNG

For a new issue, please start a new thread in the Android forum. And describe the issue, what you posted doesn’t show an error.