D
degziebob
Guest
Hi,
As part of GPDR I'm using the GooglePlayServicesExtension (3.1.1) to showthe consent form , latest GMS2, Android Build: 28.03, Support lib: 28.0.0, target SDK: 28, Minimum SDK: 19, Compile SDK: 28
If I use a virtual android device for testing (Android studio) the following will run and normally (say 80% of the time) run the GPDR popup.
global.ads_consent_id="<MYID>"
GoogleMobileAds_Init("", global.ads_app_id);
GoogleMobileAds_ConsentDebugAddDevice("<removed>");
GoogleMobileAds_ConsentDebugSetDeviceInEEA(true);
global.ads_consent_id = "pub-1XXXXXXXXX"
global.ads_privacy_url = "https://www.myurl.com";
GoogleMobileAds_ConsentUpdate(global.ads_consent_id, global.ads_privacy_url, true, true, true);
The above works, and via an Async event I get the value and set it - and that's all good but I'm trying to rerun that popup as you have to give the person the option to change it. I can't get it to show a second time.
I ran the above on my Android phone and the very first time it ran I got the popup and set it to Personalised ads - that works - but it will not show again. I must be doing something really daft, any ideas?
2) There is a function the SDK called GoogleMobileAds_ConsentIsUserInEEA() which I was hoping to call and then return the EEA value - but it never runs and no value is set, no Async value returns... From the Android forums (not GMS) that looks to be possible, but can't get it to return anything.
I followed this article: https://help.yoyogames.com/hc/en-us/articles/360019956652-iOS-and-Android-Google-Consent-SDK
If anyone has a demo to a working GMS sdk popup that would be awesome.
Thanks.
As part of GPDR I'm using the GooglePlayServicesExtension (3.1.1) to showthe consent form , latest GMS2, Android Build: 28.03, Support lib: 28.0.0, target SDK: 28, Minimum SDK: 19, Compile SDK: 28
If I use a virtual android device for testing (Android studio) the following will run and normally (say 80% of the time) run the GPDR popup.
global.ads_consent_id="<MYID>"
GoogleMobileAds_Init("", global.ads_app_id);
GoogleMobileAds_ConsentDebugAddDevice("<removed>");
GoogleMobileAds_ConsentDebugSetDeviceInEEA(true);
global.ads_consent_id = "pub-1XXXXXXXXX"
global.ads_privacy_url = "https://www.myurl.com";
GoogleMobileAds_ConsentUpdate(global.ads_consent_id, global.ads_privacy_url, true, true, true);
The above works, and via an Async event I get the value and set it - and that's all good but I'm trying to rerun that popup as you have to give the person the option to change it. I can't get it to show a second time.
I ran the above on my Android phone and the very first time it ran I got the popup and set it to Personalised ads - that works - but it will not show again. I must be doing something really daft, any ideas?
2) There is a function the SDK called GoogleMobileAds_ConsentIsUserInEEA() which I was hoping to call and then return the EEA value - but it never runs and no value is set, no Async value returns... From the Android forums (not GMS) that looks to be possible, but can't get it to return anything.
I followed this article: https://help.yoyogames.com/hc/en-us/articles/360019956652-iOS-and-Android-Google-Consent-SDK
If anyone has a demo to a working GMS sdk popup that would be awesome.
Thanks.