Category : admob

I’m adding AdMob rewards to my C++ android app with the fallowing code: class RewardedVideoListener: public firebase::admob::rewarded_video::Listener { public: //RewardedVideoListener() {} //RewardedVideoListener(FirebaseScene* scene) : scene(scene) {} void OnRewarded(firebase::admob::rewarded_video::RewardItem reward) override { //::LogMessage("Rewarding user with %f %s.", reward.amount, reward.reward_type.c_str()); int a = 1; } void OnPresentationStateChanged(firebase::admob::rewarded_video::PresentationState state) override { int b = 1; } }; static ..

Read more

I’m using Firebase library for showing AdMob banners in my c++ Android app. I got to this part where I have to set test device ID’s for what google will return test ads (I can get banned if I do not set these): request.test_device_id_count = sizeof(kTestDeviceIDs) / sizeof(kTestDeviceIDs[0]); request.test_device_ids = kTestDeviceIDs; But I don’t know ..

Read more