Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add targeting info to Banner ads #97

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

zmeggyesi
Copy link

Based on #7, because I also required more precise targeting. According to the plugin code at FlutterFire, there are several targeting factors that are not deprecated, most importantly keywords and testDevices (not using the latter of which can get your account suspended during testing!), which I propagated through the Kotlin interface, but I must admit I don't know enough Swift (in fact, none at all) to do the same for the iOS interface.

Can someone help out with propagating the new map through Swift?

@edeuss edeuss added the help wanted Extra attention is needed label Nov 1, 2019
@zmeggyesi
Copy link
Author

Sorry, I was using the wrong copy of this library for the pubspec change. Fixed it now.

@kmcgill88
Copy link
Owner

Thanks for the PR. Sorry for the delays, day job. I plan on going through this PR in the next few days. testDevices has another PR open to implementing. Between this PR and that, we will get the feature added. I can help with the Swift stuff. I'm stronger on the iOS side of things than Android.

@zmeggyesi
Copy link
Author

zmeggyesi commented Nov 7, 2019 via email

@zmeggyesi
Copy link
Author

A heads up: Flutter v1.12.13, the next flutter version, will apparently break the plugin via Android dependency changes!

This branch contains a fix for that.

pubspec.yaml Outdated
@@ -14,6 +14,8 @@ dependencies:
flutter:
sdk: flutter
meta: ^1.1.6
firebase_admob: 0.9.0+7
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we want to depend on firebase_admob If you'd like to add targeting info it should be implemented in this code base.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you want to add MobileAdTargetingInfo to the dart side here I can help with the Swift side.

Copy link
Owner

@kmcgill88 kmcgill88 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add MobileAdTargetingInfo Dart class to this repo instead of adding a dependency to firebase_admob

@zmeggyesi
Copy link
Author

zmeggyesi commented Dec 15, 2019 via email

- Lifted MobileAdTargetingInfo from FlutterFire library
- Broke dependency on FlutterFire
- Update example
@Sh1d0w
Copy link

Sh1d0w commented Feb 2, 2020

Hey guys, just wanted to check if there is any progress on this PR?

@edeuss edeuss added the WIP label Feb 27, 2020
@jpainam
Copy link

jpainam commented Mar 17, 2020

@kmcgill88 check PR #142

@yiss
Copy link

yiss commented Sep 11, 2020

@jpainam @kmcgill88 sorry I have been very busy for the past few months, if #142 has the correct fix should I close this one. If not @kmcgill88 let me know what's missing so I can close this PR :)

@MyBuzzTechnologies
Copy link

Has there been any progress on merging these changes and releasing the targeting info support?
The one main thing that the Google Admob component has over this one (in my opinion) is it's support for keywords, so it would be great to see these changes merged, tested and released as soon as you can.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed WIP
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants