如何显示从我自己的服务器中获取Android应用程序的广告 [英] How to show ads in android app that fetch from my own server

查看:193
本文介绍了如何显示从我自己的服务器中获取Android应用程序的广告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想告诉我的应用程序的底部的观点,展示广告,从我自己的Linux服务器上获取。

I want to show a view in bottom of my application, to show ads, that fetch from my own Linux server.

重要的一点是,我想有我自己的控制面板在服务器端。所以,我的不能使用的AdMob,谷歌广告SDK,......或每SDK不具有开源服务器端面板。

The important point is that i want to have my own control panel in server side. So i can't use AdMob, Google Ads SDK, ... or every SDK that doesn't have open source server side panel.

我找遍了太多,而且发现了许多开源项目(客户端和服务器端),但我很困惑。

I searched too much, and found many open source project (client and server side), but i'm confused.

1,请告诉我是publisherId? 2,我可以取广告从我自己的服务器?

1-Whats is publisherId? 2-Can i fetch ads from my own server?

有没有在两侧?(客户端和服务器)的任何开源库?或者,如果没有,用它开源库,我可以从我自己的服务器上获取的广告?

Is there any open source library in both side?(client and server)? Or if there is not, With which opensource library I can fetch ads from my own server?

推荐答案

正如你所提到的,你要对你的广告服务器控件。那么在这种情况下,复活-广告服务器是更好的选择。因为它负责大部分的东西像广告投放,条件,不同的广告宣传等,有许多功能。

As you have mentioned you want control over you ad server. Then in this case Revive-Adserver is better option. because It takes care of most of the stuffs like ad delivery, conditions, Different Advertising campaigns etc. It have Many features.

为小型或大型企业复活,广告服务器是合适的。同时它是开源的。

for both small or Big business Revive-adserver is suitable. also it is open source.

您可以通过定义性别年龄组,其中广告发布,也内置控制广告更好的办法分析功能也有,选择将其允许嵌入谷歌分析整合的横幅。

you can control your ads better way by Defining gender or age group to whom ad is delivered and also inbuilt Analytics feature is also there, optionally it allow to embed Google Analytics Integration with Banners.

复活没有Android SDK中用于显示广告,但正如你也想显示你的广告在Android中端。这是很容易证明它在你的的Andr​​oid的WebView 有一些JavaScript,CSS和PHP知识。(我觉得这是很容易设置而不Android SDK中的需要)。

Revive does not have Android SDK for showing ads but As you also want to show your Ads in Android side. It is easy to show it in your Android WebView with some Javascript, CSS and PHP knowledge.(I feel it is easy to setup without the need of Android SDK)

  • 在您的服务器端创建一个网页(添加一些检查安全 像它应该是从Android设备只有唯一或IOS)
  • 访问
  • 粘贴广告调用code 在该网页上。
  • 在调用网页中的 Android的web视图
  • Create one webpage on your Server side (add some checks for security like it should be accessible from android device only or ios only)
  • Paste Ad Invocation code on that webpage.
  • Call that webpage in your Android Webview

您可以看看设置提供一切他们的文档,还他们有论坛进行讨论。

You can have a look at documentation provided by them to setup everything, also they have Forum for discussion.

有具有Android SDK中提供的他们,但你将有有限的支持,也不太具有许多其他广告服务器。有些支持premium计划或他们不积极了。

There are many other adservers which have Android SDK provided by them but you will have limited support and also less Features . Some have Premium plans for support or they are not active anymore.

这篇关于如何显示从我自己的服务器中获取Android应用程序的广告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆