Quantcast
Channel: Questions in topic: "ads"
Viewing all articles
Browse latest Browse all 1416

hi : how to disable test mode for amazon ads ?

$
0
0
i know it locks dum question but i want to make sure so i have to ways : public class MobileAdsTest : MonoBehaviour { IAmazonMobileAds mobileAds = AmazonMobileAdsImpl.Instance; ApplicationKey adsKey = new ApplicationKey(); ApplicationKey orcaKey = new ApplicationKey(); ShouldEnable shouldEnable = new ShouldEnable(); Ad bannerAd = new Ad(); void Start () { SetUpAds (); } void SetUpAds() { // Init initial keys and values. adsKey.StringValue = "sample-app-v1_pub-2"; shouldEnable.BooleanValue = true; //1- should i set this to false. mobileAds.SetApplicationKey (adsKey); mobileAds.EnableLogging (shouldEnable); //2- or should i just delete this line mobileAds.EnableTesting (shouldEnable); // and this line //Optional //mobileAds.EnableGeoLocation(shouldEnable); // because of this line they said its optional so if the first way is right why they did not putted this line above and it will be disabled when i set shouldEnable.BooleanValue to false. }

Viewing all articles
Browse latest Browse all 1416

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>