AdMob 以及它是如何工作的?

AdMob and how does it work?(AdMob 以及它是如何工作的?)
本文介绍了AdMob 以及它是如何工作的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对 AdMob 感到困惑.我刚刚注册,我想在应用程序中投放广告.我去添加网站/应用程序认为就是这样.有一个问题和字段说 Android 包 url.我单击了问号,它谈到了像这样的 market://details?id= 格式化它.首先,它讨论了如何将我的应用程序链接到广告,因此如果有人点击它,它将转到我在市场上的应用程序.好吧,我还没有将应用程序投放市场,我认为这甚至不是一个正确的 URL,我试图在我的应用程序中添加,而不是我对我的应用程序进行添加.有人可以告诉我这一切是如何工作的,以及如何设置它,我可以在应用程序上投放广告.谢谢

I'm confused about AdMob. I just signed up and I want to put ads in an app. I went to add site/app thinking this was it. There is a question and field that says Android package url. I clicked the question mark and it talks about formatting it like this market://details?id=. First, it talks about how it will link my app to ads so if someone clicks on it then it will go to my app in the marketplace. Well I haven't put the app in the market place yet and I don't think that is even a correct URL and I trying to get adds in my app not me make an add about my app. Can someone please enlighten me on how this all works and how to get it set up where I can have ads on an app. Thanks

推荐答案

在注册 AdMob 时,他们希望查看您的应用程序当前的位置,但从您的角度来看,这不是流程的重要部分.

When signing up for AdMob they want to see where your application currently is, but this isn't an essential part of the process from your point of view.

基本上,对于 AdMob(以及大量其他类似网站),您需要下载一个包含在 Android 应用程序中的小型 SDK.这个 SDK 通常有一个视图,你可以在你的一个活动上扑通扑通.您向该控件提供一些信息,例如私人 AdMob 密钥(因此它知道您是谁),然后该控件将提供来自服务器的广告.注意:它通常不能立即工作,并且有一个开发模式"设置,您可以设置为在您正在处理假广告时始终撤回它.

Basically, for AdMob (as well as a whole slew of other similar sites) you download a small SDK that you include in your Android application. This SDK usually has a View that you can plop on one of your Activities. You give that control some information, like a private AdMob key (so it knows which person you are) and then that control will provide an ad from the server. Note: it usually doesn't work right off the bat and there is a "development mode" setting you can set to always pull back a fake ad while you are just working on it.

您可能还想注册多个网站并查看 AdWhirl,它允许您管理从每个网站展示的广告的比例,因为您会发现某些网站会比其他网站为您带来更多收入.

You may also want to sign up for multiple sites and check out AdWhirl which allows you to manage the ratio of ads you display from each site, since you will find that some sites will generate more revenue for you than others.

祝你好运!

这篇关于AdMob 以及它是如何工作的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

How to target newer versions in .gitlab-ci.yml using auto devops (java 11 instead of 8 and Android 31 instead of 29)(如何在.gitlab-ci.yml中使用自动开发工具(Java 11而不是8,Android 31而不是29)瞄准较新的版本)
Android + coreLibraryDesugaring: which Java 11 APIs can I expect to work?(Android+core LibraryDesugering:我可以期待哪些Java 11API能够工作?)
How to render something in an if statement React Native(如何在If语句中呈现某些内容Reaction Native)
How can I sync two flatList scroll position in react native(如何在本机Reaction中同步两个平面列表滚动位置)
Using Firebase Firestore in offline only mode(在仅脱机模式下使用Firebase FiRestore)
Crash on Google Play Pre-Launch Report: java.lang.NoSuchMethodError(Google Play发布前崩溃报告:java.lang.NoSuchMethodError)