Closed trafficteam7 closed 3 years ago
for me works the next code:
easyAdsMod.getAndroidAdId(new EasyAdsMod.AdIdentifierCallback() {
@Override
public void onSuccess(String adIdentifier, boolean adDonotTrack) {
// Do something with the advertiser's ID
Log.i("Your Ad Id", adIdentifier);
}
});
for me works the next code:
easyAdsMod.getAndroidAdId(new EasyAdsMod.AdIdentifierCallback() { @Override public void onSuccess(String adIdentifier, boolean adDonotTrack) { // Do something with the advertiser's ID Log.i("Your Ad Id", adIdentifier); } });
This is correct. The wiki has a mistake. I will update it.
Updated 🎉
Thank you for bringing this to my notice.
Hello. There is a mistake in the next code:
you have easyIdMod here, but it doesn't have function getAndroidAdId. Maybe here should be easyAdsMod?