Mopub:测试 Facebook Audience Network 原生广告集成
Mopub: Testing Facebook Audience Network Native Ad integration
我不确定如何测试 Facebook Audience Network 与 Mopub 的集成。在 Facebook Audience Network 测试页面上,它没有透露任何关于测试与原生广告集成的信息:
https://developers.facebook.com/docs/audience-network/testing
在 mopub 文档中,我已经完成了与第三方广告网络集成的所有步骤:
https://github.com/mopub/mopub-android-sdk/wiki/Integrating-Native-Third-Party-Ad-Networks
我还完成了本教程的这一部分,内容是通过创建作为原生广告的库存项和投放原生广告的测试订单来自我测试您的广告素材。这适用于我的应用程序,但这是我自己 创建的 广告,它不是 facebook 广告:
https://dev.twitter.com/mopub-demand/overview/self-testing-your-creatives
库存屏幕:
它显示了广告来源细分,其中不包括 Facebook Audience Network。
订单屏幕
屏幕上显示了我自己创建的订单,该订单适用于我的应用程序。我可以在我的应用中看到我自己的创意:
网络屏幕
这是显示我已添加 FacebookAudienceNetwork 的网络屏幕:
这是 FacebookAudienceNetwork 的配置:
Facebookplacement_id在下图中变暗了,但与facebook上的相符。
Facebook 网站:
我如何知道 Facebook Audience Network 已成功与 MoPub 集成用于原生广告 - 有没有办法对此进行测试?
我最终通过 MoPub 支持人员的回复解决了这个问题。以下是我收到的电子邮件。希望这也能帮助其他人进行整合:
Thanks for reaching out! When you tested your integration were you
able to see the MoPub test creative for your native ad unit? If so,
that means your initial MoPub integration is correct.
Next, you'll want to target FAN against your ad units. To do this
please follow these steps:
- Go to the "Segments" tab in the MoPub UI
- Click the specified segment you want to set (Note: Accounts will automatically be set with a Global Segment on creation. This would be
the segment most people would need to navigate to to set the ad
network for the specific ad unit. This changes if a new segment is
created and has specific targeting as new segments will override the
Global Segment for their specific parameters.)
- There is a filter set to show only running ad sources. You want to close the tab for this that says "Status:Running" inside the filter
box to see the rest of the ad sources.
- Click the drop down for the ad unit you want to change
- Edit the ecpm of the ad source
- Click "Set"
After Facebook is enabled on your ad unit, you can start testing live
Facebook ads. You will want to make sure you have the Facebook app
installed on your device with a Facebook account set up against it in
order to see ads. Additionally, you will want to make sure you are
using the MoPub certified version of the FAN SDK, which is 4.8.1 for
Android.
If you aren't seeing any Facebook ads after you complete these testing
steps please let us know. Be sure to include device logs in your
response so we an get a better idea of what is going on when you try
to call FAN ads.
为了在文档 MoPub 中也说明一下,您需要将额外的适配器放入 android 应用程序的 'src'
文件夹中。我发现通过这样做,我最终收到一条日志消息,指出 FacebookNative.java
文件未找到。
您需要将额外的适配器添加到您的主 -> java 文件夹中,以便 android 检测它们。
我不确定如何测试 Facebook Audience Network 与 Mopub 的集成。在 Facebook Audience Network 测试页面上,它没有透露任何关于测试与原生广告集成的信息:
https://developers.facebook.com/docs/audience-network/testing
在 mopub 文档中,我已经完成了与第三方广告网络集成的所有步骤:
https://github.com/mopub/mopub-android-sdk/wiki/Integrating-Native-Third-Party-Ad-Networks
我还完成了本教程的这一部分,内容是通过创建作为原生广告的库存项和投放原生广告的测试订单来自我测试您的广告素材。这适用于我的应用程序,但这是我自己 创建的 广告,它不是 facebook 广告:
https://dev.twitter.com/mopub-demand/overview/self-testing-your-creatives
库存屏幕: 它显示了广告来源细分,其中不包括 Facebook Audience Network。
订单屏幕
屏幕上显示了我自己创建的订单,该订单适用于我的应用程序。我可以在我的应用中看到我自己的创意:
网络屏幕
这是显示我已添加 FacebookAudienceNetwork 的网络屏幕:
这是 FacebookAudienceNetwork 的配置:
Facebookplacement_id在下图中变暗了,但与facebook上的相符。
Facebook 网站:
我如何知道 Facebook Audience Network 已成功与 MoPub 集成用于原生广告 - 有没有办法对此进行测试?
我最终通过 MoPub 支持人员的回复解决了这个问题。以下是我收到的电子邮件。希望这也能帮助其他人进行整合:
Thanks for reaching out! When you tested your integration were you able to see the MoPub test creative for your native ad unit? If so, that means your initial MoPub integration is correct.
Next, you'll want to target FAN against your ad units. To do this please follow these steps:
- Go to the "Segments" tab in the MoPub UI
- Click the specified segment you want to set (Note: Accounts will automatically be set with a Global Segment on creation. This would be the segment most people would need to navigate to to set the ad network for the specific ad unit. This changes if a new segment is created and has specific targeting as new segments will override the Global Segment for their specific parameters.)
- There is a filter set to show only running ad sources. You want to close the tab for this that says "Status:Running" inside the filter box to see the rest of the ad sources.
- Click the drop down for the ad unit you want to change
- Edit the ecpm of the ad source
- Click "Set"
After Facebook is enabled on your ad unit, you can start testing live Facebook ads. You will want to make sure you have the Facebook app installed on your device with a Facebook account set up against it in order to see ads. Additionally, you will want to make sure you are using the MoPub certified version of the FAN SDK, which is 4.8.1 for Android.
If you aren't seeing any Facebook ads after you complete these testing steps please let us know. Be sure to include device logs in your response so we an get a better idea of what is going on when you try to call FAN ads.
为了在文档 MoPub 中也说明一下,您需要将额外的适配器放入 android 应用程序的 'src'
文件夹中。我发现通过这样做,我最终收到一条日志消息,指出 FacebookNative.java
文件未找到。
您需要将额外的适配器添加到您的主 -> java 文件夹中,以便 android 检测它们。