Hello,
Michael here from Mobile Ads SDK support team. Thank you for reaching out to us.
I don't believe there is a method such as isGDPRSensitiveRegion() that can detect GDPR sensitive geography, at least in AdMob SDK's perspective. However, there is a debugGeography you can use in testing wherein it will treat your app as though the device was located in the EEA or UK. On the other hand, you may also use UMPDebugGeographyNotEEA to force the SDK to treat the device as though it is not in the EEA or UK.
For more information, you may check this UMP SDK guides below for your reference on integration:
Moreover, if you want to force non-personalized ads, you can follow this section where you can configure an AdRequest object to specify that only non-personalized ads should be requested. The sample code causes non-personalized ads to be requested and served regardless of whether or not the user is in the EEA.
Let me know should you have further questions.
Regards,
|
||||||
Hi,
Thank you for your response.
Since you're looking for Flutter specific implementation of GDPR, we would suggest to direct your question to the Flutter plugin issue tracker to assist you better on this.
Regards,
|
||||||
The default behavior of the Google Mobile Ads SDK is to serve personalized ads. If a user has consented to receive only non-personalized ads, As google documentation, we need to configure an AdRequest object with the following code to specify that only non-personalized ads should be requested:
Hi Ruwan,
Thank you for contacting the Mobile Ads SDK Support team.
I will check with our team regarding your query and one of my team members will reach out to you once we have an update on this. Meanwhile, your patience is highly appreciated.
![]() |
Mobile Ads SDK Team |