Hi I have used Firebase SDK to integrate AdMob in my Android App. Ads are working fine in my App. Now I want to enable Ad Mediation. I know how to add third party Ad networks in AdMob portal.
Confusion is that do I need to add/change specific code in Android App also? Do I need to change the banner ad code implemented in App? Or Firebase SDK will handle automatically and will show third party ads on same banner? Please help.
You should not need to change your banner code. You do need to compile the SDKs for the networks you want to mediate, plus their adapters into your app, though. The Mobile Ads SDK (firebase-ads, since you're using Firebase on Android) will use those SDKs through the adapters, and put the ads into the AdView you're already using. You don't need to write any additional Java code, though.
We have a mediation guide to help, as well as a video tutorial, if you're interested. There's also a directory that can point you to the SDKs and adapters.
Related
Let's say I have integrated Mopub with Facebook Audience Network (FAN), Flurry, Inmobi. Now, I want to find out which network is actually serving the ads because maybe I want to serve Flurry's ads with a slightly different layout compared to FAN). How do I determine on my users side which ads he is seeing?
From the mopub docs : https://github.com/mopub/mopub-android-sdk/wiki/Native-Ads-Integration, it seems pretty linear in that we can only create one sort of layout for our native ads and we have to stick to that type of layout. What happens if for example, we want to serve videos ads from FAN and static image ads from Flurry?
They are two separate integrations effectively - Native and banner ads. Each has a different custom events (adapter) implementation and you will need to use that appropriately.
Since the Mopub sdk and the custom event implementations are both open source, you can modify them to put in appropriate checks (or logs) to determine the ad network source. It is likely that the ad response from Mopub will contain the serving network's name (I don't recall fully as it's been a time since I mucked around in their ad response0
I planned to add the rewarded video in my Android app which I am building in LibGdx framework. I have checked the Google mobile Ads SDK document in the below Link. Though the link explainations are clear, there is a bug in it. Please refer the attched reply from Google groupsReply from Google
https://developers.google.com/android/reference/com/google/android/gms/ads/reward/RewardedVideoAdenter link description here
I just need a reliable network with mediation support. Hence I tried Mopub. They told that they are not with the LibGdx framework, and is therefore not able to offer support for it.
Question
What is the better way to add the Rewarded Video Ad in LibGdx + Android App ?
Anybody tried it so far ? Could you please help to setup that in my Android App ?
I want to integrate following mobile ad networks in my android app.
Admob
Revmob
Leadbolt
Amazon Api
I have searched a lot and finally come to know by using customevents in admob mediation can integrate mobile ads. But I dont know how to do it.I searched in google developer site they provide sample code for admob.But I dont know how main activity reference the custom events?
Can anyone provide me the sample source code for integrating anyother mobile ad network with admob mediation?
Thanks!
It is clearly explained in this section. Try following this. It'll work just fine.
https://developers.google.com/admob/android/custom-events
The details are very clear. All the best
EDIT: Updated the link. Thanks Tough Guy
Do we need to use different DFP unit id's for android and ios when we use Admob sdk?
Can we use DFP in blackberry for showing ads? I have used DFP in sencha project so the id used in that project will work for iphone and android do we need any changes?
There is no need of different ad unit id's for android and ios. The problem i faced was the ad is not showing in India. Geotargeting must be set for an ad, while creating. So when you request for an ad from a location which set for the ad, it will display.
I would like to integrate a some text advertisements in my Android application.
I would like to know how we can listen to some feeds and display it on my Textview.
You simply can use of the ads networks. They provide their own api, so you need only to integrate them:
smaato.com
mobclix.com
admob.com
and you can google some others.