I've integrated https://pub.dev/packages/firebase_admob into my app and implemented rewarded ads. My problem now is that I'd like to use mediation via this plugin. The only thing is that I know (from developing Android apps and also it says in the Admob docs) that one needs to include the mediated networks' SDKs in the app.
Does this plugin even support mediation? I wasn't able to find anything relating to this.
Or does the mediation only come from the admob dashboard, just by setting up the add-unit with mediation and you're not really required to add the SDKs?
I couldn't find any adapters for this plugin, so ... don't really have anything to integrate in the app.
I'm very confused. Does anyone know how to use mediation or if it even works with the current firebase_admob` flutter plugin?
You can use firebase_admob and that dependency supports mediation. You you would like to add mediation there is a guide over here:
Android - https://developers.google.com/admob/android/mediate
iOS - https://developers.google.com/admob/ios/mediate
You can select the ad network you would like to integrate and read the steps on how to do so. Sometimes the documentation can be outdated so just make sure you cross-check the steps with the ad network you want to integrate on their github repo.
If you are integrating it for Android you have to add the dependencies in your app level build.gradle file and it will automatically install that particular ad networks SDK in your Flutter app.
If you are adding the same for iOS just install the Cocoapod for the ad network at the end of your Podfile.
For integrating Unity Ads within my AdMob mediation setup, I have followed this guide from first to last and follow exactly same steps:
Integrating Unity Ads with Mediation
Now I want to make sure whether I require to enable Unity Ads within Unity Services section or not??
I want to make sure whether I did proper setup for Unity Ads or not because other ad networks already integrated so I can't able to make sure all steps implemented properly.
Can anyone please tell me how to integrate admob plugin with google play services plug in unity.I am struggle since long time to solve this problem .But, I am not able to solve it.
I am using Unity Ads and I have been more than satisfied with it. Unity provides ads so if you use their service, ads showen will be provided by Unity. It is very simple to implement. Really good explained in this video Ads tutorial unity.
You can show ad just with Advertisement.Show() which will show default ad which can be set here.
You could start using the AdMob for Unity.
The Google Mobile Ads SDK is the latest generation in Google mobile advertising featuring refined ad formats and streamlined APIs for access to mobile ad networks and advertising solutions. The SDK enables mobile app developers to maximize their monetization in native mobile apps.
This repository contains the source code for the Google Mobile Ads Unity plugin. This plugin enables Unity developers to easily serve Google Mobile Ads on Android and iOS apps without having to write Java or Objective-C code. The plugin provides a C# interface for requesting ads that is used by C# scripts in your Unity project.
As stated in the related SO post, Google has official support for AdMob on Unity game engine and this is the GitHub for Google Mobile Ads Unity plugin.
Hope this helps.
I'm trying to add chartboost ads into my unity project, after adding app id and app signature when i click on setup android sdk i got this pop screen which shows the error google play services could not be found see the screen shot below..
Have you included Google Play Services in your Android Manifest? The button you mentioned should automatically install GPS painlessly into your project.
What version of the SDK are you using?
I am struggling a little bit while trying to implement firebase in unity, firebase do not yet provide a unity sdk and I was considering these options:
1) create native plugins for iOS and Android that wraps the firebase sdk and methods that I need
2) use IKVM to create a dll from the firebase .jar, I know someone has done it but I have not read yet about a 100% working method
3) build everything from scratch on top of the firebase REST api
what do you advice? have you got some experience with the topic, someone out there has made firebase work with unity?? :D
thanks
Firebase has officially Unity supported now.
https://firebase.google.com/docs/unity/setup
Import FirebaseAnalytics.unitypackage(Download From Firebase Website Or direct link https://dl.google.com/firebase/sdk/unity/firebase_unity_sdk_1.0.0.zip)
You can look this beta tool, with this u can build for Android and IOS from Unity.
Each Plugin have firebase fun.
https://github.com/unity-plugins/Firebase-Admob-Unity
Google Firebase Unity Admob Plugin
Google Firebase Unity Admob Plugin provides a way to integrate firebase admob ads in Unity3D Game and u3d app. You can use it for Unity iOS and Android App with the same c# or js code.It support all native firebase admob features such as Native Express Ad
Google Firebase Unity Admob Plugin Features
Platforms supported in one plugin :
Android, Based Admob SDK v9.0 (part of Google Firebase service)
iOS, via SDK v7.8.0
Support all native events
AdRequest targeting methods,such as children target,test mode
Not need change Android package name
Very simple API
Based on FireBase SDK Version
Ad Types:
Banner(All Banner Type and Custom banner sizes)
Interstitial (text, picture, video)
Rewarded Video
Native Express Ad
https://github.com/unity-plugins/google-service-unity
Google Service Unity Plugin
Google Service Unity Plugin is a Unity Plugin For Google Service.Include Google Admob Unity,Firebase Analytic Unity,Google Game API Unity. Login,Achievement,Leaderboard,Event,Quest,Snapshot,RealTimePlayGame,TurnbasedPlayGame API are supported and easy to use with c# or js.
Currently it's very easy to add Firebase to your Unity project as long as you follow specific prerequisites. If you're building for Android or iOS then you're good to go, but the same doesn't happen if you're building for WebGL.
According to the documentation, it can be done following the next steps
Create a Firebase project
Register your app with Firebase
Add Firebase configuration files
Add Firebase Unity SDKs