真正的广告(AdMob的)没有出现在现场应用了 [英] Real ads (admob) not showing up in Live app

查看:331
本文介绍了真正的广告(AdMob的)没有出现在现场应用了的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有我的应用程序住在苹果商店中的一个精简版的版本。我已经在整合AdMob的。 我成功地能够看到的广告,同时测试,这两种测试广告和放大器;有时候真正的广告。现在,作为该应用程序是活的,我可以看到只测试广告被显示出来。 这是一个测试广告

I have a lite version of one of my app live in apple store. I have integrated admob in that. I was successfully able to see ads while testing, both test ads & real ads sometimes. Now as the app is live, I can notice only test ad is showing up. "this is a test ad"

链接到应用程序中,检查跟踪

推荐答案

请检查以下几点之前发布的应用程序。

Please check the following points before publish your app.

  1. 您应该使用AdMob的iPhone的应用程序ID显示广告上的iPhone和iPad应用的AdMob的ID在iPad上展示广告。因为在没有AdMob的普及型应用程序。

  1. You should use iPhone app id of AdMob to display ads on iPhone and iPad app id of AdMob to display ads on iPad. Because there is no universal type app in AdMob.

在的情况下由AdMob的SDK提供的BannerView使用的大小。请不要用你的自定义定义的大小和使用原产地与合适的值。

In case of BannerView use size provided by the AdMob SDK. Please don't use your custom defined size and use origin with appropriate value.

点击你的项目 - >转到构建设置 - >附加价值其他连接器旗到-ObjC

Click on the your project -> goto build settings -> add value to "Other Linker flag" to "-ObjC".

要知道,错误或加载成功与否定义规定的特定附加委托方法,不要忘记自我分配给广告的代表属性。

To know errors or loading successful or not define delegate methods provided for specific add and don't forget to assign "self" to ad's delegate property.

总是使用最新的SDK。

Always use latest SDK.

在AdMob的应用程序设置测试模式功能。

Test mode off in app setting of AdMob app.

执行这些步骤和修改code后,是时候创建的实际设备应用程序的IPA来测试您的应用程序。在iOS的7,如果你运行的iPhone应用程序在iPad的[UIDevice currentDevice]。模型返回的iPad。因此,检查的iPad IPA在iPad和iPhone的ipa的iPhone。

After performing these steps and modifying code, it is time to test your app by creating ipa of the app in real device. In iOS 7 if you run iPhone app in iPad [UIDevice currentDevice].model returns "iPad" . So check iPad ipa in iPad and iPhone ipa in iPhone.

两用链接创建的ipa和设备安装。

two use links to create ipa and install it in your device.

创建IPA链接

create ipa link

上安装ipa您设备

请告知,如果任何问题来。谢谢

Please inform if any issue comes. Thanks

这篇关于真正的广告(AdMob的)没有出现在现场应用了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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