简体   繁体   English

乱舞-已接收广告,但未发送任何广告单元

[英]Flurry - Ad recived but sent no ad units

Ad server responded but sent no ad units, why I have this error?? 广告服务器响应但未发送任何广告单元,为什么出现此错误?

This is my code: 这是我的代码:

public class AcercaDe extends Activity implements FlurryAdListener {
    protected static final String TAG = null;
    TextView button;
    FrameLayout mBanner;
    @Override
    public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
        setContentView(R.layout.acercade);
    }

    public void onStart() {
        super.onStart();
        FlurryAgent.setLogEnabled(true);
        FlurryAgent.setLogEvents(true);
    }
}

This is my log: 这是我的日志:

10-20 13:40:03.964: D/FlurryAgent(537): Attempting to persist AdLogs
10-20 13:40:03.964: D/FlurryAgent(537): Attempting to persist FreqCap
10-20 13:40:19.715: E/FlurryAgent(577): Ad server responded but sent no ad units.
10-20 13:49:30.035: D/FlurryAgent(577): Attempting to persist AdLogs
10-20 13:49:30.035: D/FlurryAgent(577): Attempting to persist FreqCap
10-20 13:49:43.614: D/FlurryAgent(616): Attempting to load FreqCap data
10-20 13:49:45.035: E/FlurryAgent(616): Ad server responded but sent no ad units.
10-20 13:50:49.184: D/FlurryAgent(616): Attempting to persist AdLogs
10-20 13:50:49.184: D/FlurryAgent(616): Attempting to persist FreqCap
10-20 13:51:31.664: D/FlurryAgent(655): Attempting to load FreqCap data

Can anybody help me?? 有谁能够帮助我??

My solution for this issue: Find interface function shouldDisplayAd() and change return to true : 我对此问题的解决方案:查找接口函数shouldDisplayAd()并将return更改为true:

@Override
public boolean shouldDisplayAd(String arg0, FlurryAdType arg1) {
    return true;
}

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

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