What should I use true or false in unity advertisement initialisation?

Hi

I am new to unity & game development. I have been developed couple of games using unity engine 5.5 & has implemented unity ads as per this link- PR & Marketing Advice - Unity Learn

The problem is, no revenue since last so many months where as there was good impressions record. I inspected thoroughly and after so many struggle could able to figure out I have initialized unity ads as below;

Advertisement.initialize(gameID, true);

Now I think “true” is causing all ads as test ads because of which there are impressions but no revenue. So I guess I have to use below line instead of above;

Advertisement.initialize(gameID, false);

Am I right??

Please note: In editor “enable test mode” is off when export the developed games to playstore. Hope you understand my issue. Sorry for bad english. Thanks in advance.

Correct, either remove the “testMode” argument to Initialize() call, or force test mode off for your game (go to Settings for the platform) on https://dashboard.unityads.unity3d.com:

/Rasmus

Thanks Rasmus for your response.

My apology I am not bit fluent with computer terms. By saying, remove testmode argument, Will the following line of code work for me:

Advertisement.Initialize(gameID);

Or,

Advertisement.Initialize(gameID, false);

(Which one of the above should I use?)

You can use both, however I would personally prefer the first, i.e.

Advertisement.Initialize(gameID);

(Ads SDK will in this case use testMode = false)

Thanks once again Rasmus…