Learn how to implement the AdMob consent dialog in Flutter using the UMP SDK. Ensure compliance with the EU User Consent Policy by integrating the AdMob UMP. This tutorial will guide you through setting up the GDPR dialog and ensuring AdMob user consent with the User Messaging Platform SDK.
☺ Support the channel:
Any donation is gratefully received, thank you!
Via my website: https://davidserrano.io/sponsor
Via YouTube's Super Thanks (⬆ Button labeled THANKS above ⬆)
🔔 Subscribe:
Subscribe to my channel to see more videos like this:
http://www.youtube.com/@DavidSerranoI...
📖 Useful resources:
Official article:
https://support.google.com/admob/answ...
Official documentation:
https://developers.google.com/admob/f...
🔤 Text version of the video:
https://davidserrano.io/admob-ump-sdk...
📖 Flutter libraries used:
The consent SDK is included in google_mobile_ads:
https://pub.dev/packages/google_mobil...
Use async_preferences to read the settings written by the SDK:
https://pub.dev/packages/async_prefer...
🔵 Follow me:
Find out about my latest videos and publications:
https://davidserrano.io/
/ davidserranoio
https://hashnode.com/@svprdga
https://dev.to/svprdga
https://mastodon.social/@DavidSerranoIO
⏳ Timecodes:
00:00 - Introduction
01:08 - Create the AdMob UMP message in the console
03:00 - Create a class that manages the GDPR dialog
07:31 - Display the AdMob consent dialog
09:37 - Allow the user to modify their privacy options
14:24 - Final words
---
I am in no way associated with the brands mentioned in this video. Its commercial names, as well as its products and brand images belong to them.
AdMob™ is a trademark of Google LLC.