I use GOOGLE AD MOB on my IOS and Android. At first, I used the official test ads ID of GOOGLE AD MOB and everything worked normally until I started using the test device. According to the official requirements, I added my designated devices Android and iOS in GOOGLE AD MOB, and changed the test ..
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 ..
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 ..
Recent Comments