如何通过TestFlight测试Facebook Audience网络广告? [英] How to test Facebook Audience Network ads over TestFlight?

查看:771
本文介绍了如何通过TestFlight测试Facebook Audience网络广告?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将Audience Network整合到我的应用中。当我在XCode上部署时,广告在模拟器和设备上正常工作。



我想通过TestFlight分发构建,以确保它在发布模式下工作。当我尝试在发布模式下从XCode直接部署到我的设备时,Facebook会为广告返回无填充。广告也不会出现在TestFlight内容中。



有关于在TestFlight内部展示设备广告的想法吗?

解决方案

这可能有两个主要原因。首先,用户或测试人员无法登录设备上的本机Facebook应用程序。这可能导致错误1001 - 无填充率


1001 - 否填写



这是测试时看到的常见错误,与无填充
响应有关;最常见的原因是用户未在测试设备上登录
到原始Facebook应用程序。



服务器响应SDK文档代码= 1001没有填写错误1001 - 没有
填写。可能是由于以下一项或多项原因:




  • 用户未登录移动设备上的原生Facebook应用程序

  • 启用限制广告跟踪(iOS)

  • 当前用户无广告资源

  • 您的测试设备必须安装原生Facebook应用程序。

  • 您的应用程序应在30秒后尝试再发出
    请求。


这是
然后,切换你想让这个应用程序公开吗?切换到YES。
这将使您的应用可供所有人使用,这意味着广告将弹出所有测试人员。



根据我的经验,我的两分钱是你没有公开应用或没有将用户添加为beta测试者。因此,facebook无法投放任何广告,导致1001错误。这应该是一个快速修复,通过使应用程序公开,让您的测试人员通过Facebook应用程序登录。我在Facebook SDK的另一部分遇到了类似的问题,该问题由公开发布版修复。



希望有所帮助,Julian


I am trying to integrate Audience Network to my app. Ads work correctly on simulator and device when I deploy over XCode.

I want to distribute the build over TestFlight to be sure it will work in release mode. When I try to directly deploy from XCode to my device in release mode, Facebook returns "No fill" for the Ads. Ads do not show up on TestFlight builds either.

Have any ideas about showing ads for devices in TestFlight builds?

解决方案

There could be two main reasons for this. Firstly, the user or testers could not be signed-in to the native Facebook app on the device. This could then result in Error 1001 - No Fill Rate.

1001 - No Fill

This is a common error seen while testing, and relates to a "No Fill" response; the most common reason for this is the user is not logged in to the Native Facebook App on a Test Device.

Server Response SDK Documentation Code=1001 "No Fill" Error 1001 - No Fill. Maybe due to one or more of the following:

  • User not logged into the Native Facebook App on Mobile Device
  • Limit Ad Tracking turned on (iOS)
  • No Ad Inventory for current user
  • Your testing device must have the native Facebook application installed.
  • Your application should attempt to make another request after 30 seconds.

This is what the documentation tells you for the 1001 error.

Secondly, you may still be in the debug mode and therefore you're not seeing ads in the release mode. To fix this error, download the newest provisioning profiles from the Apple Developer Center and toggle the Facebook App as released. You can do That by logging into the Facebook Developer console and selecting your app. Then on the left-hand side you should have this column, where you select STATUS & REVIEW. Then, toggle the "Do you want to make this app public?" toggle to YES. This will make your app available to anyone, meaning that the ads will pop up with all your testers.

My two cents from my experience here would be that you didn't make you app public or didn't have the users added as beta testers. Therefore facebook was unable to deliver any ads throwing the 1001 error. This should be a quick fix by making the app public and having your testers sign in through the facebook app. I had a similar problem with another part of the Facebook SDK, which got fixed by the public release.

Hope that helps, Julian

这篇关于如何通过TestFlight测试Facebook Audience网络广告?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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