You should be putting your methods in an overrided class, no need to modify SDLActivity.
Your C++ call will be on the wrong thread, which is why the ads aren’t working. You’ll need to use a callback so it will run on the proper thread. SDL2 has already set this up and you can piggy-back your custom callbacks in your overrided class.
I can paste a rough example here if you need further help.