Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Adds nonPersonalizedAds option to MobileAdTargetingInfo for firebase_admob #638

Merged
merged 3 commits into from
Aug 24, 2018

Conversation

mmmeri
Copy link
Contributor

@mmmeri mmmeri commented Jun 26, 2018

In the light of recent events, namely GDPR, I was missing the functionality to request non-personalized ads in the firebase_admob plugin. This PR adds this option and the respective Android/iOS platform specific code (as described in the Google Mobile Ads SDK).
I also added nonPersonalizedAds: true to the example. Unfortunately there currently is no way in the GMA SDK to programmatically check if the requested ad is in fact non-personalized - so no test exists right now.

This is my first contribution, so it's likely I missed something. Please let me know if that's the case - thanks! 👍

This feature was requested/asked for in Issue #17542 [main flutter repo].

@Hixie
Copy link
Contributor

Hixie commented Jun 26, 2018

cc @kroikie for review

@kroikie kroikie self-assigned this Aug 24, 2018
@kroikie kroikie self-requested a review August 24, 2018 21:13
@kroikie
Copy link
Contributor

kroikie commented Aug 24, 2018

LGTM! Bumping version then merging.

@kroikie kroikie merged commit c9c4016 into flutter:master Aug 24, 2018
nichtverstehen pushed a commit to nichtverstehen/plugins that referenced this pull request Sep 6, 2018
…admob (flutter#638)

* Adds nonPersonalizedAds option to MobileAdTargetingInfo

* Formats code

* Bump version
julianscheel pushed a commit to jusst-engineering/plugins that referenced this pull request Mar 11, 2020
…admob (flutter#638)

* Adds nonPersonalizedAds option to MobileAdTargetingInfo

* Formats code

* Bump version
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
4 participants