Hi boxers, Is there anyway to integrate other ads SDK (like from China, such as UC and xiaomi) on android ? A publisher from China wants to publish my game to China. But I have not figured out how to integrate those Chinese SDK. Is there anyone able to integrate them? or know how to make it?
You may need to contact support. I know they can help if a publisher wants to throw weight behind your game
But because it's built with buildbox , it's different from the normal ones. So they can't help with it.
Dose anyone know where to insert these code in? public void onCreate() { super.onCreate(); initSdk(this, new NGASDK.InitCallback() { @Override public void success() { showAd(WelcomeActivity.this); } @Override public void fail(Throwable throwable) { throwable.printStackTrace(); } }); } private static void initSdk(Activity activity, final NGASDK.InitCallback initCallback) { Log.d(TAG, AdConfig.toStringFormat()); NGASDK ngasdk = NGASDKFactory.getNGASDK(); Map<String, Object> args = new HashMap<>(); args.put(NGASDK.APP_ID, AdConfig.appId); args.put(NGASDK.DEBUG_MODE, BuildConfig.DEBUG); ngasdk.init(activity, args, initCallback); }
Ok, thanks for the advice, I have sent an email to support@buildbox.com yesterday. And actually I have done some of work by myself, however the game shows ads(interstitial) only one time when the game is open. The problem is I don't know how to show ads when the player is defeated like 3 times. I have set the interstitial freq. as 3 on buildbox Game mind map and set it as "custom", but I don't know how to control that with code. @Andy Hi Andy, could you please kindly help me on this? Thank you
If support pulls through and sorts out a solution for you be sure to write a guide for the rest of us!
oh! you mean buildbox support, sorry I thought you were saying the publisher's support, and thank you