0

广告服务器响应但未发送任何广告单元,为什么会出现此错误??

这是我的代码:

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);
    }
}

这是我的日志:

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

有谁能够帮我??

4

1 回答 1

0

我对此问题的解决方案:查找接口函数 shouldDisplayAd() 并将 return 更改为 true :

@Override
public boolean shouldDisplayAd(String arg0, FlurryAdType arg1) {
    return true;
}
于 2014-01-02T10:36:35.403 回答