Ads server: how to create? - android

I need to show Ads on Android app, but these Ads should be stored on my server.
I've heard about AdMob ads network.
But is there a way to use AdMob (or any other) client lib with my own server?

You can use DoubleClick For Publishers small business edition.
If your familiar with ad mob you can download the double click library and implement it with the ad mob sdk into your app - you can then have the app point to your doubleclick account which would allow you to then serve whatever ads and control what you serve
https://developers.google.com/mobile-ads-sdk/docs/dfp/fundamentals
Hope that helps!

You can have your own image caching client and image server but that isn't a ad.
An ad can be a static image, a video ad, or a tap to web ad which would launch a browser or a rich ad which uses a webview to show animated/interactive creative content. In all cases there may be one or more third parties used to verify that the ad actually got delivered.
The purpose of ads is to make money and whole businesses exist to serve brands/advertisers, create ads, show ads, verify that ads were shown and distribute revenue. All of them have publisher (app client) dashboards and most allow some form of house or custom ad.
As AdMob is free to use, I would try it first on a test project to see how it works and then revisit what features are lacking for your use case and check out other vendors.

Absolutely. The simplest solution that also gives you flexibility IMO would be to use Admob as a mediator and write a CustomEvent that then loads ads from your server. You would be responsible for writing the CustomEvent (very simple) and your ad server.
See here for how to write a CustomEvent
https://support.google.com/admob/answer/2576174?hl=en
http://www.youtube.com/watch?v=07wM2ZXHobI

Related

Using AdMob for own ads (in-house) in own application, how?

The problem
A client wants to use AdMob to print his own in-house ads in his own application. He wants to monetize the app through his own sponsors, hence he creates the necessary ads himself and shows them on the app in native ads.
At first we tried to implement our own advertisement system but the app was rejected by Google.
So my former manager (before being fired for incompetence) sold to the client an AdMob account and training (?) by Google (whatever that means). I had to take over recently after having implemented the native ad into the application.
The actual setup
In AdMob I have created the following campaign:
with the following goal (manual eCPM):
I have the following Mediation group created:
with the following settings:
State of things
Still all I see are ads from the AdMob Network. I can't publish the app on a large scale yet because of the missing in-house ads.
What am I doing wrong? I've seen unfortunately few tutorials on the subject and over all they contradictory on the eCPM values.
Thank you in advance!

how to show other ad services when admob doesn`t have ads?

Most of my users are in Iran and according to the problems between Iran and USA sometimes people don't want to show their ads in Iran, so sometimes AdMob doesn't have any ad for Iranian users. I'm using Admob for my tv application so the user has to see an ad then can use the app. There is another service just like AdMob in Iran and it just shows the ads from Iran. How can I add it to my project? I mean I wanna use AdMob always and just when AdMob doesn't show up, users see the other service. Should I use the OnFailure method? does it work?
Yes, so the problem you are facing is already solved by the mediation.
Mediation is nothing but a bunch of ad networks integrated with a fashion that if one fails then you can always go for another one. So you can define the order of the ad networks and based on that it will start from the top of the list and keep checking with each network, whenever any network provides an ad then that will be shown otherwise it will keep iterating through the list.
There are already such mediations available like MoPub, DFP, AerSerc etc. Check whichever works in Iran.

How to limit redirects in the Android native App Ads?

I have an Android App it's very popular and I make money by showing banner Ads on my App. The problem I am facing is there is no way for me to block Ads that have unlimited redirects. I am being hammered with fraudulent Ads and they download tons of data in my App and my users keep complaining about how much data my App is consuming. So coming to specifics does GMA SDK provides any capability of stopping these redirects or is there any other solution/library someone knows that can help resolve this issue.
I take a reactive approach working with Charles proxy identifying the individual Ads that are responsible for unlimited redirects and then reporting to google or third-party Ad servers.
Expected: Able to restrict the number of the redirects a banner Ad can do in my Android App.
Actual: Unlimited redirects in some of the banner Ads
Usually the different advertisers which are supplying ads to AdMob are setting some redirect urls in order to be able to track some of the data. I do not think there is a way in which you can restrict the redirects since you have no control over the data which is loaded in your ad views. I think the only approach you can take is to set extras to your ad request - e.g. the Native ads for AdMob you can pass a bundle in which you can state whether you want the ad to be personalized or not. I think in this case if you opt for the option of non personalized it should limit the amount of data which is collected through those redirects. Example is below:
val adExtras = Bundle()
//"npa" stands for Non-personalized ad
adExtras.putString("npa", "1") //you can put "0" respectively if you want personalized
adView.loadAd(AdRequestBuilder()
.addNetworkExtrasBundle(AdMobAdapter::class.java, adExtras)
.build())
For the fraudulent ads my question is are you using any other ad networks to mediate to when AdMob is unable to fill a specific ad request? From personal experience I have noticed that some of the smaller ad networks tend to gather data which is not very privacy-aware, so this can lead to some of your users feeling that you are doing something shady. However, I do not think there is anything else which you can do.

Invalid Ad request when calling DoubleClick for Publishers with AdMob SDK

I am using Admob SDK to load banner ads from DFP on Android.
I am using the XML method as defined in this page to load up the ads: https://developers.google.com/mobile-ads-sdk/docs/dfp/fundamentals
When I run the apps, I get
06-21 16:44:30.354: I/Ads(2641): onFailedToReceiveAd(Invalid Ad request.)
When I change to testing mode by
adRequest.addTestDevice("xxx");
Then I can see the Google Test banner successfully. So assume my SDK integration is correct, what the heck if the "Invalid Ad request"?
Your ad unit is most likely invalid. You need to get access to the DFP account you are using and make sure that the network ID, ad unit name and dimensions are correct. There could be no matching ads or anything could be going on really... but like you say the test ad works so it is most probably something setup wrong within DFP.
I usually work with DFP on websites so things may be slightly different with the Admob SDK but if it is any help I have this little tool I use to test my DFP ad delivery:
http://coop182.github.io/jquery.dfp.js/dfptests/test.html?google_console=1&networkID=15572793&adunitID=Leader&dimensions=728x90
you can also press CTRL+F10 to bring up the DFP web console and get some more information on the delivery of the ad... but like I said this might not be that much help because it is an Admob ad... but worth a shot!
Form another thread here :
You don't need to have an app already on the market to get a Publisher ID for a new app. In the Android Package URL field that's on the "Add Site/App" form, just enter "market://details?id=your.package.name". You'll of course want to replace the 'your.package.name' with your app's actual package name.
The viewWidth warnings are fine and you will likely still see them after inserting your Publisher ID.
EDIT: There's a nice suggestion here too.

Some Questions about Flurry

Hello I am implementing the Flurry Ads and Analytics in my application. My application has complex activity structure which includes tabhost, tabgroup, context menu, Option Menu and many other things.
While implementing I get several questions in mind and fail to get the flurry working properly.
So, My Questions are-
How can I check source network(appcircle,admob,InMobi etc) of recieved Ad? OR which ad network serve current ad ?
How can I get the number of active sessions currently?
How can I test Individual ad network (appcircle, admob, InMobi etc) working properly and serves the ads successfully?
Does anyone have implement the flurry ads with different ad networks? If yes, can please you provide the manifest data for those network.
Why Context is so important for FlurryAgent (flurry messes with context)? Can't it be global (ApplicationContext) instead of Local (ActivityContext).
There's no direct way to know the source of ad through the device. Flurry provides the impression reporting for all the ad networks individually for you to keep track. In order to test ad network mediation, you can change the priorities of ad networks, and check whether ads are getting received from the ad networks with the highest priority. Also, note that you can turn off AppCircle backfill on your ad space page (Publishers tab>Inventory>Ad Spaces>AppCircle Network).
For details on implementing mediation inside your code, please refer to the integration manual inside the SDK folder, or the Support page .
(Full disclosure: I work in the Support team at Flurry)

Categories

Resources