How to get test id for Anroid for AdMob

  admob, c++, firebase

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 how to figure out my device ID. I used multiple APP’s from play store and they all show different hashes. I tried to filter my logcat for addTestDevice, while opening APP’s with ad’s on my USB connected phone (debugging on) and nothing.

So how?

Source: Windows Questions C++

LEAVE A COMMENT