简体   繁体   English

Android 原生高级广告:“无法加载广告:0”

[英]Android Native Advance Ad: "Failed to load ad: 0"

I followed this Google sample app NativeAdvancedExample and implemented into my app.我遵循了这个 Google 示例应用程序NativeAdvancedExample并在我的应用程序中实施。 It was working when I had added test device ID.当我添加了测试设备 ID 时它正在工作。 But when generated released apk, it wasn't working and Ad loading failed with the following message.但是当生成发布的 apk 时,它不起作用并且广告加载失败并显示以下消息。

I/Ads: Starting ad request.
I/Ads: Use AdRequest.Builder.addTestDevice("22C0485C025508BC7990BBF9260554DF") to get test ads on this device.
W/Ads: Received error HTTP response code: 403
W/Ads: There was a problem getting an ad response. ErrorCode: 0
W/Ads: Failed to load ad: 0

I have following permissions for the app:我对该应用程序具有以下权限:

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>

Thanks in advance.提前致谢。

Hello @ch3tanz native advanced does not load ad , even it does not generate Impression from real device also because it is in Beta Version.你好@ch3tanz native advanced 不加载广告,即使它也不会从真实设备产生印象也是因为它是测试版。 So In order to generate Impression you have to implement Native Express Ad.因此,为了产生印象,您必须实施 Native Express Ad。

I have also the same problem like yours.Now I have implemented Native Express Ad.我也有和你一样的问题。现在我已经实施了 Native Express Ad。 Native Advanced Ad load successfully with test Id but it does not create Impression.使用测试 ID 成功加载原生高级广告,但它不会创建印象。

for Express Ad : This is the link.快速广告: 这是链接。

Happy Coding快乐编码

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM